client_reference_id
A single opaque string of up to 200 characters, such as your order id or customer id. Append it to the checkout link URL:
data.client_reference_id and on the payments endpoints as clientReferenceId. To find the payments for one reference, filter on it: GET /creators/{creatorUserUuid}/checkout-links/payments?clientReferenceId=your-crm-id-123 returns the payments carrying that exact value.
metadata
A flat string-to-string map for richer attribution, such as an affiliate id plus a campaign. Pass each entry as a metadata[<key>] query parameter:
data.metadata and on the payments endpoints as metadata:
metadata to a flat string-to-string map when it captures it:
Non-string or out-of-range entries are dropped. If nothing valid remains,
metadata is {}.
Amounts on an attributed payment
To match a payment against your order value, usetotal on the checkout_link.payment.* event. It’s what the fan was charged, and tax is the tax inside it. On a tax-inclusive link gross is the pre-tax base, so it won’t match. Field definitions are in Checkout link payment events.