Skip to main content
POST
/
api
/
v1
/
tokenization
/
remove
Tokenization remove
curl --request POST \
  --url http://localhost:8080/cardcenter/api/v1/tokenization/remove \
  --header 'Content-Type: application/json' \
  --data '
{
  "merchantInfo": {
    "merchantId": "<string>",
    "subMerchantId": "<string>"
  },
  "tokenType": "<string>",
  "merchantUserId": "<string>",
  "tokenId": "<string>"
}
'
{
  "code": "<string>",
  "msg": "<string>",
  "msgParams": {},
  "data": "<unknown>",
  "success": true,
  "fail": true
}

Documentation Index

Fetch the complete documentation index at: https://waffo.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
merchantInfo
object
required

Merchant info.

tokenType
string
required

Types of requested tokenization: CARD.

Maximum string length: 32
merchantUserId
string

The merchant's userId must be unique for each user of merchants. Required when user intends to unbind all card tokens.

Maximum string length: 64
tokenId
string

The tokenization id of card info. The merchant needs to securely store this field, and subsequently, when initiating user payments or backend deductions, this token can be used to replace the user's card information for payment. Required when user intends to unbind a card token by tokenId.

Maximum string length: 64

Response

200 - */*

OK

Standard API response envelope.

code
string

Result code. "0" indicates success; any other value indicates failure.

msg
string

Human-readable message corresponding to the result code.

msgParams
object

Key-value parameters associated with the error message, used for templated errors.

data
any

Response payload. Empty when the request fails.

success
boolean
fail
boolean