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. LP Simulation

Pay For Order (Sell Order)

This is the endpoint to be called after confirming that a customer has made a payment. This initiates a process of crediting the customer from the liquidity provider for a sell order.

Pay for order (sell order)

POST https://canary.xendbridge.com/api/LPSimulation/Order/Confirm

Request Body

Name
Type
Description

orderReference*

XS_37b9648ea5eb4e28a02858e4753b057d

paymentNetwork*

BEP-20

transactionHash*

0x9ab06442203745216301f15e83b4abbf2dccc8e15d64d7fd2c281da4b68f0131

{
    "data": "Payment Updated Successfully",
    "status": "OK",
    "message": ""
}
Parameters
Type
Definitions

orderReference

string

Required The order reference number made by the consumer.

paymentNetwork

string

Required The payment network on which the crypto payment was made on.

transactionalHash

string

Required The hash string that validates a particular order in the system.

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 P2P payment updated successfully if success, or Failed to update payment status. Please try again later if failed.

PreviousPay For Order (Buy Order)NextDispute

Last updated 2 years ago

Was this helpful?

🛠️