Skip to main content
Use the account cards endpoints to create and retrieve credit cards that can access the credit line on a credit account. Once a credit card is created, you can use the /cards endpoint to update the card or manage lost, stolen, or damaged cards. To receive webhook notifications when card transition or card action events occur, see Card transition events and Card action events in Event Types.

Create account card

Action: POST
Endpoint: /credit/accounts/{account_token}/cards
Create a credit card for an existing credit account.
Note
You can ship cards to an address different from the user address. After creating a card, send a PUT request to the /cards endpoint with the new address in the fulfillment.shipping object. For more, see Update card.

URL path parameters

Request body

Expected request body to create a credit card for an existing credit account. Refer to Create card for the complete list of fields.

Sample request body

JSON

Response body

Sample response body

JSON

List account cards

Action: GET
Endpoint: /credit/accounts/{account_token}/cards
Retrieve an array of cards for a credit account. This endpoint supports sorting and pagination.

URL path parameters

URL query parameters

Response body

Sample response body

JSON

Retrieve account card

Action: GET
Endpoint: /credit/accounts/{account_token}/cards/{card_token}
Retrieve a credit card for a credit account.

URL path parameters

Response body

Sample response body

JSON