Cancel Transaction

Cancel transaction is a process to cancel a transaction which is already submitted to Faspay system

Transaction with status paid can't be canceled using this API

Endpoint URL Cancel Transaction

The endpoint URL is a feedback URL that will process the data in the inquiry from the merchant system. For the implementation of the testing, UAT can use URL development.

Request Parameter Cancel Transaction

Transaction cancel the request parameters are parameters that the merchant system must provide 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 that have been sent by the merchant system. If no parameters are 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