VantPay API Documentation
API Docs
API Docs
  1. Cards
  • Authentication
    • Authenticate
      POST
  • Virtual Account
    • Create static virtual account
      POST
    • Create dynamic virtual account
      POST
    • List static virtual accounts
      GET
    • List dynamic virtual accounts
      GET
    • Get account balance
      GET
  • Inward Transfers
    • Inward transaction query (TSQ)
      GET
    • List inward transactions
      GET
    • Collection notifications
      GET
  • Transactions
    • List transactions
      GET
  • Wallet
    • Get wallet balance
      GET
    • Account history
      GET
  • Customer Wallets
    • Withdraw to a bank account
      POST
    • Transfer between wallets
      POST
    • List customer wallets
      GET
    • List wallet transactions
      GET
    • Get customer wallet balance
      GET
  • Cards
    • Register a customer
      POST
    • Store a card
      POST
    • List a customer’s cards
      GET
    • Look up a card
      POST
    • Search cards
      GET
    • Remove a card
      DELETE
    • Charge a stored card
      POST
    • List charges
      GET
    • Submit the OTP
      POST
    • Resend the OTP
      POST
  • Checkout
    • Initiate checkout
    • Query access code
    • Create checkout account
    • Complete checkout
    • Initiate card payment
    • Verify card OTP
    • Resend card OTP
    • Card payment status
    • Initiate USSD payment
    • Complete USSD payment
  • Payouts
    • List banks
    • Name enquiry
    • Initiate a payout
    • Payout status
    • List payouts
  • Webhooks
    • Set notification URL
    • Collection notification
  • Schemas
    • AuthData
    • ApiResponseEnvelope
    • Envelope
    • ErrorEnvelope
    • StaticAccountData
    • AuthenticateResponse
    • CollectionNotification
    • DynamicAccountData
    • VirtualAccountStatic
    • StaticAccountListItem
    • Transaction
    • CreateStaticVirtualAccountResponse
    • VirtualAccountDynamic
    • PagedStaticAccounts
    • CreateDynamicVirtualAccountResponse
    • PagedTransactions
    • WalletBalanceData
    • VirtualAccountListItem
    • PagedVirtualAccountList
    • ListStaticVirtualAccountsResponse
    • PagedTransactionList
    • ListTransactionsResponse
    • WalletBalance
    • WalletBalanceResponse
    • SetNotificationUrlResponse
    • WebhookCollectionPayload
  1. Cards

Remove a card

DELETE
/api/v1/cards/{cardToken}
Soft removes the card (status: Removed). It can no longer be charged and its history is kept. Safe to repeat. An unknown token returns 404 code 66.
Auth: Bearer token

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Responses

🟢200
application/json
Success
Bodyapplication/json

🟠404
🟠400BusinessError
🟠401Unauthorized
🟠403Forbidden
🟠429TooManyRequests
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://merchantapi-dev.vantpay.io/api/v1/cards/' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "isSuccessful": true,
    "code": "00",
    "message": "Operation successful",
    "data": {
        "cardToken": "3f9a1c2e7b4d4e8f9a0b1c2d3e4f5a6b",
        "customerId": "CUSdaa52de",
        "maskedPan": "539983******1238",
        "bin": "539983",
        "last4": "1238",
        "brand": "Mastercard",
        "expiryMonth": 12,
        "expiryYear": 2029,
        "cardholderName": "Jane Doe",
        "status": "Removed",
        "createdAt": "2026-11-08T10:15:42",
        "lastUsedAt": null,
        "tokenized": false,
        "tokenizedAt": null,
        "created": false
    }
}
Modified at 2026-11-22 22:38:52
Previous
Search cards
Next
Charge a stored card
Built with