Triple API and Webhooks
Card Accounts

Update a Card Account

1min
PATCH
https://api.tripleup.dev/partner/card-accounts/{cardholder_id}
triple Prod

(Alpha - this endpoint is subject to breaking change)

Enroll, un-enroll, or close a Card Account.

Card Accounts must be enrolled at the time of a transaction and not closed at the time of distribution in order to receive Rewards.

The date of enrollment defaults to the current date at UTC-12. The date of un-enrollment defaults to the current date at UTC+12. (This is to accommodate the possibility of a customer's current local date being different than the server's.)

A future API release will address the edge case of unenrolling and then re-enrolling an account within the same day.

Path Parameters
cardholder_id
*
Body Parameters
body
default_country_code
default_postal_code
status
Responses
200
Card Account
card_program_id
*
created_at
*
default_country_code
default_postal_code
external_id
*
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
*