Create disbursement

create a common disbursement transaction

Attributes

ATTRIBUTE
TYPE
DESCRIPTION

account_number

Number

The account number of the recipient

bank_code

String

Bank code of the recipient bank . Example : bca (case sensitive require)

amount

Number

The amount of money to be disbursed

remark

String

Remark to be included in the transfer made to the recipient. Usually will appear as berita transfer or remark in the transfer receipt. Max length for this attribute is 18 character

recipient_city

String (optional)

City code of the recipient city. Available value can be retrieved from city list

beneficiary_email

String

List of the recipient emails (separated by comma). Example

"test@mail.com,user@mail.com"

idempotency_key

String

your key

POST https://us-central1-appgregator.cloudfunctions.net/flipSandbox/disbursement/create/

Query Parameters

Name
Type
Description

name*

String

ft-4

connection_name*

String

flip-entre-1

Headers

Name
Type
Description

x-api-key*

String

U2FsdGVk...

{
    "id": 42613,
    "user_id": 423304,
    "amount": 10000,
    "status": "PENDING",
    "reason": "",
    "timestamp": "2022-07-22 16:44:36",
    "bank_code": "bca",
    "account_number": "5465327020",
    "recipient_name": "",
    "sender_bank": "bca",
    "remark": "some remark",
    "receipt": "",
    "time_served": "(not set)",
    "bundle_id": 0,
    "company_id": 5770,
    "recipient_city": 391,
    "created_from": "API",
    "direction": "DOMESTIC_TRANSFER",
    "sender": null,
    "fee": 4000,
    "beneficiary_email": "test@mail.com,user@mail.com",
    "idempotency_key": "JYsyd..."
}
Body JSON
{
    "account_number" : 4210343721,
    "bank_code" : "bca",
    "amount" : 20000,
    "remark" : "testing",
    "beneficiary_email" : "testing@gmail.com",
    "recipient_city" : "109",
    "idempotency_key" : "JYsyd..."
}
curl --location --request POST 'https://us-central1-appgregator.cloudfunctions.net/flipSandbox/disbursement/create?name=ft-4&connection_name=flip-entre-1' \
--header 'x-api-key: U2FsdGVk...' \
--header 'Content-Type: application/json' \
--data-raw '{
    "account_number" : 4210343721,
    "bank_code" : "bca",
    "amount" : 20000,
    "remark" : "testing",
    "beneficiary_email" : "testing@gmail.com",
    "recipient_city" : "109",
    "idempotency_key" : "JYsyd5to..."
}'

Last updated