This SDK needs server work, but not the custom cart server integration. The React Native SDK tokenizes the payment instrument; your backend takes that token and creates the payment through the Bolt API. Bolt does not call your server for shipping options, tax, or discounts here, because there is no Bolt-hosted checkout in this flow to call them from.Build these first, then return here for the client installation:
  1. Create the payment from your backend
  2. Transaction webhooks, so the transaction lands in your own records
Looking for the flow where Bolt Checkout drives shipping, tax, and discounts through your callbacks? That is the custom cart integration, and its clients are web, iOS, and Android.

Overview

The React Native SDK is currently designed for use with Bolt Embeddable Checkout. See the Embeddable Checkout API Reference for full backend API documentation.
The Bolt React Native SDK (@boltpay/react-native) provides everything you need to accept payments in your React Native app: credit card tokenization, 3D Secure verification, Apple Pay, and Google Pay: all integrated with Bolt Embeddable Checkout.

Installation

Install the SDK and its peer dependency:
For iOS, install the native pods:

Requirements

Quick Start

1. Initialize Bolt

Create a Bolt client instance and wrap your app with the BoltProvider context:

2. Accept a Payment

From here, choose the payment method that fits your use case:
  • Credit Card Payments: Tokenize card details and handle 3D Secure challenges.
  • Apple Pay: Accept Apple Pay on iOS devices.
  • Google Pay: Accept Google Pay on Android devices.
  • Styling: Customize the look and feel of Bolt components.
  • API Reference: Full reference for all exports, props, types, and error codes.

Example App

The SDK repository includes a full checkout demo in the example/ directory. To run it:

Resources