Remove Saved Card
Remove a stored card token so it can no longer be used for Server-to-Server charges.
Get cardToken from Get Saved Card Tokens before calling this endpoint.
Endpoint Information
Name: Remove Saved Card
Method: POST
URL: {{base_url}}/api/v1/customer-saved-card/remove
Authentication
Type: Basic Auth
- Username: App Key
- Password: Secret Key
Request Body
Content-Type: application/json
{
"cardToken": "{{cardToken}}",
"email": "{{customerEmail}}",
"merchantAccountId": "{{merchantAccountId}}"
}
Key Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cardToken | string | Yes | Saved card token to delete |
email | string | Yes | Customer email associated with the saved card |
merchantAccountId | string | Yes | Your merchant account ID |
Response
Success Response
{
"success": true,
"message": "Success",
"data": []
}
Response Fields
| Field | Type | Description |
|---|---|---|
success | boolean | true when the card was removed |
message | string | Status message |
data | array | Empty on success |