Testing ACH

When using the sandbox environment, you can use specific dollar amounts when creating payments and payouts to test failure, reversal, and return scenarios.

📘

Valid Routing Numbers

Keep in mind that for the sandbox environment, you'll need to create a mock ACH account with one of the accepted routing numbers.

Payments Testing

When using the following payment amounts, the payment will either result in a failed status, or initially reach a successful paid status but later get reversed.

Payments with status: failed will have an additional errorCode explaining the reason. Payments that are reversed will have a nested reversal object.

AmountResultDescription
$7.01Payment with status: failed and errorCode: invalid_account_numberPayment failure due to an invalid account number.
$7.09Payment with status: failed and errorCode: payment_not_fundedFailed payment due to insufficient funds.
$7.13Payment with status: failed and errorCode: unauthorized_transactionUnauthorized payment claimed by customer or customer's bank.
$7.19Payment that initially succeeds with status: paid, but later has a reversal object with reason: unauthorized_transactionThe payment initially succeeded, but was later reversed after settlement.

Payouts Testing

When using the following payout amounts, the payout will either result in a failed status, or initially succeed but later get returned.

Payouts with status: failed will have an errorCode attribute explaining the reason. Payouts that are returned after initially succeeding will have a nested return object.

AmountResultDescription
$7.27Payout with status: failed and errorCode: transaction_returned.Payout transaction failed and was returned.
$7.33Payout that initially succeeds with status: complete, but later has a return object.The payout initially succeeded, but was later returned.

Additional Error Codes

For a complete list of possible payment and payout error codes, visit Entity Errors.