Transfers

Create transfer

Sends money to a bank account (type API Disbursement). Accepted immediately with no approval or PIN. Poll for the result.

POST
/transfers

Sends money to a bank account (type API Disbursement). Accepted immediately with no approval or PIN. Poll for the result.

Authorization

secretKey
AuthorizationBearer <token>

Sandbox try-it accepts sk_test_… only.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/transfers" \  -H "Content-Type: application/json" \  -d '{    "reference_id": "INV-001",    "amount": 100000,    "bank_code": "BCA",    "account_number": "1234567890",    "account_name": "BUDI SANTOSO",    "note": "Supplier payment"  }'
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "reference_id": "string",    "status": "processing",    "amount": 0,    "fee": 0,    "total": 0,    "source_account_id": "75fca71f-6b38-4768-804d-ffb93d0aa579",    "bank_code": "string",    "account_number": "string",    "account_name": "string",    "note": "string",    "failure_reason": "string",    "created_at": "2019-08-24T14:15:22Z",    "completed_at": "2019-08-24T14:15:22Z"  },  "meta": {    "request_id": "string"  }}