XendBridge
  • Get Started
  • 🛠️API Method Calls
    • Third Party Order Operations
      • Rate
      • Buy Order
      • Sell Order
      • Swap Order
      • Pending Order
      • Pay For Order
      • Cancel Order
    • LP Simulation
      • Pay For Order (Buy Order)
      • Pay For Order (Sell Order)
    • Dispute
      • Raise Third Party Dispute
      • Get All Disputes
      • XendBridge Chat SDK
    • Payment Inquiry
    • WebHooks
      • Order Payment Confirmation
      • Order Matched Notification
      • Order Canceled Notification
      • Checksum Verification
  • 📄XENDBRIDGE PORTAL
    • Checkout URL
      • Buy Order
      • Sell Order
      • Swap Order
      • Rate
      • Rate Bounds
      • Initiate Order Created With Deferred Payment Method
      • Supported Currencies
      • Payment Methods
    • Inline Html Snippet
    • DeFi Checkout
  • 📦XENDBRIDGE SDKS
    • XendBridge NodeJs SDK
    • XendBridge .NET SDK
      • Rate
      • Buy Order
      • Sell Order
      • Swap Order
      • Pending Order
      • Pay For Order Confirmation
      • Cancel Order
      • Raise A Dispute
  • Errors
  • 🔖REFERENCE
    • API Reference
Powered by GitBook
On this page

Was this helpful?

  1. API Method Calls
  2. Third Party Order Operations

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

emailAddress*

johndoe@gmail.com

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.

PreviousPay For OrderNextLP Simulation

Last updated 2 years ago

Was this helpful?

🛠️