Afterpay Developer Docs

Customer Accounts

How do I place test transactions within the Sandbox Environment?

When checking out on the test site, use the below details to place a test Afterpay transaction.

Test Customer Accounts

You can create test customer accounts in the Sandbox environment within your test checkout flow. You can also create test accounts here:
🇦🇺 ⠀https://portal.sandbox.afterpay.com/
🇺🇸 ⠀https://portal.us-sandbox.afterpay.com/

Each Sandbox customer account requires a unique email and a unique phone number.

❗️

No SMS's are sent in the Sandbox. Use 111111 as the verification code

Test Credit Cards

The Sandbox Capture response (approved / declined) is determined by the CVV value. Use
000 for approval and 051 for decline

Card Type

Expiry

CCV

Response

Visa

4111 1111 1111 1111

01/25

000

Approved

Visa

4111 1111 1111 1111

01/25

051

Declined

You can use any dummy Visa or Mastercard number and future expiry date for testing purposes in the Afterpay Sandbox if it passes a mod 10 check and has not already been used by a different Sandbox customer account.

Updated 8 months ago


Customer Accounts


How do I place test transactions within the Sandbox Environment?

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.