🆕New Adjustment to inquiryPaymentResult API
Dear Partners,
We would like to inform you that the data format of the Codapay inquiry transaction interface (inquiryPaymentResult.json) has been recently adjusted. The changes are as follows:
We have added a new entry field in the profile
Previous data format: The
entryfield in theprofilewas an object containing a key-value pair (keyandvalue).Current data format: The
entryfield in theprofilehas now become an array containing multiple key-value pair objects.
Due to this change, please review the logic that processes the profile.entry field in your system. If your validation request directly accesses profile.entry.key and profile.entry.value, you will need to modify your code to iterate over the array and handle each key-value pair individually. Please refer to the following code example to update your implementation:
{
"paymentResult": {
"orderId": "<Your orderId>",
"profile": {
"entry": [
{"key": "PaymentType", "value": 1},
{"key": "channelId", "value": 90}
]
}
}
}If you have any questions or need further assistance, please feel free to contact us.
Thank you for your understanding and cooperation.
Last updated
Was this helpful?