For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Last updated