Create a Card Program
1 min
POST
https://api.sandbox.tripleup.dev/partner/card-programs
bodyobject
201Card Program
400TripleBadRequestError
403TripleNotAuthenticatedError
404TripleInvalidPathError
409TripleIntegrityError
415TripleUnsupportedMediaType
422TripleUnprocessableEntity
500TripleInternalServerError
501TripleNotImplementedError
503TripleServiceUnavailable
curl --request POST \
--url https://api.sandbox.tripleup.dev/partner/card-programs \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"default_country_code": {},
"default_postal_code": "15206",
"external_id": {},
"name": "",
"program_currency": "USD",
"publisher_external_id": {}
}'Creates a card program.
default_country_code may be set to the country associated with the card program. It defaults to US if it is not specified.
default_postal_code must be set to a postal code associated with the card program (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.