A list of best practices for integrating.
name
, email
, address
and tax ID
, etc.
See Buyers for further details.
onBeforeTransaction
callback in Embed that can be used to set the externalIdentifier
or metadata right before a transaction is created. This will allow you to create a unique reference ID just-in-time before a transaction is created by Embed.
transactionCreated
event or onComplete
callback. Because browsers are an unreliable environment this message between Embed and your system could get lost for many reasons, and so listening to webhook updates is generally considered the only fully reliable option when dealing with transaction updates.Idempotency-Key
header is used to uniquely identify a transaction when retrying the same transaction after a network error or some kind of timeout. The second request will be matched using this key against the original request, and rather than creating a new transaction the original response is returned.
See Idempotent Requests for further details.
buyer
informationcart_items
shipping
informationconnection_options
(where applicable)payment_source
is_subsequent_payment
merchant_initiated