6. Provision Cancel
Provision Cancel
POST
{{Base Address}}/api/paywall/payment/provision/cancel
You just need to make a request to the address provided above. You can use the 'Base Address' as you like for both the Test environment and the Production environment.
apikeypublic
string
Yes
The Public Key you obtained from the merchant panel.
apiclientpublic
string
Yes
The Public Client you obtained from the merchant panel.
The parameters that need to be sent to the service are as follows:
MerchantUniqueCode
string
Yes
It must be the same value as the MerchantUniqueCode sent in the request to initiate the payment. This code is the unique value provided by you for the transaction. It is used to uniquely identify and track a payment for all Cancel/Refund/Payment Inquiry operations.
Date
date
Yes
The date information when the payment was made
{
"Date": "2024-06-13",
"MerchantUniqueCode": "aaa"
}
The response returned from the service:
ErrorCode
int
This indicates the result of the operation. It returns '0' if successful, otherwise '1'.
Result
string
It returns 'true' if the operation is successful, otherwise 'false'.
Message
string
It reports the result message of the operation.
Sample Code:
{
"ErrorCode": 0,
"Result": true,
"Message": "",
"Body": ""
}
Last updated