Payment Result Webhook Events
Payment Result having same callback contract as Get notified of a transaction status change.
// Sample for non-USD payments initiated
https://<your_webhook_url>?
TxnId=7715121708032676249
OrderId=365f5Z619951c1a4b8
TotalPrice=1.00
PaymentType=237
ResultCode=0
Checksum=6b6c5e0f835f9f1442726bed3aedc3c9
PayTaxRate=8.00
PayCurrency=MYR
PayAmount=1.00
OriginAmount=1.00
OriginCurrency=MYR
SubTotalPrice=0.93
// Sample for USD payments initiated
https://<your_webhook_url>?
TxnId=7715122576202672831
OrderId=365f5Z619951c1a4b8
TotalPrice=1.17
PaymentType=237
ResultCode=0
Checksum=10741fa6be7e6f2b189f029b3f8a0963
+ USDPrice=0.30
PayTaxRate=8.00
PayCurrency=MYR
PayAmount=1.17
OriginAmount=0.30
OriginCurrency=USD
SubTotalPrice=1.08 Specific Result Code for Recurring:
800
Payment method is not eligible for Merchant-Initiated Transactions (MIT).
Perform a Customer-Initiated Transaction (CIT) before attempting a Merchant-Initiated Transaction
801
Card is not eligible for Merchant-Initiated Transactions (MIT).
Prompt the customer to provide a card type that supports Merchant-Initiated Transactions
802
Re-authentication required. The cardholder or issuing bank revoked the standing mandate, or card details are expired.
Perform a Customer-Initiated Transaction (CIT) to re-authenticate the cardholder and establish a new mandate.
803
Recurring payment declined due to a transient processor or network issue.
Retry the Merchant-Initiated Transaction (MIT) later.
804
Recurring payment declined due to a closed account, stolen/lost card report, or fraud flag.
Stop all retry attempts. Prompt the customer to provide a new payment method.
Refer to overall result code list: https://docs.coda.co/codapay/error-codes
Last updated
Was this helpful?