How to Test

This guide explains how to simulate and test both PayTo Agreements and PayID Payments

1. Testing PayTo

Step 1: Create the Agreement

Create a PayTo agreement using the PayTo Button

Step 2: Approve / Decline via Test Bank App

Once the agreement is created, the debtor must approve or decline the agreement via the Glider Test Bank App: https://bank-app.gliderpay.com/

Login credentials:

  • Username: Use the PayID that was used when creating the agreement.
  • OTP: 123456

If a mobile number is used as the PayId, use this format as the user name: +61-XXXXXXXXX. If BSB and Account Number is used, use this format BSB-ACCOUNT_NUMBER. After logging in, you will be able to accept or decline the agreement

Note: This step can be removed upon request. Once this is removed, all agreements that are not made using the Reference values on Step 3 and Step 4 will immediately result to settled/paid.

Step 3: Simulating Agreement Creation Failures

To simulate different failure scenarios during agreement creation, use the following values as the reference when initialising the PayTo Button:

ReferenceScenario
111Debtor declined
222Agreement expired
333Debtor account type not supported
444Debtor alias not found
555Creditor alias not found
666Alias resolution service not available
777Agreement service not available

Step 4: Simulating Payment Outcomes

Use the following values as the reference when initialising the PayTo button to simulate payment outcomes:

ReferenceScenario
111000Insufficient funds
222000Creditor account type not supported
333000Creditor account closed
444000Debtor account closed
555000Financial infrastructure unavailable
666000Debtor alias not found
999003-30Transaction under investigation → settles after 30 seconds
999004-30Transaction under investigation → fails after 30 seconds

Note: For 999003-30 and 999004-30 you can extend the delay by changing the value after the hyphen. Lets say you want to set the transaction to under investigation status and then wait for 2 minutes before settling or failing you can use 999003-120 for settled or 999004-120 for failed


2. Testing PayID

Step 1: Generate a PayID

Generate a PayID using the PayTo Button.

Step 2: Simulate Incoming Payment

Send a POST request to:

https://payid-uat.gliderplatform.com/simulate
HEADER:
Authorization: Bearer {{GLIDER_API_TOKEN}}
PAYLOAD:
{
  "amount": "500",
  "payid_email": "<GENERATED_PAYID>"
}