2. Deactivate

You can deactivate your cards that you have created.

Card - Deactivate

PUT {{Base Address}}/api/paywall/card/production/disable

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: To use the Card Deactivation service, you need to send the 'apikeyprivate' and 'apiclientprivate' parameters in the 'Header' field. PaymentAPI Address

The header information that needs to be sent to the service is as follows:

ParameterTypeMandatoryDescription

apikeyprivate

string

Yes

Private Key obtained from the merchant panel.

apiclientprivate

string

Yes

Private Client obtained from the merchant panel.

The parameters that need to be sent to the service are as follows:

ParameterTypeMandatoryDescription

CardId

int

Yes

The Id information of the card in the PayWall. It is returned at the time of creation.

{
    "CardId": 12
}

The response returned from the service:

ParameterTypeDescription

Body

object

It returns null. It does not provide details.

ErrorCode

int

Error code. It returns '0' if the operation is successful.

Result

bool

It returns a true or false value. If the operation is successful, it returns 'true'.

Message

string

If the operation is unsuccessful, this is the specified error message, providing language support based on the 'locale' parameter.

{
    "ErrorCode": 0,
    "Result": true,
    "Message": "",
    "Body": null
}

Last updated