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_information
status
can also be set tooverpaid
orunderpaid
with 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 /payment-refunds.
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_information
is marked asREFUNDED
- If only a portion of the payment link amount is refunded,
fund_information
will 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 /payment-account/payouts.
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
status
topaid
- A payout with an amount above the available balance will set the
status
tofail
and thestatus_reason
will 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 9 months ago