Configure Venmo via Braintree as a payment method in Gr4vy.
Braintree is a payment platform from PayPal that provides comprehensive payment processing solutions across multiple payment methods and regions.Venmo is a digital wallet and payments app owned by PayPal that allows buyers to send and receive money from other Venmo users and make purchases at online retailers. Venmo is primarily available in the United States and offers a convenient way for US customers to complete transactions.
Venmo is only available to United States Braintree accounts.
Follow the Braintree setup instructions before configuring Venmo payments.After setting up your Braintree account, make sure Venmo is enabled as a payment method in your merchant account settings.Tokenization key: set up a Braintree Tokenization Key in the Braintree Admin Portal under Settings -> API -> Keys.Ingest billing and shipping details: by default, billing and shipping details received from Braintree are not imported. To enable this feature, head over to Connections -> Configured and select your Venmo connector. Next, go to Credentials and toggle Import billing details and/or Import shipping details.When Import billing details is enabled, any of the user’s name, email address, and billing address is automatically imported into your transaction, merging it with any data already present on the transaction. Linked buyers are not updated, but only the snapshot of the buyer on the transaction.When Import shipping details is enabled, the user’s shipping address is automatically requested and imported into your transaction, merging it with any data already present on the transaction. Linked buyers are not updated, but only the snapshot of the buyer on the transaction.Please note that the ingestion of billing and shipping details is not available for tokenized payments.
For Venmo, the default integration for Braintree is through a redirect to a hosted payments page.Start by creating a new transaction with the following required fields.
Copy
Ask AI
var transaction = await client.Transactions.CreateAsync( transactionCreate: new TransactionCreate() { Amount = 1299, Currency = "USD", Country = "US", PaymentMethod = TransactionCreatePaymentMethod.CreateCheckoutSessionWithUrlPaymentMethodCreate( new RedirectPaymentMethodCreate() { Method = "venmo", RedirectUrl = "https://example.com/callback", } ), });
After the transaction is created, the API response includes payment_method.approval_url and the buyer_approval_pending status.
Redirect the buyer to the approval_url (open in a browser or Webview) so they can complete authentication and approve the payment. After approval the buyer is redirected to the redirect_url you provided when creating the transaction. Do not rely solely on the redirect - either poll the transaction or (recommended) rely on webhooks to detect the final status (for example capture_succeeded or failure states).