Card
Add and remove cards to be used for Payments with Zapper.
Register Card
POST
https://api.zapper.com/v1/cards
Submit card information to be stored and receive a unique token to be used in future payments
Headers
Authorization
String
Bearer <Identity Token> The identity token received from the service account login
x-api-key
string
Authentication key
Request Body
cardNumber
string
Number on the front of the card.
holderName
string
Name on the card.
expiryMonth
number
Month that the card expires (1-12).
expiryYear
number
Year that the card expires (CCYY).
Request Example
Response
Field
Type
Description
token
string
Unique representation of the card.
cardMask
string
User friendly string for the card.
holderName
string
Card holder name.
expiryMonth
number
The month the card expires.
expiryYear
number
The year the card expires. Format: CCYY
brand
string
The card issuer brand. eg. Mastercard, Visa
Remove Card
DELETE
https://api.zapper.com/v1/cards/{token}
Remove the card matching the provided token. This action is irreversible.
Path Parameters
token
string
Token for the payment method to be removed.
Headers
Authorization
String
Bearer <Identity Token> The identity token received from the service account login
x-api-key
string
Authentication key
Last updated
Was this helpful?