Ecommerce
Delete card tokens
Allows you to delete card or terminal tokens from the card vault.
<!-- theme: info --><!-- theme: warning -->📘 Note
Cards registered with the account updater service may take up to 72 hours to be removed.
<div style="display:none;">⚠️ Try It
To use the Try It feature for this endpoint, you can use the credentials for your Sandbox API user.<br/><br/>You can also use the following test account. Copy the value and paste it into the appropriate space in the Try It section to the right. username: docs@nexiopay.com password: JZdzoXpdDeH6VA<br/><br/>Include an array of one or more existing card or terminal tokens in the body of the request.
Request parameters
- tokens
Response parameters
- key
- message
- status
- error
- error.0
- error.0.message
- error.0.tableName
- error.1
- error.1.message
- error.1.cardError
post/pay/v3/deleteToken
Request body
Example request
{
"tokens": [
"p6711abg-41fd-m56a-81a1-t0k3n287799b"
]
}Response
Success
Example response
[
{
"key": "p6711abg-41fd-m56a-81a1-t0k3n287799b",
"message": "Successfully removed from vault",
"error": {
"0": {
"message": "item not found",
"tableName": "[table_info]"
},
"1": {
"message": "Saved Card Token not found key: [token]"
}
},
"status": "success"
}
]