PUT v1/Payment/AddCard

Adds a credit or debit card to the customers account

Request Information

Parameters (ParameterName * = required)

Name
Description
Sample Value
AccountNumberFirstSix *
Issuer identification number for the card
123456
AccountNumberLastFour *
The last four digits of the card number returned by payment gateway
1234
AccountExpirationMonth *
Card expiration month
02
AccountExpirationYear *
Card expiration year
2016
ExternalReferenceNumber *
SubscriptionId returned by payment gateway
421020
ExternalRequestId *
TransactionId returned by the payment gateway
421020
IsCvnRequired
Flag that indicates if cvn is required for the card
true
PaymentProcessor
Indicates the card processor for this tokenized card
CyberSource
AddCardPreAuthorizationAmount *
The pre authorization amount to get a token from payment gateway.
121.87
CardBrand *
Card type
Visa
FirstName *
First Name
Not available
BillingAddress *
Billing address
1503 Ria St.
BillingCity *
Billing city
Tijuana
BillingState *
Billing state
Baja California
BillingPostalCode
Billing postal code
80201
BillingCountry
Billing country
MX
AccountAlias
A short description of what this account is according to the customer.
Credit union checking account I opened in 2012

Response Information

Response body formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>