Delete saved Card

This operation will delete the saved card by useing the TOKEN which is saved in the caller application database and generated by Payfull before.

Request parameters
merchant: required
merchant name which you created in your Payfull account.

type: required
Transaction type should be Set.

set_param: required
The name of parameter you like to save, so it should be Card.

card_op: required
There are two operations add/delete but in here it should bedelete.

user_email: required
The card holder must be a user in payfull, so this parameter is his username [email] inside payfull.

card_token: required
The card TOKEN

language: required
Response message language can be en / tr

client_ip: required
The client IP who uses the application which sends the request to the API.

hash: required
Generated hash code on the caller side

To generate the hash code please follow the steps below:
  • - Arrange the parameters alphabetically from A to Z
  • - Create a parameters string which has the length for each parameters with its value side by side
  • - Create the sha256 hash code from the parameters string and pass the merchant password as Shared secret key
  • - Add the hash code to the request parameters

Sample request

merchant: merchant name
type: Set
set_param: Card
card_op: delete
language: tr
hash: 14339MjuG01015018

Sample Response


PHP Example