Skip to main content
Vindicia Knowledge Center

Credit Cards

Credit Cards

Credit Cards includes credit and charge cards, debit cards, and prepaid cards. Which card brands and types are supported will vary based upon a merchant’s payment processor - CashBox has no restrictions on card types. The CreditCard object is associated to (and presented with) the PaymentMethod object on an owning Account, Subscription, Transaction, or Refund.

  • cURL
  • Java
Setting the API Base
{
"object" : "PaymentMethod",
"id" : "pm_1234",
"vid" : "ad427a35c0335f61ee639c6b614eca1c89337eac",
"active" : true,
"description" : "Personal Visa",
"currency" : "EUR",
"primary" : true,
"type" : "credit_card",
"credit_card" : {
"account" : "4111111111111111",
"expiration_date" : "201601",
"cvn" : "123"
},
"metadata" : {
"favorite activity" : "flying kites",
"favorite dog" : "Snoopy"
},
"url" : "/payment_methods/pm_1234"
}
{
"object" : "PaymentMethod",
"id" : "pm_1234",
"vid" : "ad427a35c0335f61ee639c6b614eca1c89337eac",
"active" : true,
"description" : "Personal Visa",
"currency" : "EUR",
"primary" : true,
"type" : "credit_card",
"credit_card" : {
"account" : "4111111111111111",
"expiration_date" : "201601",
"cvn" : "123"
},
"metadata" : {
"favorite activity" : "flying kites",
"favorite dog" : "Snoopy"
},
"url" : "/payment_methods/pm_1234"
}

For Users

Learn More
For Users

Cashbox Features

Learn More
Cashbox Features
Back to Top