Skip to main content

Remove Customer Token

Remove a customer's stored payment token.

Endpoint Information

Name: Remove Customer Token
Method: POST
URL: {{BASE_URL}}/api/v1/remove-customer

Description

Permanently delete a customer's stored payment token. This prevents future recurring payments or one-click checkouts using that token.

Authentication

Type: Basic Auth

  • Username: App Key
  • Password: Secret Key

Request Body

Content-Type: application/json

{
"email": "[email protected]",
"merchantAccountId": "{{your_account_no}}"
}

Parameters

ParameterTypeRequiredDescription
emailstringYesEmail address of the customer to remove
merchantAccountIdstringYesYour merchant account ID

Response

Success Response

{
"success": true,
"message": "Success",
"data": [
"Success"
]
}

Usage

Use this when a customer requests to delete their account or remove their saved payment method.