v1

latestOpenAPI 3.0.02026-07-2431146358.7 KB
Card Account

Delete Card Account

This API can be used to delete a card account by providing the mercid and cardaccountid or the mercid, customer_refid and cardaccountid.

post/tokenizer/ve1_2/token/delete

Headers

BD-Traceidstring required
Example:20201203182838

BD-TraceID is a unique identifier passed by the merchant to ensure request idempotency. Requests with identical BD-TraceID within a 24 hour window would fail.

BD-Timestampstring required
Example:20201203182838

Request timestamp to identify date and time of origin of request. Example, a value of BD-Timestamp 20210113180403 identifies the request to have originated on 13th January 2021 at 06:04:03 PM.

Content-Typestring required
Example:application/json

Request Content-Type to take the values application/jose

Acceptstring required
Example:application/jose

Accept Response Content-Type to take the values application/jose

Request body

mercidstring

Unique identifier as defined by BillDesk for each merchant

cardaccountidstring

Unique ID created by BillDesk for the combination of card number, mercid and customer_refid

Example request

{
  "mercid": "BDMERCID",
  "cardaccountid": "CA0AAEF9000000000123"
}

Response

OK

objectid'transaction' | 'authentication' | 'mandate' | 'invoice' | 'cardaccount' | 'validatevpa' | 'dispute' | 'settlement' | 'altid' | 'mandate_token' | 'accountvalidation'

String representing the object's type. Objects of the same type share the same value.

mercidstring

Unique identifier as defined by BillDesk for each merchant

cardaccountidstring

Unique ID created by BillDesk for the combination of card number, mercid and customer_refid

statusstring

Example response

{
  "mercid": "BDMERCID",
  "cardaccountid": "CA0AAEF9000000000123"
}