# Create Beneficiary

## Method and URL

<mark style="color:green;">`POST`</mark> \[<mark style="color:orange;">BASE\_URL</mark>]/xb/beneficiary

## **Request Params**

#### **Request Body**

```json
{
    "name": "Merci Beacou Supa",
    "countryCode": "US",
    "state": "New York",
    "city": "New York City",
    "address": "Jl Amerika",
    "postcode": "12345",
    "accountType": "Individual",
    "accountNumber": "35628342",
    "identificationType": "Passport",
    "identificationNumber": "X123456",
    "bankName": "Bank of America"
    // "bankCode": "123", → only for beneficiary country Korea
    // "contactCountryCode": "+81", → only for beneficiary country Korea
    // "contactNumber": "123134123", → only for beneficiary country Korea
    // "email": "halo@email.com", → only for beneficiary country Korea
    // “payoutMethod”: “WALLET” → only for sending to Alipay (BANK/WALLET/CASH)
}
```

## Response

**Response Body**

```json
{
    "code": "00",
    "message": "Success",
    "data": {
        "uuid": "62b39dd6-85dc-4c33-b9d9-edc992251bf3",
        "name": "Merci Beacou Supa",
        "accountType": "Individual",
        "address": "Jl Amerika",
        "city": "New York City",
        "postcode": "12345",
        "state": "New York",
        "countryCode": "US",
        "identificationType": "Passport",
        "identificationNumber": "X123456",
        "accountNumber": "35628342",
        "bankName": "Bank of America",
        "bankCode": "",
        "contactCountryCode": "",
        "contactNumber": "",
        "email": "",
        "createdAt": "2024-11-07T02:43:52Z"
    }
}
```


---

# 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://pivot-payment.gitbook.io/pivot-docs/api-references/api-lists/payout-international/beneficiary/create-beneficiary.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.
