Transfer

Create a signature and use the request header + request body

Transfer Payment

POST https: //example.co.id/account/api/transfer

This service is used for transfer from the partner's account to the destination account that has been registered previously

* means the parameter is required (mandatory)

Headers

ParameterData TypeDescription

faspay-key*

String

Provide by faspay

faspay-timestamp*

String

datetime (Y-m-d H:i:s)

faspay-signature*

String

Signature please refer to signature section

faspay-authorization*

String

Encrypt method: AES 256 FASPAY_SECRET:APP_KEY:APP_SECRET)

Content-Type*

String

application/json

Request Body

ParameterData TypeDescription

virtual_account*

Number(20)

VA partner

beneficiary_virtual_account*

Number(20)

VA number of beneficiary account

beneficiary_account*

Number(128)

Account number of VA

beneficiary_name*

String(255)

Account beneficiary name

beneficiary_bank_code*

Number(3)

Beneficiary bank code

beneficiary_region_code*

Number

Code of branch bank

beneficiary_country_code*

String(2)

Code of country

beneficiary_purpose_code*

Number(1)

Code of the purpose of using the system account

beneficiary_email

String

Beneficiary Email

Note: email can be filled in more than 1 by entering , for the separator

trx_no*

Number

Transaction number from partner

trx_date*

DateTime

datetime format (Y-m-d H:i:s)

instruct_date*

DateTime

Instruct date is a date for transaction: -Null: real-time transaction -Datetime: ex 2018-12-21 08:30:00, the transaction will be sent at 2018-12-21 08:30:00

trx_amount*

Integer

Total amount, ex : 10.000 -> 1000000 Writing format is not allowed decimal, only integers are allowed

trx_desc*

String

Transaction description, If the user input is more than 15 characters, it will be cut into 15 characters.

callback_url*

String

URL for callback/notification, used to notify the partner.

Response Body

ParameterData TypeDescription

virtual_account*

Number(20)

VA partner

beneficiary_virtual_account*

Number(20)

VA number of beneficiary account

beneficiary_account*

Number(128)

Account number of VA

beneficiary_name*

String(255)

Account beneficiary name

beneficiary_bank_code*

Number(3)

Beneficiary bank code

beneficiary_region_code*

Number

Code of branch bank

beneficiary_country_code*

String(2)

Code of country

beneficiary_purpose_code*

Number(1)

Code of the purpose of using the system account

beneficiary_email

String

Beneficiary Email

Note: email can be filled in more than 1 by entering , for the separator

trx_no*

Number

Transaction number from partner

trx_date*

DateTime

datetime format (Y-m-d H:i:s)

instruct_date*

DateTime

Instruct date is a date for transaction: -Null: real-time transaction -Datetime: ex 2018-12-21 08:30:00, the transaction will be sent at 2018-12-21 08:30:00

trx_amount*

Integer

Total amount, ex : 10.000 -> 1000000 Writing format is not allowed decimal, only integers are allowed

trx_desc*

String

Transaction description, If the user input is more than 15 characters, it will be cut into 15 characters.

callback_url*

String

URL for callback/notification, used to notify the partner.

trx_id*

Number

ID transaction of transfer

trx_reff*

String (128)

Reference of transaction number on system disbursement

status*

Numeric (1)

List of status transaction: 1 = On Process, 2 = Success, 4 = Failed, 5 = Reverse

message*

String

Message transaction

response_code*

Number (2)

Response code from bank (00 = success)

response_desc*

String (32)

Response desc from bank

Last updated