PaymentAccounts

Create a card payment account

Changed on

Creates a new payment account for debit or credit cards.

post/v1/PaymentAccounts/paymentcard

Request

Request body

name_firststring required

First name of the card holder

name_laststring

Last name of the card holder

card_tokenstring

A token indicating card information as received from a payment gateway. Please note that the following gateways require a specific format: Stripe: "customer_id::card_id" Authorize.net: "customer_profile_id::payment_profile_id" TRX: "StorageSafe Guid::Account Guid"

last_4string

The last four digits of the credit card

expiration_monthinteger required

Expiration month of the card

expiration_yearinteger required

Expiration year of the card

brand'AMEX' | 'DISCOVER' | 'DINERS' | 'CC' | 'VISA' | 'MASTERCARD'

Indicates the brand of card recorded in this payment account.

customer_idinteger required

Foreign identifier indicating the customer account associated with this payment method

address_idinteger

Foreign identifier indicating the address associated with this payment method If no address is supplied, the billing address on the customer is used

Response

Created

okboolean
idinteger

Changes

    • breaking

      request body became required

    • breaking

      the request property's min was increased to 2026.00 (media type: application/json)

    • breaking

      the request property's min was increased to 2026.00 (media type: text/json)

    • breaking

      the request property's min was increased to 2026.00 (media type: text/html)

    • warning

      removed the request property (media type: application/json)

    • warning

      removed the request property (media type: text/json)

    • warning

      removed the request property (media type: text/html)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    • info

      added the new optional request property (media type: text/html)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    • info

      added the new optional request property (media type: text/html)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: text/json)

    • info

      added the new optional request property (media type: text/html)

    • info

      the request property became optional (media type: application/json)

    • info

      the request property became optional (media type: text/json)

    • info

      the request property became optional (media type: text/html)