PaymentAccounts

Replace a card payment account

Changed on

Updates an existing payment account for debit or credit cards.

put/v1/PaymentAccounts/paymentcard/{id}

Request

Path parameters

idinteger required

Payment Account ID

Request body

payment_account_idinteger

Primary identifier for this payment account.

name_firststring required

First name of the card holder

name_laststring

Last name of the card holder

expiration_monthinteger required

Expiration month of the card

expiration_yearinteger required

Expiration year of the card

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

OK

okboolean

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)

    • 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)