v1

latestOpenAPI 3.0.02026-07-2640301.0 MB
Credit Card Endpoints

credit-card

This endpoint retrieves a list of credit cards associated with your VoPay account

get/credit-card

Query parameters

AccountIDstring required

Your account ID

Keystring required

API key for the account

Signaturestring required

Hashed signature for the request

CreditCardTokenstring

When provided, this endpoint will only return the credit card associated with this token

ClientAccountIDstring

When provided, this endpoint will only return credit cards associated with this Client Account ID

ClientControlledboolean

When set to true, this endpoint will only return credit cards linked to your VoPay account. When set to false, it will return a list of your customer's credit cards.

Limit integer

Limit the number of records that are returned.

Offset integer

Use this parameter to set the starting point in the dataset.

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

Example response

{
  "Success": true,
  "CreditCards": {
    "0": {
      "CreditCardHolderName": "John Smith",
      "CreditCardNumber": "*****1234",
      "CreditCardExpiryYear": "2023",
      "CreditCardExpiryMonth": "12",
      "CreditCardBrand": "visa",
      "CreditCardToken": "ACBDF-GAFSHD-AHBS-123456",
      "IsDefault": true,
      "ClientAccountID": "ClientAccount1",
      "SendingEligibility": "1",
      "ReceivingEligibility": "1",
      "Type": "credit",
      "Brand": "mastercard",
      "FundsAvailability": "immediate",
      "InstitutionName": "bankcorp bank, the",
      "InstitutionCountry": "usa",
      "AccountStatementCurrency": "usd",
      "AcceptanceBrand": "mcc",
      "ProductType": "consumer"
    }
  },
  "Pagination": {
    "TotalRecords": "1000",
    "Offset": "1000",
    "Limit": "1000"
  }
}