3. Delete Card
It is recommended to perform the process of deleting a registered card only through your servers (Back-End). Direct access from your applications (End Users) is not recommended.
Delete Registered Card
DELETE
{{Base Adres}}/paywall/card
The parameters (HEADERS) that need to be sent to the service are as follows:
apikeyprivate
string
Yes
The Private Key obtained from the merchant panel.
apiclientprivate
string
Yes
Üye işyeri panelinden temin etmiş olduğunuz Private Client.
The parameters (BODY) that need to be sent to the service are as follows:
PartnerBased
bool
Hayır
This applies to cards registered under the partnership
PartnerIdentity
string
Yes/No
This is valid for cards registered under the partnership
RelationalId1
string
Yes
The unique information associated with the card.
RelationalId2
string
No
The second unique information associated with the card.
RelationalId3
string
No
The third unique information associated with the card.
UniqueCode
string
Yes
The unique information (identifier) of the stored card.
{
"PartnerBased": false,
"PartnerIdentity": "",
"RelationalId1": "1000923",
"RelationalId2": "",
"RelationalId3": "",
"UniqueCode": "921245xQN85D0+Zuf7oAJv5@@@@@G86eN7RA4cX8L4hHo7Ma3hg7AW7Bq232yPyw2iVPkrt1qEw=="
}
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
If the transaction is unsuccessful, this is the message specified for the error, providing language support based on the 'locale' parameter.
Body
object
If the transaction is unsuccessful, this is the detail object for the error.
{
"ErrorCode": 0,
"Result": true,
"Message": "",
"Body": null
}
Last updated