XendBridge
Search…
⌃K

Pay For Order

Confirm order payment
This POST endpoint confirms a buy or sell order for a third party customer indicating 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.
post
https://canary.xendbridge.com
/api/PeerToPeerOrder/ThirdParty/Order/Confirm
Pay for order
Request Fields
Response Fields
Parameters
Type
Definitions
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
Parameters
Type
Definitions
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.