Triple API and Webhooks
Affiliate Links

Generate an affiliate link

1min
POST
https://api.tripleup.dev/affiliate-link-api
triple Prod

Generate a link for an (online) affiliate Offer. The link is specific to a single Card Account (cardholder), in order to attribute the purchase to the correct account.

Body Parameters
body
*
card_account_external_id
*
card_program_external_id
*
offer_id
*
publisher_external_id
Responses
200
OK
Example
{"url":"https://example.com/affiliate-link-consumer?id=long-unique-id"}
url
400
Bad request
401
Unauthorized
404
Merchant not found
Example
{"message":"merchant_id AcmeWidgets does not exist."}
message
500
Internal server error