Praxis Wiki logo

Remove Customer Card {remove-customer-card-}


API call to remove customer card to provide an ability for merchants to remove a card without access to Praxis back office

Endpoints

Name URL
Sandbox https://pci-gw-test.praxispay.com/agent/remove-customer-card
Live https://gw.praxisgate.com/agent/remove-customer-card

Request Parameters

✓ - required value
? - optional, value or null
✕ - always appears as null

Variable Type Description
merchant_id varchar(50) Merchant API client account identifier
application_key varchar(32) Identifier of your application (website)
cid varchar(50) Unique customer id in your system
card_token varchar(32) Token of saved card
version varchar(3) API version
timestamp int(11) Request time (unix timestamp, seconds)

Response Parameters

Variable Type Description
status int API communication status - for transaction processing status please refer to transaction.transaction.status
- 0 if the request was successful
- Negative integer if internal server/network error occurs
- Positive integer if application/logical error occurs
description varchar(256) Accurate description of the result. Return the actual error for any exception as it helps to diagnose issues in production

Signature

The full signature generation algorithm can be found in the

Authentication section.

Request signature parameters

  1. merchant_id
  2. application_key
  3. timestamp
  4. cid
  5. card_token

Response signature parameters

  1. status
  2. timestamp

Example

Request

{
    "merchant_id": "Test-Integration-Merchant",
    "application_key": "Sandbox",
    "cid": "1",
    "card_token": "c64f61f9c529d0d20941de0c90cace86",
    "version": "1.3",
    "timestamp": 1645668000
}

Response (Success)

{
    "status": 0,
    "description": "Ok"
}