v4
latestOpenAPI 3.1.02026-08-08186985685.3 KBVenmo New Checkout
Initiates the checkout for Venmo payment with a new account
Path parameters
Headers
The session key generated for the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
- (Optional) If you are using Coinflow Chargeback Protection, you must pass the device id of the customer's device.
Request body
(Solana only) If a transaction involved in the purchase, should payment be checked for redemption
Only authorize the purchase. This will not actually capture the payment.(default: false)
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.
This is a token encoding the parameters for the request. Allows purchase parameters to be verified to prevent manipulation when the checkout page is presented to the user.
If utilizing USDC settlement to addresses other than your main merchant settlement address. Utilize this destinationAuthKey which is a JWT encoded with the information for which address to send the USDC to.
(Stellar only) Base64 XDR transaction string for executing a merchant contract call on a successful purchase.
For transaction purchases, pass the base64 XDR string created using .toXDR() on a transaction built with generated TypeScript bindings (e.g., NftClientWrapper.buildNftPurchaseTx).
For direct USDC transfers (no merchant transaction), omit this field or pass undefined.
Gas fees for the transaction will be automatically calculated and added to the total charged to the customer.
The URL to redirect the customer to after they approve the payment. If provided, cancelUrl must also be provided.
The URL to redirect the customer to if they cancel the payment. If provided, returnUrl must also be provided.
Sandbox Only. Will force the authorization of the payment to fail.
Sandbox Only. Will force the capture of the payment to fail.
Sandbox Only. Will force the refund of the payment to fail.
Required if for a new customer
Response
Ok
The ID of the payment that was created.
PayPal payer-action link for approving the order via redirect (used by mobile flows where the SDK session cannot run, e.g. in-app browsers). Only present when returnUrl/cancelUrl were provided.