Triple API and Webhooks
Affiliate Links

(Triple ID) Generate an affiliate link

1min
POST
https://api.tripleup.dev/triple-id-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. This endpoint requires the use of a triple generated cardholder ID.

Body Parameters
body
*
card_account_id
*
offer_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