Verify Transaction Status
InquiryPaymentResult() method
Partners can invoke this method at any time, to inquire about the status of a transaction.
We strongly recommend partners use this method after receiving the purchase notification webhook to reconcile the information between the partner's system and Coda's.
Partners should never release the purchased item to the user until 100% sure the data is fully reconciled.
PaymentResult inquiryPaymentResult (InquiryPaymentRequest request)
Request Message
Sample JSON Request
Response Message: PaymentResult Type
Sample Profile Type
Sample JSON Response
Profile Fields
Order Status Response Code
resultCode = 0 means the transaction was successful.
resultCode = 431 or 216 means the order is being paid, please check later or wait for the callback.
Using the new parameter "needStatusFinal": "true" to check the transaction's final status.
InquiryPaymentResult not support displaying USD prices
Total price parameter only in local currency.
Item info
Item represents an SKU. Code and Name should be unique and univocally represent the item. The name needs to be user-friendly, as it shows to end-users in the payment window.
Last updated