v7

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-06-23254073.9 KB
Affiliate Programs

Record affiliate transaction

Records a sale made by a referred customer and generates affiliate commissions for their referrer when applicable.

post/campaign/{id}/participant/{participantIdOrEmail}/transaction

Path parameters

idstring required

GrowSurf program ID.

participantIdOrEmailstring required

GrowSurf participant ID or URL-encoded participant email address.

Request body

currencystring required
grossAmountinteger required
netAmountinteger
taxAmountinteger
amountCashNetinteger
amountPaidinteger
paidAtinteger
externalIdstring
transactionIdstring
customerIdstring
orderIdstring
paymentIdstring
invoiceIdstring
subscriptionIdstring
paymentIntentIdstring
chargeIdstring
descriptionstring
invoiceTotalinteger
invoiceTotalExcludingTaxinteger
invoiceSubtotalExcludingTaxinteger
totalTaxAmountinteger
totalTaxAmountsobject[]
totalTaxesobject[]

Response

Transaction result returned.

OR