v1

latestOpenAPI 3.0.12026-07-2412502.6 MB
Customers

Create customer card

Add new customer card. When a new card is added, Vrio will attempt an authorization on merchants for pending transactions to tokenize the card for recurring transactions.

post/customers/{customer_id}/cards

Request body

card_type_idinteger required

Required when passing payment method ID = 1 and when not passing a customer card ID.

  • 1 - Mastercard
  • 2 - Visa
  • 3 - Discover
  • 4 - American Express
  • 5 - Digital Wallet
  • 6 - ACH
card_numberstring required

Full Card Number.

card_exp_monthinteger required

Card Expiration month (08).

card_exp_yearinteger required

Card Expiration year (2018).

card_cvvstring required

Card Security Card.

make_defaultboolean

Pass as true to card the address on recurring and pending orders.

ordersinteger[]

Pass an array of order ids to update.

customers_address_billing_idinteger

Pass a billing address to associate with that card.

Response

OK

customer_card_idinteger
card_type_idnull | 1 | 2 | 3 | 4 | 5 | 6 | 7 nullable
  • 1 - Mastercard
  • 2 - Visa
  • 3 - Discover
  • 4 - American Express
  • 5 - Digital Wallet
  • 6 - ACH
  • 7 - SEPA
card_numberstring
card_exp_monthinteger
card_exp_yearinteger
card_prepaidboolean
date_createdstring date-time
date_modifiedstring date-time
created_byinteger
modified_byinteger

Example response

{
  "date_created": "2023-04-01 00:00:00",
  "date_modified": "2023-04-01 00:00:00"
}