9. Cancellation
Cancellation Service
Cancellation
POST
{{Private Base Address}}/api/paywall/private/cancel
Yukarıda verilmiş olan adrese istek atmanız yeterli olacaktır. Test ortamı ve Gerçek ortam için 'Base Address' istediğiniz gibi kullanabilirsiniz.
Important: To use the cancellation service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' section.
PaymentAPI Address
Parameter | Type | Mandatory | Description |
---|---|---|---|
apikeyprivate | string | Yes | The Private Key obtained from the merchant panel. |
apiclientprivate | string | Yes | The Private Client obtained from the merchant panel. |
The parameters that need to be sent to the service are as follows:
Parameter | Type | Mandatory | Description |
---|---|---|---|
MerchantUniqueCode | string | Yes | The MerchantUniqueCode in the request sent to initiate the payment must have the same value. This code is a unique value provided by your side for each transaction. It is used to uniquely identify and track a payment in all Cancel/Refund/Payment Inquiry operations. |
Date | date | Yes | Transaction date |
Response from the service:
Parameter | Type | Description |
---|---|---|
ErrorCode | int | Error code. If the operation is successful, it returns a value of '0'. |
Result | bool | It returns a true or false value. If the operation is successful, it returns 'true'. |
Message | string | If the operation is in error, this is the specified message, providing language support based on the locale parameter. |
Last updated