# Order Payment Confirmation

This sends a notification to the third-party application with a payload of the details of an acknowledged receipt of funds either from the third-party user to the provider or vice-versa using the `POST` endpoint you provide. See an example and its payload properties meanings below.

```json
{
  "CheckSum": "E94077842C4080E431CAFCF8D213DE333D604B1032772647C17F56692ECB165DF4C0F72A0E098137C7188D0723483380757FB1F8E16280E7F02B88CF4354F112",
  "Data": {
    "CustomerEmailAddress": "JOHNDOEE@gmail.com",
    "LiquidityProviderName": "Nnadozie Ohaeri",
    "OrderDetails": {
      "PayInCurrency": 1,
      "ReceiveInCurrency": 6,
      "AmountPaidByCustomer": 6969,
      "AmountPaidToCustomer": 12.46690519,
      "OrderReference": "XB_f303e68cf02d4683bb281671796f9fb4",
      "OrderType": 1,
      "OrderStatus": 6,
      "DisputeStatus": 1
    },
    "PaidBy": 2,
    "PaymentMethod": 2,
    "PaymentDate": 1644321238268.8464,
    "RecepientAccountDetails": {
      "WalletAddress": "0x30b7D85f7CF498D556a9448243a7994bc4660790",
      "Network": "BEP20",
      "Currency": "BUSD"
    },
    "TransactionMetaData": {
      "CryptoPaymentNetwork": "BEP20",
      "CryptoTransactionHash": "0x875bc17de7f0c46b593e1c414d579f8e95ddb278f82df0c43392a7f445808a6e",
      "TransactionVerificationUrl": null
    }
  }
}
```

<table><thead><tr><th width="271.3333333333333">Key</th><th width="150">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>CheckSum</code></td><td>string</td><td>This is a hash property signed with the merchant <code>secretkey</code>.</td></tr><tr><td><code>Data</code></td><td>object</td><td>This holds the properties of the payload data details.</td></tr><tr><td><code>CustomerEmailAddress</code></td><td>string</td><td>This is the customer's email address.</td></tr><tr><td><code>LiquidityProviderName</code></td><td>string</td><td>This is the name of the liquidity provider.</td></tr><tr><td><code>OrderDetails</code></td><td>object</td><td>This is an object that holds the properties of the order details.</td></tr><tr><td><code>PayInCurrency</code></td><td>enum</td><td>This is the symbol of a particular currency used in paying for an order. Values range from <code>NGN = 1</code>, <code>USD = 2</code>, <code>BUSD = 6</code>&#x26; <code>XEND = 9</code>.</td></tr><tr><td><code>RecieveInCurrency</code></td><td>enum</td><td>This is the symbol of a particular currency used in receiving. Values range from <code>NGN = 1</code>, <code>USD = 2</code>, <code>BUSD = 6</code>&#x26; <code>XEND = 9</code>.</td></tr><tr><td><code>AmountPaidByCustomer</code></td><td>decimal</td><td>This is the amount paid by the customer.</td></tr><tr><td><code>AmountPaidToCustomer</code></td><td>decimal</td><td>This is the amount paid to the customer.</td></tr><tr><td><code>OrderReference</code></td><td>string</td><td>This is the reference value of an order.</td></tr><tr><td><code>OrderType</code></td><td>enum</td><td>This is the type of order made. It can either be a <code>Buy</code> or <code>Sell</code>.</td></tr><tr><td><code>OrderStatus</code></td><td>enum</td><td>This is the status of an order at a particular time. It can either be <code>Submitted = 1</code>, <code>Canceled = 2</code>, <code>Acknowledge = 3</code>, <code>FundedProvider = 4</code>, <code>FundRecievedFromUser = 5</code>, <code>FundedUser = 6</code>, <code>Completed = 7</code> or <code>OrderTimeOut = 8</code>.</td></tr><tr><td><code>OrderDisputeStatus</code></td><td>enum</td><td>This is the dispute status of an order. It can either be <code>NoDispute, DisputeRaisedbyCustomer</code>, <code>DisputeRaisedByProvider</code>, <code>DisputeRaisedByBothParties</code> , <code>DisputeResolved</code> or <code>CouldNotResolve</code>.</td></tr><tr><td><code>PaidBy</code></td><td>enum</td><td>This is the entity by which the order is paid by. It could be the <code>Customer = 1</code> or <code>Provider = 2</code>.</td></tr><tr><td><code>PaymentMethod</code></td><td>enum</td><td>This is the payment method which is used in transacting. It can be <code>Bank = 1</code> or <code>Crypto = 2</code>.</td></tr><tr><td><code>PaymentDate</code></td><td>double</td><td>This is the date by which the payment was made in milliseconds.</td></tr><tr><td><code>RecepientAccountDetails</code></td><td>object</td><td>This holds the properties of the recepient's account details.</td></tr><tr><td><code>WalletAddress</code></td><td>string</td><td>This is the wallet address of the customer.</td></tr><tr><td><code>Network</code></td><td>string</td><td>This is the cryptocurrency network name.</td></tr><tr><td><code>Currency</code></td><td>string</td><td>This is the currency the order was transacted with.</td></tr><tr><td><code>TransactionMetaData</code></td><td>object</td><td>This is an object that holds the metadata of the transaction.</td></tr><tr><td><code>CryptoPaymentNetwork</code></td><td>string</td><td>This is the cryptocurrency network which was paid with.</td></tr><tr><td><code>CryptoTransactionHash</code></td><td>string</td><td>This is the security hash of a particular transaction in the network.</td></tr><tr><td><code>TransactionVerificationUrl</code></td><td>string</td><td>is is the url of the transaction. It's nullable.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.xendbridge.com/api-method-calls/webhooks/order-payment-confirmation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
