Pay For Order
Confirm Order Payment
This POST endpoint confirms a buy or sell order for a third-party customer indicating a successful transfer of funds. Only the secretkey is passed in the header while the request to be made would contain only an emailAddress and orderReference.
If successful returns a "Payment made successfully" 200message.
Pay for order
POST https://canary.xendbridge.com/api/PeerToPeerOrder/ThirdParty/Order/Confirm
Headers
secretKey*
String
{secretKey}
Request Body
orderReference*
String
XB_0877e5692ee946f491bafab275d3d522
transactionHash*
String
0xcfa4a293e6fd903329e9c035f4f17dafbd0dbd9b76b613be5cd2ba7b7a4baaa7
{
"data": true,
"status": "OK",
"message": "Payment Updated Successfully"
}emailAddress
string
Required The email address of the third party client.
orderReference
string
Required The order reference of an order made.
transactionHash
string
Required The unique hash of a transaction on the blockchain network
data
bool
This can either be true or false.
status
string
This returns a status message of the request.
message
string
This returns either Payment updated successfully if success, or Failed to update payment status. Please try again later if failed.
Last updated
Was this helpful?