For the complete documentation index, see llms.txt. This page is also available as Markdown.

Complete notification logs showing USD price

TotalPrice in the Coda callback displays the local price by default. If you need the InitRequest USD price to be included in the callback, you can enable USD Price Notification in the Coda Portal:

Coda Portal → Codapay → Sandbox/Production Configuration → Edit → Merchant & URLs Configuration → Enable USD Price Notification

For comparison, consider the following example, with USD Price appended to the end of the callback parameter:

Checking a transaction status

https://<your_webhook_url>?
  TxnId=7715122576202672831
  OrderId=365f5Z619951c1a4b8
  TotalPrice=1.17
  PaymentType=237
  ResultCode=0
  Checksum=10741fa6be7e6f2b189f029b3f8a0963
+ USDPrice=0.30
  PayTaxRate=8.00 //This field is only returned in v2.0 API
  PayCurrency=MYR //This field is only returned in v2.0 API
  PayAmount=1.17 //This field is only returned in v2.0 API
  OriginAmount=0.30 //This field is only returned in v2.0 API
  OriginCurrency=USD //This field is only returned in v2.0 API
  SubTotalPrice=1.08 //This field is only returned in v2.0 API
https://<your_webhook_url>?
  TxnId=7715134275512676038
  OrderId=365f5Z619951c1a4b8
  TotalPrice=1.17
  PaymentType=237
  ResultCode=0
  Checksum=7ccba0ddb6792c83b68b48050fec927a
  PayTaxRate=8.00 //This field is only returned in v2.0 API
  PayCurrency=MYR //This field is only returned in v2.0 API
  PayAmount=1.17 //This field is only returned in v2.0 API
  OriginAmount=0.30 //This field is only returned in v2.0 API
  OriginCurrency=USD //This field is only returned in v2.0 API
  SubTotalPrice=1.08 //This field is only returned in v2.0 API

📘Cambodia🇰🇭

Some regions use US dollars as a currency unit, so the callback parameter will not appear in USDPrice. Such as Cambodia.

Last updated

Was this helpful?