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 a signature and use the requests header + request body.
Request Transfer
The parameters that must be provided by the merchant system to be accessed with the Faspay system:
Parameter | Type | M/O/C | Description |
---|---|---|---|
virtual_account | Numeric (20) | Mandatory | VA merchant |
beneficiary_bank_code | Alphanumeric (3) | Mandatory | Beneficiary bank code |
beneficiary_region_code | Numeric (4) | Mandatory | Beneficiary Region Code |
beneficiary_country_code | Alphanumeric (2) | Mandatory | Code Of Country |
beneficiary_purpose_code | Numeric (1) | Mandatory | Code of purpose of using the system account |
beneficiary_phone | Numeric (15) | Mandatory | Beneficiary Phone |
beneficiary_email | Alphanumeric (128) | Mandatory | Beneficiary Email |
trx_no | Numeric (12) | Mandatory | Transaction number (from merchant) |
trx_date | Datetime | Mandatory | datetime (YYYY-MM-DD H:i:s) |
instruct_date | Datetime | Mandatory | Instruct date is date for transaction |
trx_amount | Numeric | Mandatory | Total amount, ex : 50.000 -> 5000000. Amount must be multiple of IDR 50.000 |
trx_desc | Alphanumeric | Mandatory | Description, If the user input is more than 15 characters, it will be cut into 15 characters |
callback_url | Alphanumeric (255) | Optional | URL for callback / notification, used if the merchant wants the system to send notifications to the merchant |
trx_expired | Datetime | Optional | Transaction expired, -null : expired date within 24 hours (depending on the merchant) |
beneficiary_account_name | Alphanumeric | Mandatory | beneficiary account name |
Response Transfer
Parameter | Type | M/O/C | Description |
---|---|---|---|
virtual_account | Numeric (20) | Mandatory | VA merchant |
beneficiary_bank_code | Alphanumeric (3) | Mandatory | Beneficiary Bank Code |
beneficiary_region_code | Numeric (4) | Mandatory | Code of branch bank |
beneficiary_country_code | Alphanumeric (2) | Mandatory | Country Code |
beneficiary_purpose_code | Numeric (1) | Mandatory | Purpose Code |
beneficiary_phone | Numeric (15) | Mandatory | Beneficiary Phone |
beneficiary_email | Alphanumeric (128) | Mandatory | Beneficiary email |
trx_no | Numeric (12) | Mandatory | Transaction number (from merchant) |
trx_date | Datetime | Mandatory | datetime (YYYY-MM-DD H:i:s) |
instruct_date | Datetime | Mandatory | Response of instruct date has been sent |
trx_amount | Numeric | Mandatory | Total amount, ex : 50.000 -> 5000000. Amount must be multiple of IDR 50.000 |
trx_desc | Alphanumeric | Mandatory | Description |
callback_url | Alphanumeric (255) | Optional | URL for callback / notification, used if the merchant wants the system to send notifications to the merchant |
ktp_id | Numeric (16) | Optional | ID KTP |
place_of_birth | Alphanumeric (255) | Optional | Place of birth |
date_of_birth | Datetime | Optional | Date of birth |
gender | Alphanumeric (2) | Optional | Gender |
citizenship | Alphanumeric (3) | Optional | Citizenship |
occupation | Alphanumeric (255) | Optional | Occupation |
trx_expired | Datetime | Optional | Transaction expired, -null : expired date within 24 hours (depending on the merchant) |
address | Alphanumeric (255) | Mandatory | Address |
beneficiary_account_name | Alphanumeric | Mandatory | Beneficiary Account Name |
trx_id | Numeric | Mandatory | ID Transaction |
trx_reff | Alphanumeric | Mandatory | Refference of transaction number on system disbursement |
cashout_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 | Mandatory | Response description from bank |
Last updated