Indomaret Cash Out
Transfer
This service serves to create transactions from partner to Faspay. This service is used to process fund transfers from a partner account to a beneficiary.
Transfer Request
Relative URL : /account/API/transfer
Method : HTTP POST
The parameters that must be provided by the partner system to be accessed by the Faspay system are as follows:
virtual_account
Numeric (20)
Mandatory
Virtual account number partner
beneficiary_bank_code
Alphanumeric (3)
Mandatory
Beneficiary Bank Code:
alf= Alfamart
imr= Indomaret
beneficiary_region_code
Numeric (4)
Mandatory
Beneficiary 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 partner)
trx_date
Datetime
Mandatory
Transaction date time
trx_expired
Datetime
Optional
Transaction expired,
- null : expired date within 24 hours (depending on the partner)
instruct_date
Datetime
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
Alphanumeric (255)
Mandatory
Beneficiary account name
{
"virtual_account": "9920017573",
"beneficiary_bank_code": "imr",
"beneficiary_region_code": "0102",
"beneficiary_country_code": "ID",
"beneficiary_purpose_code": "1",
"beneficiary_phone": "082211211",
"beneficiary_email": "[email protected]",
"trx_no": "WB220620211095061",
"trx_date": "2021-09-16 17:45:00",
"trx_expired": "2021-10-16 15:15:00",
"instruct_date": "2021-09-16 17:45:00",
"trx_amount": "500000",
"trx_desc": "Indomaret cash out 16 september 2021",
"beneficiary_account_name": "agus priyono",
}Transfer Response
virtual_account
Numeric (20)
Mandatory
Virtual account number partner
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 partner)
trx_date
Datetime
Mandatory
Transaction date time
trx_expired
Datetime
Optional
Transaction expired,
- null : expired date within 24 hours (depending on the partner)
instruct_date
Datetime
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 (255)
Mandatory
URL for callback / notification, used if the partner wants the system to send notifications to the partner
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
message
Alphanumeric
Mandatory
Message Description
response_code
Numeric (2)
Mandatory
Response code from bank (00 = success)
response_desc
Alphanumeric
Mandator
Response description from bank
{
"virtual_account": "9920017573",
"beneficiary_bank_code": "imr",
"beneficiary_region_code": "0102",
"beneficiary_phone": "082211211",
"beneficiary_country_code": "ID",
"beneficiary_purpose_code": "1",
"beneficiary_email": "[email protected]",
"trx_no": "WB220620211095064",
"trx_date": "2021-09-16 17:45:00",
"trx_expired": "2021-10-16 15:15:00",
"instruct_date": "2021-09-16 17:45:00",
"trx_amount": 500000,
"trx_desc": " Indomaret cash out 16 september 2021",
"callback_url": "http://account-service/account/api/mail/sendtotele",
"beneficiary_account_name": "agus priyono",
"trx_id": 308952,
"trx_reff": "oHB0Z6Uc1x EKA2zvK1z_OXJZQUJ2N2k4d3hVVGJhWWRpYlZJU2lDdkFrSWZDdnM4cHdmdytrTFo4QT0=",
"cash out_code": "1639969650098364",
"status": "1",
"message": "On Process",
"response_code": "00",
"response_desc": "success"
}Last updated