# Pay For Order (Buy Order)

{% hint style="info" %}
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 ***buy order***.
{% endhint %}

## Pay for order (buy order from customer)

<mark style="color:green;">`POST`</mark> `https://canary.xendbridge.com/api/LPSimulation/Order/Receipt`

#### Request Body

| Name                                             | Type   | Description                          |
| ------------------------------------------------ | ------ | ------------------------------------ |
| orderReference<mark style="color:red;">\*</mark> | string | XB\_e8715feef57b4cd4af4b738cf6db8e25 |

{% tabs %}
{% tab title="200: OK Success" %}

```json
{
    "data": true,
    "status": "OK",
    "message": "Customer Payout Initiated Successfully"
}
```

{% endtab %}
{% endtabs %}
