# Payout via API

<details>

<summary>Validate and save your Beneficiary Account information</summary>

Ensure the recipient’s bank, e-wallet, or virtual account is valid before initiating a payout. This helps reduce failed transactions and improves payout success rates.

API Reference: [Inquiry Account](https://app.gitbook.com/s/ImVr2HJay0snj5ukhBJK/api-lists/payout-local/inquiry-account "mention")

```json
POST [BASE_URL]/v1/inquiry-account

{
  "channelCode": "JENIUS",
  "channelInformation": {
    "accountNumber": "90013355917",
    "accountName": "Reforza Jordan Geotama"
  }
}
```

</details>

<details>

<summary>Create Single or Bulk Payout using <code>inquiryId</code></summary>

Initiate payouts by referencing the `inquiryId` received from the Inquiry Account API. To send multiple payouts in one request, simply add multiple payout objects to an array. This supports both single and bulk disbursements efficiently

API Reference: [Create a Payout](https://app.gitbook.com/s/ImVr2HJay0snj5ukhBJK/api-lists/payout-local/create-a-payout "mention")

```json
POST [BASE_URL]/v1/payouts

{
  "payouts": [
    {
      "referenceId": "Test290625-001",
      "inquiryId": "881babc6-18b0-48a1-b0da-c8e12be02a52",
      "amount": {
        "value": "10001",
        "currency": "IDR"
      },
      "description": "Test Reforza Pivot"
    }
  ]
}
```

</details>

<details>

<summary>Create Single or Bulk Payout using <code>channelCode</code> and <code>channelInformation</code></summary>

Initiate payouts by using the `channelCode` and `channelInformation` provided in the Inquiry Account API response. To create bulk payouts, include multiple payout objects in an array. This method supports both single and batch transfers with flexible channel options

API Reference: [Create a Payout](https://app.gitbook.com/s/ImVr2HJay0snj5ukhBJK/api-lists/payout-local/create-a-payout "mention")

```json
POST [BASE_URL]/v1/payouts

{
  "payouts": [
    {
      "referenceId": "Test290625-002",
      "channelCode": "JENIUS",
      "channelInformation": {
        "accountNumber": "90013355917",
        "accountName": "Reforza Jordan Geotama"
      },
      "amount": {
        "value": "10002",
        "currency": "IDR"
      },
      "description": "Test Reforza Pivot"
    }
  ]
}
```

</details>
