Bank Transfer Payouts Guide (ID)

Customer Profile API

📗

Learn how to use the Payout API to enable Indonesia bank transfer withdrawals to your user's bank account.

Overview

2000

UI Example of performing a withdrawal

You can send bank transfer payouts to connected users that have a verified bank account. In our system, your funds are paid out from your StraitsX Business Account to your user's bank account.

Before you begin

Ensure that you have the following prerequisites:

  1. You have added your user's bank account via the Create a customer profile bank account API.
  2. Your user's bank account has been verified either of the below methods:

Payout TypeFromTo
Bank Transfer PayoutBusiness AccountUser's bank account
curl --request POST \
     --url https://sandbox.xfers.io/api/v3/customer_profile/customer_profile_id/withdrawals \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'X-XFERS-APP-API-KEY: KVBZxX2YVOxlSjbxH0j6Wpc408FJKv88zXHU2aewdyO' \
     --data '
{
     "bank_account_id": "30",
     "amount": "10000",
     "idempotency_id": "test_id_cp_tx"
}
'
curl --request POST \
     --url https://www.xfers.io/api/v3/customer_profile/customer_profile_id/withdrawals \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'X-XFERS-APP-API-KEY: {YOUR_API_KEY}' \
     --data '
{
     "bank_account_id": "{bank_account_id}",
     "amount": "{{amount}}",
     "idempotency_id": "{{merchant_id}}"
}
'

Try it out!

Getting started with StraitsX APIs is easy. Our business development and integration teams will be with you every step of the way. If you have any questions or would like to connect with our team, please do so via Support!