Update a Card Account
PATCH/partner/card-accounts/:cardholder_id
(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.
Request
Responses
- 200
- 400
- 403
- 404
- 409
- 415
- 422
- 500
- 501
- 503
Card Account
TripleBadRequestError
TripleNotAuthenticatedError
TripleInvalidPathError
TripleIntegrityError
TripleUnsupportedMediaType
TripleUnprocessableEntity
TripleInternalServerError
TripleNotImplementedError
TripleServiceUnavailable