v1

latestOpenAPI 3.0.1raw.githubusercontent.com2021-08-0551835.4 KB
wallet

Adds a payment card to the user's wallet.

Adds a payment card to the user's wallet

post/wallet/admin/{userId}/paymentcards

Headers

X-Request-Idstring

Correlates HTTP requests between a client and server.

Request body

idstring required
panstring required

Must be sixteen digits, optionally in blocks of 4 separated by a dash

cvcstring required

Card Verification Code

startDatestring required

Must be in one of these four formats: MM/YY MMYY MMYYYY MM/YYYY

expiryDatestring required

Must be in one of these four formats: MM/YY MMYY MMYYYY MM/YYYY

nameOnCardstring required
creationDatestring date-time
aprnumber
cardtype'CREDIT' | 'DEBIT' | 'PREPAID'

Response

request to create payment card accepted

idstring

Example response

{
  "id": "a5b0fe7d-c4dd-40a7-bd80-dfc7869327e1"
}