Debit Card Endpoints

debit-card/set-debit-card

This endpoint allows you to identify a debit card as belonging to the VoPay account holder. Optionally, you can use this endpoint to identify a debit card as being the VoPay account holder's default debit card. Note, a VoPay account can only have one default debit card.

post/debit-card/set-debit-card

Request

  • Base URL
    https://earthnode-dev.vopay.com/api/v2
  • URL
    https://earthnode-dev.vopay.com/api/v2/debit-card/set-debit-card
  • Auth
    none declared

Request body application/x-www-form-urlencoded

AccountIDstring required

Your account ID

Keystring required

API key for the account

Signaturestring required

Hashed signature for the request

CardTokenstring required

Debit card token

ClientAccountIDstring

Client Account ID

SetAsDefaultboolean

Identify card as default debit card

Response

Successboolean required

True if the request was successful, false if it failed

ErrorMessagestring required

Contains a description of the error if the request failed

CardTokenstring required

Debit card token

IsDefaultboolean required

Is this the VoPay account holder's default debit card

Example response

{
  "Success": true,
  "CardToken": "ACBDF-GAFSHD-AHBS-123456",
  "IsDefault": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.