4. Delete
You can delete the cards you have created.
Card - Delete
DELETE
{{Base Address}}/api/paywall/card/production/delete
Sending a request to the provided address above will be sufficient. You can use the 'Base Address' as you wish for both the test environment and the production environment
Important: In order to use the 'Card - Delete' service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' section.
The header information that needs to be sent to the service is as follows:
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 |
---|---|---|---|
CardId | int | Yes | The ID information of the card in the PayWall is returned at the time of creation. |
The response returned from the service is:
Parameter | Parameter | Explanation |
---|---|---|
Body | object | It returns null without providing details. |
ErrorCode | int | Error code. If the operation is successful, it returns the value '0'. |
Result | bool | It returns either true or false. If the operation is successful, it returns the value 'true'. |
Message | string | If the operation is erroneous, this message is provided for the specified error with language support according to the 'locale' parameter. |
Last updated