Triple API and Webhooks
Card Accounts

Create a Card Account

1min
POST
https://api.tripleup.dev/partner/card-accounts
triple Prod

Creates a card account.

default_country_code may be set to the country associated with the card account. It defaults to US if it is not specified.

default_postal_code may be set to a postal code associated with the card account (e.g. domicile, other). The actual value is left to the discretion of the caller.

NB: The default_postal_code will be used in lieu of proximity_target if one is not specified during a CardAccount instance request for associated offers. If default_postal_code is not set for the card account, the CardProgram default_postal_code for the program will be used instead.

Body Parameters
body
card_program_external_id
*
All Of
ExternalId +
default_country_code
default_postal_code
external_id
*
All Of
ExternalId +
publisher_external_id
All Of
ExternalId +
status
Responses
201
Card Account
card_program_id
*
created_at
*
default_country_code
default_postal_code
external_id
*
All Of
ExternalId +
id
*
status
*
updated_at
*
400
TripleBadRequestError
status_code
*
content
*
403
TripleNotAuthenticatedError
status_code
*
content
*
404
TripleInvalidPathError
status_code
*
content
*
409
TripleIntegrityError
status_code
*
content
*
415
TripleUnsupportedMediaType
status_code
*
content
*
422
TripleUnprocessableEntity
status_code
*
content
*
500
TripleInternalServerError
status_code
*
content
*
501
TripleNotImplementedError
status_code
*
content
*
503
TripleServiceUnavailable
status_code
*
content
*