Skip to navigation

Venmo New Checkout

Initiates the checkout for Venmo payment with a new account

Authentication

x-coinflow-auth-session-keystring
OR
x-coinflow-auth-walletstring
x-coinflow-auth-blockchainstring
OR
x-coinflow-auth-user-idstring

Path parameters

merchantIdstringRequired

Headers

x-device-idstringOptional
  • (Optional) If you are using Coinflow Chargeback Protection, you must pass the device id of the customer’s device.
x-coinflow-client-ipstringOptional

Request

This endpoint expects an object.
subtotalobjectRequired
venmoobjectRequired
The email or phone number tied to the Venmo account
webhookInfoobjectOptional
chargebackProtectionDatalist of objectsOptional
Cart item details required for Coinflow Chargeback Protection. Required if the merchant uses chargeback protection.
customerInfoobjectOptional
settlementTypeenumOptional
Allowed values:
rentobjectOptional
transactionDataobjectOptional

(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.

authOnlybooleanOptional

Only authorize the purchase. This will not actually capture the payment.(default: false)

feePercentagedoubleOptional0-100

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.

fixedFeeobjectOptional
jwtTokenstringOptional
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.
threeDsChallengePreferenceenumOptional
Allowed values:
destinationAuthKeystringOptional
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.
customerUsdcTransferDataobjectOptional

Customer signed USDC transferWithAuthorization data for dual-source payments Used for combined USDC + Credit Card payments on EVM chains

customerUsdcTransferDataV2objectOptional

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.

userLocationobjectOptional

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.

customPayInFeeslist of objectsOptional
overrideChargebackProtectionDecisionbooleanOptional
doNotReviewChargebackProtectionbooleanOptional
chargebackProtectionAccountTypeenumOptional
Allowed values:
presentmentenumOptional
returnUrlstringOptional

Return URL passed to PayPal on the Venmo order. Does not produce an approvalLink. If provided, cancelUrl must also be provided. Must be one of your merchant account’s whitelisted URLs or a native-app deep link.

cancelUrlstringOptional

Cancel URL passed to PayPal on the Venmo order. Does not produce an approvalLink. If provided, returnUrl must also be provided. Must be one of your merchant account’s whitelisted URLs or a native-app deep link.

simulateAuthorizationFailurebooleanOptional
Sandbox Only. Will force the authorization of the payment to fail.
simulateCaptureFailurebooleanOptional
Sandbox Only. Will force the capture of the payment to fail.
simulateRefundFailurebooleanOptional
Sandbox Only. Will force the refund of the payment to fail.
vaultbooleanOptional

Request that Venmo vault the customer’s account on successful payment so later checkouts can charge it with one click. Requires vaulting to be enabled on your Coinflow account, and requires returnUrl and cancelUrl — PayPal rejects vaulting orders without redirect URLs.

emailstringOptional
Required if for a new customer

Response

Ok
paymentIdstring
The ID of the payment that was created.

Errors

412
Precondition Failed Error
423
Locked Error
451
Unavailable for Legal Reasons Error