Cancel Order
The POST endpoint accepts the request of emailAddress & orderReference of the third-party customer to cancel orders made. The secretKey is also needed here in the header.
If successful returns an " " 200message. See the example below;
Cancel order
POST https://canary.xendbridge.com/api/PeerToPeerOrder/ThirdParty/Order/Cancel
Headers
Name
Type
Description
secretKey*
{secretkey}
Request Body
Name
Type
Description
orderReference*
XB_0877e5692ee946f491bafab275d3d522
{
"data": true,
"status": "OK",
"message": ""
}Parameters
Type
Definitions
emailAddress
string
Required The email address of the third party client.
orderReference
string
Required The order reference of an order made.
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 an empty string if successful.
Last updated
Was this helpful?