3. Delete Card
Delete the Card within the Recurring Payment Membership Scope
Delete Card within Recurring Payment Scope
DELETE
{{Base Adres}}/api/paywall/recurring/card
For the deletion of a card to be processed, the recurring payment membership must be inactive or there must be another card under the relevant membership besides the one intended to be deleted. Otherwise, Paywall generates an error message.
apikeypublic
string
Yes
The Public Key obtained from the merchant panel.
apiclientpublic
string
Yes
The Public Client obtained from the merchant panel.
The parameters that need to be sent to the service are as follows:
Id
int
Yes
This is the Id information returned by the service that lists registered cards.
Sample to be sent for service JSON and example codes Sample to be sent for service
{
"Id": 1223428
}
The parameters returned from the service are as follows:
ErrorCode
int
Error code. If the transaction is successful, it returns a value of '0'.
Result
bool
It returns either true or false. If the transaction is successful, it returns 'true'.
Message
string
This is the message specified for the error if the transaction is unsuccessful.
Body
object
No details are returned.
{
"ErrorCode": 0,
"Result": true,
"Message": "",
"Body": null
}
Last updated