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

NameTypeDescription

secretKey*

String

{secretKey}

Request Body

NameTypeDescription

emailAddress*

String

johndoe@gmail.com

orderReference*

String

XB_0877e5692ee946f491bafab275d3d522

transactionHash*

String

0xcfa4a293e6fd903329e9c035f4f17dafbd0dbd9b76b613be5cd2ba7b7a4baaa7

{
    "data": true,
    "status": "OK",
    "message": "Payment Updated Successfully"
}
ParametersTypeDefinitions

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

Last updated