Triple API and Webhooks
Card Accounts

Upsert Card Accounts in Bulk (Beta)

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

This endpoint provides significant performance advantages, over POSTing and PATCHing single Card Accounts, when creating or updating large numbers of Card Accounts. The behavior of this endpoint is similar to that of those endpoints except for some minor differences in how errors are handled.

Card Accounts that are not found, as resolved by their external_id and card_program_external_id (and publisher_external_id when applicable), are created. Existing objects are updated as though they were PATCHed.

You should check the result_type of the response to handle errors for individual items. If the top-level request returns a Client Error response (response codes 400-499), no Card Accounts from the batch were created or updated.

This endpoint is currently rate limited at 50 requests per minute.

Body Parameters
body
action
*
card_accounts
*
Responses
200
Card Accounts Bulk Result
failures
result_summary
*
result_type
*
400
TripleBadRequestError
status_code
*
content
*
403
TripleNotAuthenticatedError
status_code
*
content
*
409
TripleIntegrityError
status_code
*
content
*
415
TripleUnsupportedMediaType
status_code
*
content
*
422
TripleUnprocessableEntity
status_code
*
content
*
429
TripleTooManyRequests
Description
An error response indicating that the request failed because it exceeded a rate limit for this operation, family of operations, or the platform.
status_code
*
content
*
500
TripleInternalServerError
status_code
*
content
*
501
TripleNotImplementedError
status_code
*
content
*
503
TripleServiceUnavailable
status_code
*
content
*
ļ»æ

ļ»æ