Cancel Transaction
Cancel transaction is a process to cancel transaction which is already submit to Faspay system
Transaction with status paid can't be cancel using this API
Endpoint URL Cancel Transaction
Endpoint URL is used as a feedback URL that will process the data in the inquiry from the merchant system. There are two URLs that needs to be used, namely Production and Development. For the implementation of the testing or UAT can use the URL development.
Environment | URL |
---|---|
Production | |
Development |
Request Parameter Cancel Transaction
Transaction cancel the request parameters are parameters that must be provided by the merchant system to be able to cancel the transaction into the system inquiry Faspay.
Parameter | Data Type | M/O/C | Description |
---|---|---|---|
request | Alphanumeric (50) | O | Request Description |
trx_id | Numeric (16) | M | Transaction ID (Issued/generated by Faspay (Media Indonusa)) Notes: Unique Transaction ID for 1 day or as long as it hasn't been paid and hasn't expired |
merchant_id | Numeric (5) | M | Merchant Code |
merchant | Alphanumeric (32) | O | Merchant Name |
bill_no | Alphanumeric (32) | M | Order Number |
payment_cancel | Alphanumeric (50) | M | Cancellation Description |
signature | Alphanumeric | M | sha1(md5(user_id+ password+bill_no)) |
Response Parameter Cancel Transaction
Response parameters are parameters that will be delivered by the system Faspay in response to the request parameters have been sent by the merchant system. If no parameters are not appropriate / value is incorrect, the transaction will be rejected in the system Faspay.
Parameter | Data Type | M/O/C | Description |
---|---|---|---|
response | Alphanumeric (50) | O | Request Description |
trx_id | Numeric (16) | M | Transaction ID (Issued/generated by Faspay (Media Indonusa)) Notes: Unique Transaction ID for 1 day or as long as it hasn't been paid and hasn't expired |
merchant_id | Numeric (5) | M | Merchant Code |
merchant | Alphanumeric (32) | O | Merchant Name |
bill_no | Alphanumeric (32) | M | Order Number |
trx_status_code | Numeric | M | Transaction Status |
trx_status_desc | Alphanumeric (32) | M | Transaction Status Description |
payment_status_code | Numeric (1) | M | Payment status code |
payment_status_desc | Alphanumeric (32) | M | Payment Status Description |
payment_cancel_msg | Alphanumeric (50) | M | Payment Cancel Reason's Message |
payment_cancel_date | Datetime | M | Payment Cancel Date |
response_code | Alphanumeric (2) | M | Response Code 00 Success |
response_desc | Alphanumeric (32) | M | Response Description |
Last updated