# Create a Payout Transaction

Create a Payout

## Create a Payout

<mark style="color:orange;">`POST`</mark> `/api/payout/single`

**Headers**

| Name        | Value     |
| ----------- | --------- |
| `x-api-key` | `<token>` |
| `signature` | `<token>` |

**Body**

| Name                                            | Type   | Description                             |
| ----------------------------------------------- | ------ | --------------------------------------- |
| `receiver_id`<mark style="color:red;">\*</mark> | string | Receiver ID to make payout.             |
| `account_id`<mark style="color:red;">\*</mark>  | string | Account ID to make payout.              |
| `amount`<mark style="color:red;">\*</mark>      | string | Amount ID to make payout in **`Cent`**. |
| `currency`<mark style="color:red;">\*</mark>    | string | Currency ID to make payout.             |
| `reference`                                     | string | Referance of payout.                    |
| `note`                                          | string | Note of payout.                         |

&#x20;<mark style="color:red;">\*</mark> is mandatory parameter

#### Example body request

```json
{
    "receiver_id": "f85cbb74-6af7-43cb-b0a2-b5e5b9838de6",
    "account_id": "ad5ac900-ac63-4e60-894b-1de10f04f876",
    "amount": 2000, // cent
    "currency": "AUD",
    "reference": "ref-16aud",
    "note": "Payout for Frank"
}
```

**Response**

{% tabs %}
{% tab title="200" %}

<pre class="language-json"><code class="lang-json"><strong>{
</strong>    "message": "Payout created successfully",
    "payload": {
        "payout_id": "44389fbd-5931-431a-bcac-cfb73ccc6494"
    }
}
</code></pre>

{% endtab %}

{% tab title="400" %}

```json
{
    "message": "There was an error while creating a payout",
    "error": [
        {
            "code": "PAYO201",
            "message": "Receiver not found"
        }
    ]
}
```

{% endtab %}
{% endtabs %}
