Skip to content

Instantly share code, notes, and snippets.

@GZLiew
Last active November 19, 2025 12:31
Show Gist options
  • Select an option

  • Save GZLiew/ef21f6040aab8ab7877c50836c132ab8 to your computer and use it in GitHub Desktop.

Select an option

Save GZLiew/ef21f6040aab8ab7877c50836c132ab8 to your computer and use it in GitHub Desktop.
bolt-notes

onboard merchants

Connect and create Bolt accounts for our existing Tabbed users

Page: 16 Check Platform Auth Credentials API

phone_authentication.last_four_digits // is this the last four digit of phone?

POST /v1/merchant/shopper_login lets a merchant sign a shopper into Bolt. If the shopper doesn’t exist, Bolt creates the account automatically.

doesnt that make Create New Bolt Account endpoint not required at all?

  • caching the session token in response header for user

Kick off the migration to move our existing Stripe cards into Bolt’s secure storage

Page: 15 (only explains about passing them the stripe keys with data mapping and nothing else)

Existing Cards migration

New Cards (App)

  • connect.bolt.com/embed.module.js is web based
  • using existing components instead of calling stripe, we call bolt based on feature flag
  • tokenize new cards with Bolt.helpers.tokenize (page 44)
  • find a webview library that can support bolt
  • use expo-secure-store library on Tabbed app to store tokens

Set up payment processing (authorization, charging, refunds) that routes based on which provider the card is with (big chunk in core)

  • libs/platform/src/common/payment-provider/bolt.service.ts
  • mark user credit card as bolt payment provider
  • preauth transaction for bolt POST /v3/payments (page 23)
  • is finalizing a payment required POST /v3/payments/{id} before capture payment /v1/merchant/transactions/capture ?
  • is there a capture immediate option for payments?
  • use seller_splits and seller_id to transfer to Tabbed merchant the portion and charged fees
  • if no seller_splits is defined in the sent payment, does it assume 100% split to Tabbed merchant

Start processing Bolt payments through Bolt using a test mode flag

  • Create feature flag ACTIVE_PAYMENT_PROVIDER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment