> For the complete documentation index, see [llms.txt](https://docs.50spays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.50spays.com/ko/payout/payout-p2p-h2h.md). Agents can also search and read this documentation through its [MCP server](https://docs.50spays.com/~gitbook/mcp).

# PayOut P2P H2H

## Create Outgoing P2P Payout

<mark style="color:green;">`POST`</mark> /api/merchant/h2h/payout/p2p

This method is used to create payout orders.

**Body**

| Name                                                                                              | Type                                                  | Description                                                                                                                                                                                                   |
| ------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| method                                                                                            | string <mark style="color:red;">**(required)**</mark> | <p>Payment method:<br><strong><code>card, sbp, bank\_account, iban, phone\_number, cliq, pix</code></strong></p>                                                                                              |
| amount                                                                                            | number <mark style="color:red;">**(required)**</mark> | Payment amount                                                                                                                                                                                                |
| currencyId                                                                                        | string <mark style="color:red;">**(required)**</mark> | <p>Payment currency (for fiat, use the ISO 4217 3-letter code):<br><code>RUB, USD, EUR, UAH, AZN, KRW ...</code></p>                                                                                          |
| merchantOrderId                                                                                   | string <mark style="color:red;">**(required)**</mark> | Unique order ID in the merchant’s system                                                                                                                                                                      |
| callbackUrl                                                                                       | string <mark style="color:red;">**(required)**</mark> | Callback URL where order status updates will be sent                                                                                                                                                          |
| comment                                                                                           | string                                                | Payment comment                                                                                                                                                                                               |
| recipientInfo                                                                                     | object <mark style="color:red;">**(required)**</mark> | Information about the payer                                                                                                                                                                                   |
| recipientInfo.userId                                                                              | string <mark style="color:red;">**(required)**</mark> | Unique user ID in the merchant’s system                                                                                                                                                                       |
| recipientInfo.bankId                                                                              | integer                                               | <p>Bank identifier in our system.<br><sub><mark style="color:red;"><strong>required for sbp, bank\_account</strong></mark></sub></p>                                                                          |
| recipientInfo.bankBranch                                                                          | string                                                | <p>Bank branch name and code<br><sub>Example: 测试支行＆999</sub><br><sub><mark style="color:red;"><strong>required for JPY bank\_account</strong></mark></sub></p>                                                |
| recipientInfo.accountType                                                                         | string                                                | <p>User Account Type<br><strong><code>card, phone, email, iban, bank\_account, wallet, cpf, cnpj, evp</code></strong><br><sub><mark style="color:red;"><strong>required for BRL pix</strong></mark></sub></p> |
| recipientInfo.accountNumber                                                                       | string <mark style="color:red;">**(required)**</mark> | User Actual Account Number                                                                                                                                                                                    |
| <p>recipientInfo.accountName<br><mark style="color:red;"><strong>(deprecated)</strong></mark></p> | string                                                | User Actual Account Holder                                                                                                                                                                                    |
| recipientInfo.beneficiaryFirstName                                                                | string <mark style="color:red;">**(required)**</mark> | Account Holder First Name                                                                                                                                                                                     |
| recipientInfo.beneficiaryLastName                                                                 | string <mark style="color:red;">**(required)**</mark> | Account Holder Last Name                                                                                                                                                                                      |
| recipientInfo.taxId                                                                               | string                                                | <p>Recipient's tax ID<br><sub><mark style="color:red;"><strong>required for BRL pix</strong></mark></sub></p>                                                                                                 |
| recipientInfo.email                                                                               | string                                                | User email                                                                                                                                                                                                    |
| recipientInfo.phone                                                                               | string                                                | User phone                                                                                                                                                                                                    |

**Example Request Body**

{% tabs %}
{% tab title="BRL PIX" %}

{% endtab %}
{% endtabs %}

<details>

<summary>RUB</summary>

<pre class="language-json"><code class="lang-json"><strong>//for SBP
</strong>{
    "method": "sbp",
    "amount": 1100,
    "currencyId": "RUB",
    "merchantOrderId": "1315",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "bankId": 175,
        "accountNumber": "+70000000000",
        "accountName": "Popov Valentin"
  }
}

//for card
{
    "method": "card",
    "amount": 1100,
    "currencyId": "RUB",
    "merchantOrderId": "1315",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "accountNumber": "1111111111111111",
        "accountName": "Popov Valentin"
  }
}
</code></pre>

</details>

<details>

<summary>ARS</summary>

```json
{
    "method": "bank_account",
    "amount": 400,
    "currencyId": "ARS",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "accountNumber": "1234567890",
        "beneficiaryFirstName": "Evgenii",
        "beneficiaryLastName": "Tarasuk",
        "email": "evgeniy@test.com",
        "phone": "+5491123456789"
  }
}
```

</details>

<details>

<summary>KRW</summary>

```json
{
    "method": "bank_account",
    "amount": 10000,
    "currencyId": "KRW",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "bankId": 304,
        "accountNumber": "09415019201011",
        "beneficiaryFirstName": "Evgenii",
        "beneficiaryLastName": "Tarasuk"
  }
}
```

</details>

<details>

<summary>JPY</summary>

```json
{
    "method": "bank_account",
    "amount": 30000,
    "currencyId": "JPY",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "bankId": 742,
        "bankBranch": "测试支行999",
        "accountNumber": "6399958",
        "beneficiaryFirstName": "测试",
        "beneficiaryLastName": "的"
  }
}
```

</details>

<details>

<summary>TRY</summary>

```json
{
    "method": "iban",
    "amount": 400,
    "currencyId": "TRY",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "accountNumber": "TR000000000000000000000000",
        "beneficiaryFirstName": "ÜMİT",
        "beneficiaryLastName": "YILDIZ"
  }
}
```

</details>

<details>

<summary>BRL PIX</summary>

{% code overflow="wrap" %}

```json
//for CPF payouts
{
    "method": "pix",
    "amount": "100",
    "currencyId": "BRL",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "accountType": "cpf",
        "accountNumber": "03614877116",
        "accountName": "Maria Silva",
        "taxId": "03614877116"
  }
}

//for PHONE payouts
{
    "method": "pix",
    "amount": "100",
    "currencyId": "BRL",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "accountType": "phone",
        "accountNumber": "+5511999999999",
        "accountName": "Maria Silva",
        "taxId": "03614877116"
  }
}

//for EMAIL payouts
{
    "method": "pix",
    "amount": "100",
    "currencyId": "BRL",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "accountType": "email",
        "accountNumber": "pix@example.com",
        "accountName": "Maria Silva",
        "taxId": "03614877116"
  }
}

//for EVP payouts
{
    "method": "pix",
    "amount": "100",
    "currencyId": "BRL",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "accountType": "evp",
        "accountNumber": "123e4567-e89b-42d3-a456-426614174000",
        "accountName": "Maria Silva",
        "taxId": "03614877116"
  }
}
```

{% endcode %}

</details>

<details>

<summary>BHD</summary>

```json
//for IBAN
{
    "method": "iban",
    "amount": 400,
    "currencyId": "BHD",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "accountNumber": "BH000000000000000000000000",
        "beneficiaryFirstName": "Ahmed",
        "beneficiaryLastName": "Khalifa"
  }
}

//for BenefitPay
{
    "method": "phone_number",
    "amount": 10,
    "currencyId": "BHD",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "bankId": 809,
        "accountNumber": "8787350710",
        "beneficiaryFirstName": "Jack",
        "beneficiaryLastName": "Hoverton"
  }
}

//for STC Pay
{
    "method": "phone_number",
    "amount": 10,
    "currencyId": "BHD",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "bankId": 810,
        "accountNumber": "8787350710",
        "beneficiaryFirstName": "Jack",
        "beneficiaryLastName": "Hoverton"
  }
}
```

</details>

<details>

<summary>SAR</summary>

```json
{
    "method": "phone_number",
    "amount": 10,
    "currencyId": "SAR",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "bankId": 843,
        "accountNumber": "0597350710",
        "beneficiaryFirstName": "Jack",
        "beneficiaryLastName": "Hoverton"
  }
}
```

</details>

<details>

<summary>AED</summary>

```json
{
    "method": "iban",
    "amount": 400,
    "currencyId": "AED",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "accountNumber": "TR000000000000000000000000",
        "beneficiaryFirstName": "Jack",
        "beneficiaryLastName": "Hoverton"
  }
}
```

</details>

<details>

<summary>IQD</summary>

```json
//for BANK ACCOUNT
{
    "method": "bank_account",
    "amount": 5000,
    "currencyId": "IQD",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "bankId": 863,
        "accountNumber": "0597350710",
        "beneficiaryFirstName": "Jack",
        "beneficiaryLastName": "Hoverton"
  }
}

//for PHONE NUMBER
{
    "method": "phone_number",
    "amount": 1000,
    "currencyId": "IQD",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "bankId": 863,
        "accountNumber": "0597350710",
        "beneficiaryFirstName": "Jack",
        "beneficiaryLastName": "Hoverton"
  }
}
```

</details>

<details>

<summary>JOD</summary>

```json
{
    "method": "cliq",
    "amount": 10,
    "currencyId": "JOD",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "bankId": 838,
        "accountNumber": "435654645664",
        "beneficiaryFirstName": "Jack",
        "beneficiaryLastName": "Hoverton"
  }
}
```

</details>

<details>

<summary>EGP</summary>

```json
//for INSTAPAY
{
    "method": "instapay",
    "amount": 100,
    "currencyId": "EGP",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "bankId": 471,
        "accountNumber": "0597350710",
        "beneficiaryFirstName": "Jack",
        "beneficiaryLastName": "Hoverton"
  }
}

//for mobile operator: Axis, Orange, Etisalat, Vodafone, Telda
// Set the bankId field to the ID of the mobile operator. For example, use bankId = 473 for Orange Cash.
{
    "method": "sim",
    "amount": 100,
    "currencyId": "EGP",
    "merchantOrderId": "merchant-order-id-123",
    "callbackUrl": "https://webhook.site/c7e3b35d-3e0b-42e7-a46b-e51b98e865c4",
    "recipientInfo": {
        "userId": "25",
        "bankId": 473,
        "accountNumber": "0597350710",
        "beneficiaryFirstName": "Jack",
        "beneficiaryLastName": "Hoverton"
  }
}
```

</details>

**Response**

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

```json
{
    "ok": true,
    "order": {
        "orderUid": "d582231a-c0b9-4421-ba06-4195fe2be471"
    }
}
```

| Name         | Type   | Description             |
| ------------ | ------ | ----------------------- |
| orderUid     | string | Order UID in our system |
| {% endtab %} |        |                         |

{% tab title="4xx/5xx" %}
{% code fullWidth="true" %}

```json
{
    "ok": false,
    "code": 402,
    "message": "human readable error message"
}
```

{% endcode %}

[**All Error Codes**](https://docs.50spays.com/ko/reference/error-codes.md)
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.50spays.com/ko/payout/payout-p2p-h2h.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
