Cancel Billing

The API Cancel service functions to cancel bills that have been sent with an unpaid status.

Method : POST

Format : JSON

Request Cancel Billing

Request parameters are parameters that must be provided by the system merchant to be integrated with the Faspay system.

Parameter
Data Type
M/O/C
Description

service_id

Numeric

M

Unique code registered on the Faspay Billing service

billing_id

Numeric

M

Billing number generated by Faspay

transaction_number

Numeric

M

Merchant invoice number

signature

Alphanumeric

M

Merchant’s Signature

SHA1(MD5(username merchant + password merchant+transaction_number))

Response Cancel Billing

The following is the response parameter that will be given by the Faspay system to the merchant system.

Parameter
Type
Description

billing_id

Numeric

Billing number generated by Faspay

transaction_number

Numeric

Merchant invoice number

billing_total

Numeric

Billing total

billing_due_date

Datetime (YYYY-MM-DD hh:mm:ss)

Bill due date

Default: 24 hours from the date the invoice was created

billing_url

Alphanumeric

Bill payment link

billing_status

Alphanumeric

Billing status (UNPAID, PAID, EXPIRED, CANCELLED)

response_code

Numeric

Response Code

00: Success

01 : Failed

response_message

Alphanumeric

Message from the response code

Last updated