Faspay
Search…
Indomaret Cash Out

Transfer

This service serves to create transactions from Merchants to Faspay. This service is used to process funds transfer from a Merchant account to a beneficiary.

Transfer Request

Relative URL : /account/API/transfer
Method : HTTP POST
Format : JSON
The parameters that must be provided by the Merchant system to be accessed by the Faspay system are as follows:
Request Body
Sample Request
Parameter
Data Type
Length
M/O/C
Deskripsi
virtual_account
Numeric
20
Mandatory
Virtual Account Number Merchant
beneficiary_bank_code
Alphanumeric
3
Mandatory
Beneficiary Bank Code
alf : Alfamart
imr: Indomaret
beneficiary_region_code
Numeric
4
Mandatory
Benefeciary Region Code
beneficiary_country_code
Alphanumeric
2
Mandatory
Code of Country
beneficiary_purpose_code
Numeric
1
Optional
Code of purpose of using the system account
beneficiary_phone
Numeric
15
Mandatory
Beneficiary phone
beneficiary_email
Alphanumeric
128
Mandatory
Beneficiary email
trx_no
Alphanumeric
255
Mandatory
Transaction number (from Merchant)
trx_date
Datetime (yyyy-mm-dd)
Mandatory
Transaction date time
trx_expired
Datetime (yyyy-mm-dd)
Optional
Transaction expired,
- null : expired date within 24 hours (depending on the Merchant)
instruct_date
Datetime (yyyy-mm-dd)
Mandatory
Transfer instruction date
trx_amount
Numeric
Mandatory
Total amount, ex : 100.000 à 10000000
Amount must be multiple of 50000.
trx_desc
Alphanumeric
15
Optional
Description, If the user input is more than 15 characters, it will be cut into 15 characters
beneficiary_account_name
Alphanumeiric
255
Mandatory
Beneficiary account name
1
{
2
“virtual_account": "9920017573",
3
"beneficiary_bank_code": "imr",
4
"beneficiary_region_code": "0102",
5
"beneficiary_country_code": "ID",
6
"beneficiary_purpose_code": "1",
7
"beneficiary_phone": "082211211",
8
"beneficiary_email": "[email protected]",
9
"trx_no": "WB220620211095061",
10
"trx_date": "2021-09-16 17:45:00",
11
"trx_expired": "2021-10-16 15:15:00",
12
"instruct_date": "2021-09-16 17:45:00",
13
"trx_amount": "500000",
14
"trx_desc": "Indomaret cash out 16 september 2021",
15
"beneficiary_account_name": "Wibisono",
16
}js
Copied!

Transfer Response

Response Body
Sample Response
Parameter
Data Type
Length
M/O/C
Deskripsi
virtual_account
Numeric
20
Mandatory
Virtual Account Number Merchant
beneficiary_bank_code
Alphanumeric
3
Mandatory
Beneficiary Bank Code
alf: Alfamart
imr: Indomaret
beneficiary_region_code
Numeric
4
Mandatory
Benefeciary Region Code
beneficiary_country_code
Alphanumeric
2
Mandatory
Code of Country
beneficiary_purpose_code
Numeric
1
Optional
Code of purpose of using the system account
beneficiary_phone
Numeric
15
Optional
Beneficiary phone
beneficiary_email
Alphanumeric
128
Mandatory
Beneficiary email
trx_no
Numeric
255
Mandatory
Transaction number (from Merchant)
trx_date
Datetime (yyyy-mm-dd)
Mandatory
Transaction date time
trx_expired
Datetime (yyyy-mm-dd)
Optional
Transaction expired,
- null : expired date within 24 hours (depending on the Merchant)
instruct_date
Datetime (yyyy-mm-dd)
Mandatory
Transfer instruction date
trx_amount
Numeric
Mandatory
Total amount, ex : 100.000 à 10000000
Amount must be multiple of 50000.
trx_desc
Alphanumeric
15
Optional
Description, If the user input is more than 15 characters, it will be cut into 15 characters
callback_url
Alphanumeric
2555
Mandatory
URL for callback / notification, used if the Merchant wants the system to send notifications to the Merchant
beneficiary_account_name
Alphanumeric
255
Mandatory
Beneficiary account name
trx_id
Numeric
16
Mandatory
ID Transaction
trx_reff
Alphanumeric
Mandatory
Refference of transaction number on system disbursement
cash out_code
Numeric
16
Mandatory
Cash out code
status
Numeric
1
Mandatory
List Status Transaction :
1 = On Process,
2 = Success,
4 = Failed,
5 = Reverse
1
{
2
"virtual_account": "9920017573",
3
"beneficiary_bank_code": "imr",
4
"beneficiary_region_code": "0102",
5
"beneficiary_phone": "082211211",
6
"beneficiary_country_code": "ID",
7
"beneficiary_purpose_code": "1",
8
"beneficiary_email": "[email protected]",
9
"trx_no": "WB220620211095064",
10
"trx_date": "2021-09-16 17:45:00",
11
"trx_expired": "2021-10-16 15:15:00",
12
"instruct_date": "2021-09-16 17:45:00",
13
"trx_amount": 500000,
14
"trx_desc": " Indomaret cash out 16 september 2021",
15
"callback_url": "http://account-service/account/api/mail/sendtotele",
16
"beneficiary_account_name": "Wibisono",
17
"trx_id": 308952,
18
"trx_reff": "oHB0Z6Uc1x EKA2zvK1z_OXJZQUJ2N2k4d3hVVGJhWWRpYlZJU2lDdkFrSWZDdnM4cHdmdytrTFo4QT0=",
19
"cash out_code": "1639969650098364",
20
"status": "1",
21
"message": "On Process",
22
"response_code": "00",
23
"response_desc": "success"
24
}
Copied!
Copy link
Contents