Create a Card Account
1 min
POST
https://api.sandbox.tripleup.dev/partner/card-accounts
bodyobject
201Card Account
400TripleBadRequestError
403TripleNotAuthenticatedError
404TripleInvalidPathError
409TripleIntegrityError
415TripleUnsupportedMediaType
422TripleUnprocessableEntity
500TripleInternalServerError
501TripleNotImplementedError
503TripleServiceUnavailable
curl --request POST \
--url https://api.sandbox.tripleup.dev/partner/card-accounts \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"card_program_external_id": {},
"external_id": {},
"publisher_external_id": {},
"status": "ENROLLED"
}'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.