Testing the payment account
Testing of the payment account
Payment account testing on a sandbox application can be conducted via the Bridge Dashboard or the API.
On a payment account sandbox, when transaction status is ACSC, payment_account_transaction will be marked as received.
For transaction statuses other than ACSC, ensure that the payment_account_transaction is marked as not_received.
As for the payment link status, it switches to completed whenever the payment is in PDNG or ACSC. Ensure that the fund_information status becomes paid when payment account transactions reconcile with the link.
For other payment link statuses, the fund_information should be marked as unpaid.
The
fund_informationstatuscan also be set tooverpaidorunderpaidwith manual transfer. Refer to this page : Testing manual transfer
Testing of the refund
Refund testing is available through the Bridge Dashboard or the API using the endpoint Create refund.
On a payment account sandbox, the payment_account_transaction status will be updated to refunded.
- If the entire payment link amount is refunded, ensure that the fund_informationis marked asrefunded
- If only a portion of the payment link amount is refunded, fund_informationwill be labeled aspartially_refunded
Testing of the payout
Testing of the payout can be done throw the Bridge Dashboard or throw the API with the endpoint Create payout.
Testing the payout feature on the payment account sandbox involves the following two use cases:
- A payout equal or lower to the balance will set the statustopaid
- A payout with an amount above the available balance will set the statustofailand thestatus_reasonwill be set toinsufficient_funds
The payout_scheduled throw the Dashboard is not available in a sandbox application and will only be available in a production.
Updated about 1 month ago
