v1

latestOpenAPI 3.0.02026-07-2640301.0 MB
Credit Card Endpoints

credit-card/set-my-credit-card

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

post/credit-card/set-my-credit-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

CreditCardTokenstring required

Credit Card token

IsDefaultboolean required

Is this the VoPay account holder's default credit card

Example response

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