Testing Application using Sandbox

Sandbox End-Points

Amazon FPS Sandbox web service API end-point is: fps.sandbox.amazonaws.com.

Amazon FPS Sandbox Co-branded UI API end-point is: https://authorize.payments-sandbox.amazon.com/

Sandbox Test Accounts

You can create test accounts on sandbox from the Amazon Payments account management UI page (https://authorize.payments-sandbox.amazon.com/)

Click the links provided in the Create Test Accounts box after you sign into the sandbox. To create a personal account, click the Create an Amazon FPS Personal Account on sandbox and to create a business account, click the Create an Business account on sandbox.

Sandbox User Experience

You can test the following user experience on Amazon FPS Sandbox:

  • Registering for business or personal account

  • Depositing funds into a test account's Amazon Payments account balance

  • Checking test account's Amazon Payments account balance

  • Checking test account's activity

  • Co-branded UI experience

Simulating Errors in Sandbox

You can use the sandbox to simulate the following error conditions using the test data in the following table.

Error TypeTest Data
Use the following sender tokens to simulate InvalidAccountState errors.
Email address not verifiedE3FR7BARJV3PB631PMKV74PGKCJLBHI1Q1KMQN7BJ2JJICPDKN3N1CJIKFZ8D7NN
Suspended accountH216UECZ8ZM1G8G4QA3V7RKF8JDFZ9SI3SJAFSGUKBBNDHX1NVM8GUQRZNRNAHER
Closed accountZ1LGRXR4HMDZBSFKXELA32KZASGWD8IHMHZCK4DETR784LDLD1GMFW4P3WT8VTGX
Use the following recipient tokens to simulate InvalidAccountState errors
Email address not verifiedC4LGSEMXN11FTUXZ2X2C7QVFHN5DVBGQJNF17AIQXXXQSX4DRG4KJFCN2KRFUUZI
Suspended accountR3VK49XVGCAZTJSXKN7ZSBHPMFGKM5VEEQTXGMVE8CFUZ2G5RLLMAB4J6TQRL6BU
Closed accountP1LL7A1LHK935DBGI5NAYCXOCLVEBHBNIU7PBXBAMRKKNLDEPI8M3MUSLZT2VANZ
The following errors can be simulated using the Amount values.
Temporary DeclineAmounts that are of the format, N.6n, where N, n are any number.

Example, 100.6, 0.6, 2.61

FailureAmounts that are of the format, N.7n, or N.8n, where N, n are any numbers.

Example, 20.7, 100.73, 4.8, 0.81

[Important]Important

When testing in the sandbox, amounts in the format N.6n will return a TemporaryDecline response and you must call RetryTransaction twice before the declined transaction is reinitialized. The first call to RetryTransaction always returns TemporaryDecline. This behavior is intentional and permits testing of different code paths in the Pay and RetryTransaction response handling.