Faspay
Search…
Alfamart Cash Out

Transfer

This service serves to create transactions from merchants to Faspay which are then used to process funds transfers from the account merchant to the destination account that has been previously registered. Use this relative URL to generate the signature:
    Relative URL : /account/api/transfer
    Method : HTTP POST
and is also used to create ** signatures ** and use ** requests header + request body **
Request Transfer
The parameters that must be provided by the merchant system to be accessed with the Faspay system:
Request body
Sample Request
No
Parameter
Type
Lenght
Required
Description
1
virtual_account
N
20
M
VA merchant
2
beneficiary_bank_code
AN
3
M
Beneficiary bank code
3
beneficiary_region_code
N
4
M
Beneficiary Region Code
4
beneficiary_country_code
AN
2
M
Code Of Country
5
beneficiary_purpose_code
N
1
M
Code of purpose of using the system account
6
beneficiary_email
AN
128
M
Beneficiary Email
7
trx_no
N
12
M
Transaction number (from merchant)
8
trx_date
Datetime
M
datetime (Y-m-d H:i:s)
9
instruct_date
Datetime
M
Instruct date is date for transaction
10
trx_amount
N
M
Total amount, ex : 10.000 -> 1000000
11
trx_desc
AN
M
Description, If the user input is more than 15 characters, it will be cut into 15 characters
12
callback_url
AN
255
O
URL for callback / notification, used if the merchant wants the system to send notifications to the merchant
13
trx_expired
Datetime
O
Transaction expired, -null : expired date within 24 hours (depending on the merchant)
14
beneficiary_account_name
AN
M
beneficiary account name
1
{
2
"virtual_account":"9920015307",
3
"beneficiary_bank_code":"alf",
4
"beneficiary_region_code":"0391","beneficiary_country_code":"ID",
5
"beneficiary_purpose_code":"1",
6
"beneficiary_phone":"092132132123","beneficiary_email":"[email protected]",
7
"trx_no":"431440034568",
8
"trx_date":"2020-10-13 14:16:00",
9
"instruct_date":"",
10
"trx_amount":"2500000",
11
"trx_desc":"Test Alfa",
12
"callback_url":"https://dev2.faspay.co.id/account/api/callback",
13
"ktp_id":"0123456449105144",
14
"place_of_birth":"Jakarta",
15
"date_of_birth":"1990-06-21",
16
"gender":"F",
17
"citizenship":"WNI",
18
"occupation":"Employee",
19
"trx_expired":"",
20
"address":"jln pintu air Raya",
21
"beneficiary_account_name":"Ulin Nuha"
22
}
Copied!
Transfer Response
Response body
Sample Response
No
Parameter
Type
Lenght
Required
Description
1
virtual_account
N
20
M
VA merchant
2
beneficiary_bank_code
AN
3
M
Beneficiary Bank Code
3
beneficiary_region_code
N
4
M
Code of branch bank
4
beneficiary_country_code
AN
2
M
Country Code
5
beneficiary_purpose_code
N
1
M
Purpose Code
6
beneficiary_email
AN
128
M
Beneficiary email
7
trx_no
N
12
M
Transaction number (from merchant)
8
trx_date
Datetime
M
datetime (Y-m-d H:i:s)
9
instruct_date
Datetime
M
Response of instruct date has been sent
10
trx_amount
N
M
Total amount, ex : 10.000 -> 1000000
11
trx_desc
AN
M
Description
13
callback_url
AN
255
O
URL for callback / notification, used if the merchant wants the system to send notifications to the merchant
14
ktp_id
N
16
M
ID KTP
15
place_of_birth
AN
255
M
Place of birth
16
date_of_birth
Datetime
M
Date of birth
17
gender
AN
2
M
Gender
18
citizenship
AN
3
M
Citizenship
19
occupation
AN
255
M
Occupation
20
trx_expired
Datetime
O
Transaction expired, -null : expired date within 24 hours (depending on the merchant)
21
address
AN
255
M
Address
22
beneficiary_account_name
AN
M
Beneficiary Account Name
23
trx_id
N
M
ID Transaction
24
trx_reff
AN
M
Refference of transaction number on system disbursement
25
cashout_code
N
16
M
Cash Out Code
26
status
N
1
M
List Status Transaction : 1 = On Process, 2 = Success, 4 = Failed, 5 = Reverse
27
message
AN
M
Message Description
28
response_code
N
2
M
Response code from bank (00 = success)
29
response_desc
AN
M
Response description from bank
1
{
2
"virtual_account":"9920017573",
3
"beneficiary_bank_code":"alf",
4
"beneficiary_region_code":"0391",
5
"beneficiary_country_code":"ID",
6
"beneficiary_purpose_code":"1",
7
"beneficiary_phone":"092132132123",
8
"beneficiary_email":"[email protected]",
9
"trx_no":"431440034568",
10
"trx_date":"2020-10-13 14:16:00",
11
"instruct_date":"",
12
"trx_amount":"2500000",
13
"trx_desc":"Test Alfa",
14
"callback_ur":"https://dev2.faspay.co.id/account/api/callback",
15
"ktp_id":"0123456449105144",
16
"place_of_birth":"Jakarta",
17
"date_of_birth":"1990-06-21",
18
"gender":"F",
19
"citizenship":"WNI",
20
"occupation":"Employee",
21
"trx_expired":"",
22
"address":"jln pintu air Raya",
23
"beneficiary_account_name":"Ulin Nuha",
24
"trx_id":"1993275",
25
"trx_reff":"aIvEmfwvo25RHfCXoNeU_9999982300002485",
26
"cashout_code":"9999982300002485",
27
"status":"1",
28
"message":"On Process",
29
"response_code":"00",
30
"response_desc":"success"
31
}
Copied!
Last modified 1mo ago
Copy link