API reference

This section guides you through testing various scenarios within the PayTo system. The scenarios help you understand how different account statuses and errors are handled. Use the specific account numbers and corresponding errors listed below to simulate each scenario.

1. Account Agreement Errors

These scenarios are triggered when you attempt to establish a payment agreement.

Account NumberError DescriptionError Code
111Agreement declined: Declined by debtor300
222Agreement expired301
333Agreement declined: The Payer Customer Account is unable to be debited303
444Agreement declined: Debtor alias not found304

2. Payment Authorisation Errors

These scenarios occur when you initiate a payment and authorise it in the bank app.

Account NumberError DescriptionError Code
111000Payment declined: Insufficient Funds400
222000Payment declined: Invalid Creditor Account Type401
333000Payment declined: Closed Creditor Account Number402
444000Payment declined: Debtor Account Closed403
555000Payment declined: Bank System Processing Error404
666000Payment declined: Debtor alias not found405