Add or edit a credit card

Deprecated Please run Add a payment method.

Adds a credit card Payment Method to your account and sets it as the default method.


OAuth scopes

account:read_write

Learn more...

Path Params
string
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Body Params

Update the credit card information associated with your Account.

string
required
length between 14 and 24

Your credit card number. No spaces or hyphens (-) allowed.

string
required
length between 3 and 4

CVV (Card Verification Value) of the credit card, typically found on the back of the card.

integer
required
1 to 12

A value from 1-12 representing the expiration month of your credit card.

  • 1 = January
  • 2 = February
  • 3 = March
  • Etc.
integer
required

A four-digit integer representing the expiration year of your credit card.

The combination of expiry_month and expiry_year must result in a month/year combination of the current month or in the future. An expiration date set in the past is invalid.

Responses

Response body
object

Language
Credentials