APA Checkout
Authentication
The session key generated for the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
The web3 wallet of the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
The blockchain associated with the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
The external identifier of the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
The API key of the merchant - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
Path parameters
Request
Lowercased email or E.164-formatted phone number, matching credentialType.
End-user geographic coordinates captured at the moment of the withdrawal
request. Consumed by BlockingRuleMethod.GEOLOCATION enforcement.
Replay-of-different-coords bypass is prevented server-side: the first resolved {country, state} for a given (merchant, user) pair is pinned in Redis, and subsequent requests are evaluated against that pinned value regardless of the lat/lng they submit.
If this purchase is for a seller/submerchant where the marketplace takes a fee, this is the % fee which is taken from the subtotal amount.
V2 of CustomerUsdcTransferData — replaces the (v, r, s) triple with a single
signature bytes string, matching USDC FiatTokenV2_2’s bytes-overload
transferWithAuthorization. All other fields unchanged from V1.
(EVM only) if you want to execute an EVM transaction on a successful purchase, you can pass a transaction request here.
Gas fees for the transaction will be automatically calculated and added to the total charged to the customer. Optionally the merchant can opt to pay for these gas fees.
Email for new customers paying with a phone APA credential. Not needed when credentialType is EMAIL (credentialValue is used as the email).

