ATM Permata Cash Out
Last updated
Last updated
Permata CashOut is one of the Faspay SendMe (disbursement) features that serve to conduct cash withdrawal transactions at Permata ATMs. The increasing number of money withdrawal options through Permata ATMs, could increase profit opportunities and expand market segmentation.
This service serves to create transactions from partner to Faspay. This service is used to process funds transfer from a partner account to a beneficiary.
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:
At transfer response, cashout_code
that has been received by partner is in chipertext format, so partner need to decrypting the code using openssl_public_decrypt
method to change the cashout_code
into plain text. To decrypting the cashout_code
into 10 digit plain text it can be done by the steps as follows:
Partner receive public key from Faspay
Decode the cashout_code
using base64_decode
method
Decrypting the cashout_code
using openssl_public_decrypt
method and public key that has been partner received before
Partner get 10 digit plain text of cashout_code
Sample Code Decrypting Cashout Code
Parameter | Data Type | Length | M/O/C | Description |
---|---|---|---|---|
Parameter | Data Type | Length | M/O/C | Description |
---|---|---|---|---|
virtual_account
Numeric
20
Mandatory
Virtual account number partner
beneficiary_bank_code
Alphanumeric
4
Mandatory
Beneficiary Bank Code
alf : Alfamart
Imr: Indomaret
C013: Permata CashOut
beneficiary_name
Alphanumeric
255
Mandatory
Beneficiary name
trx_no
Alphanumeric
255
Mandatory
Transaction number (from partner)
beneficiary_phone
Numeric
15
Mandatory
Beneficiary phone
trx_amount
Numeric
12
Mandatory
Total amount, ex : 100.000 - 150000000
Amount must be multiple of 100000.
callback_url
Alphanumeric
255
Mandatory
URL for callback/notification, used to notify the partner.
trx_desc
Alphanumeric
27
Mandatory
Description, If the user input is more than 27 characters, it will be cut into 27 characters
virtual_account
Numeric
20
Mandatory
Virtual Account Number Partner
beneficiary_bank_code
Alphanumeric
4
Mandatory
Beneficiary Bank Code
alf: Alfamart
imr: Indomaret
C013: Permata CashOut
beneficiary_phone
Numeric
15
Mandatory
Beneficiary phone
trx_no
Numeric
255
Mandatory
Transaction number (from partner)
trx_date
Datetime (yyyy-mm-dd)
Mandatory
Transaction date time
trx_expired
Datetime (yyyy-mm-dd)
Mandatory
Transaction expired,
- null : expired date within 24 hours (depending on the partner)
instruct_date
Datetime (yyyy-mm-dd)
Mandatory
Transfer instruction date
trx_amount
Numeric
12
Mandatory
Total amount, ex : 100.000 - 150000000
Amount must be multiple of 100000.
trx_desc
Alphanumeric
27
Optional
Description, If the user input is more than 27 characters, it will be cut into 27 characters
callback_url
Alphanumeric
255
Mandatory
URL for callback/notification, used to notify the partner.
beneficiary_account_name
Alphanumeric
255
Mandatory
Beneficiary account name
trx_id
Numeric
16
Mandatory
ID Transaction
trx_reff
Alphanumeric
255
Mandatory
Reference of transaction number on system disbursement
cashout_code
Alphanumeric
255
Mandatory
Cashout code for the beneficiary to claim. The code will be encrypted using a private key generated by Faspay. So, partner need to decrypt the code using public key also generated by Faspay, before display or send it to beneficiary.
status
Numeric
1
Mandatory
List Status Transaction :
1 = On Process,
2 = Success,
4 = Failed,
5 = Reverse
message
Alphanumeric
255
Mandatory
Message Description
response_code
Numeric
2
Mandatory
Response code from bank (00 = success)
response_desc
Alphanumeric
255
Mandatory
Response description from bank