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
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
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.
{
"virtual_account" : "9920015307",
"beneficiary_virtual_account" : "9920015361",
"beneficiary_account" : "10000006",
"beneficiary_name" : "PT. Florist Lentera Abadi",
"beneficiary_bank_code" : "014",
"beneficiary_region_code" : "0391",
"beneficiary_country_code" : "ID",
"beneficiary_purpose_code" : "1",
"beneficiary_email" : "[email protected], [email protected]"
"trx_no" : "87643666",
"trx_date" : "2020-08-25 08:51:00",
"instruct_date" : "",
"trx_amount" : "2500000",
"trx_desc" : "Transfer",
"callback_url" : "https://dev2.faspay.co.id/account/api/callback"
}Response Body
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
{
"virtual_account": "9920015307",
"beneficiary_virtual_account": "9920015361",
"beneficiary_account": "10000006",
"beneficiary_name": "PT. Florist lentera Abadi",
"beneficiary_bank_code": "014",
"beneficiary_region_code": "0391",
"beneficiary_country_code": "ID",
"beneficiary_purpose_code": "1",
"beneficiary_email" : "[email protected], [email protected]"
"trx_no": "87643666",
"trx_date": "2020-08-25 08:51:00",
"instruct_date": "",
"trx_amount": 2500000,
"trx_desc": "Transfer",
"callback_url": "https://dev2.faspay.co.id/account/api/callback",
"trx_id": 6411,
"trx_reff": "O4wgHmwglqpFAv-hZiu-_9999980300009258",
"status": "1",
"message": "On Process",
"response_code": "00",
"response_desc": "success"
}Last updated