Skip to main content
Braintree is a payment platform from PayPal that provides comprehensive card processing solutions. The platform supports card payments with advanced features like delayed capture, partial refunds, and digital wallet integration across multiple currencies and countries.

Setup

Please follow the common Braintree instructions to get set up with Braintree. After you set up your Braintree account, configure the following settings in your merchant account so you can use all features:
  • Enable 3D Secure (if required by your region or card type)
  • Configure payment method preferences
  • Set up webhook endpoints for transaction notifications

Features

Braintree supports the following features:
  • Delayed capture - Authorize a payment and capture it at a later time
  • Partial capture - Capture a portion of the authorized amount
  • Refunds - Refund transactions in full or in part
  • Void - Cancel an authorized transaction before capture
  • Zero auth - Verify a card without charging it
  • Digital wallets - Support for Apple Pay and other digital wallet integrations
  • Network tokens - Using network-level tokenization for enhanced security and approval rates
  • 3-D Secure - Support for 3DS authentication
  • Settlement reporting - Detailed settlement and reporting capabilities

Limitations

The following features are not supported by this connector:
  • Over-capture - Capturing more than the authorized amount
  • Partial authorization - Authorizing only a portion of the requested amount
  • Payment method tokenization - Storing payment methods through a separate tokenization flow (must tokenize as part of transactions)
  • Installments - Issuer-based installment plans

Integration

To accept card payments with Braintree, use one of Gr4vy’s client-side integration methods to securely collect card details. Due to PCI compliance requirements, card data should never be sent directly to your servers. You can integrate using:
  • Embed - A pre-built, customizable payment form that handles the complete payment flow
  • Secure Fields - Embed card input fields for building custom payment forms while maintaining PCI compliance
  • Mobile SDKs - Native SDKs for iOS, Android, React Native, and other platforms
These methods handle card data collection and tokenization. Once the card details are collected and tokenized, create a transaction through the Gr4vy API, which automatically routes the payment to your configured Braintree connection based on your Flow rules or explicit payment_service_id parameter.

Supported countries

Braintree supports transactions from buyers in the following countries:
Country codeCountry codeCountry codeCountry codeCountry codeCountry code
ADAEAFAGAIAL
AMAOAQARASAT
AUAWAXAZBABB
BDBEBFBGBHBI
BJBLBMBNBOBQ
BRBSBTBVBWBY
BZCACCCDCFCG
CHCICKCLCMCN
COCRCUCVCWCX
CYCZDEDJDKDM
DODZECEEEGEH
ERESETFIFJFK
FMFOFRGAGBGD
GEGFGGGHGIGL
GMGNGPGQGRGS
GTGUGWGYHKHM
HNHRHTHUIDIE
ILIMINIOIQIR
ISITJEJMJOJP
KEKGKHKIKMKN
KPKRKWKYKZLA
LBLCLILKLRLS
LTLULVLYMAMC
MDMEMFMGMHMK
MLMMMNMOMPMQ
MRMSMTMUMVMW
MXMYMZNANCNE
NFNGNINLNONP
NRNUNZOMPAPE
PFPGPHPKPLPM
PNPRPSPTPWPY
QARERORSRURW
SASBSCSDSESG
SHSISJSKSLSM
SNSOSRSSSTSV
SXSYSZTCTDTF
TGTHTJTKTLTM
TNTOTRTTTVTW
TZUAUGUMUSUY
UZVAVCVEVGVI
VNVUWFWSXKYE
YTZAZMZW

Testing

For testing in sandbox environments, you can use standard test card numbers. Braintree supports industry-standard test cards for simulating different transaction scenarios: Successful transactions:
  • Visa: 4111 1111 1111 1111
  • Mastercard: 5555 5555 5555 4444
  • American Express: 3782 822463 10005
Use any future expiry date and any 3-digit CVV (4 digits for American Express). For more test scenarios and additional card numbers, refer to the Braintree testing documentation or contact your Braintree representative.

Supported currencies

Braintree supports processing payments in the following currencies:
Currency codeCurrency codeCurrency codeCurrency codeCurrency codeCurrency codeCurrency codeCurrency codeCurrency codeCurrency code
AEDAMDAOAARSAUDAWGAZNBAMBBDBDT
BGNBIFBMDBNDBOBBRLBSDBWPBYNBZD
CADCHFCLPCNYCOPCRCCVECZKDJFDKK
DOPDZDEGPETBEURFJDFKPGBPGELGHS
GIPGMDGNFGTQGYDHKDHNLHTGHUFIDR
ILSINRISKJMDJPYKESKGSKHRKMFKRW
KYDKZTLAKLBPLKRLRDLSLMADMDLMKD
MNTMOPMURMVRMWKMXNMYRMZNNADNGN
NIONOKNPRNZDPABPENPGKPHPPKRPLN
PYGQARRONRSDRUBRWFSARSBDSCRSEK
SGDSHPSLESOSSRDSVCSYPSZLTHBTJS
TOPTRYTTDTWDTZSUAHUGXUSDUYUUZS
VESVNDVUVWSTXAFXCDXOFXPFYERZAR
Follow the Braintree setup instructions before configuring card payments.