POST

Authorizations

X-API-Key
string
header
required

Headers

X-Publishable-Key
string
required

The publicly shareable identifier used to identify your Bolt merchant division.

X-Merchant-Client-Id
string

A unique identifier for a shopper's device, generated by Bolt. The value is retrieved with Bolt.state.merchantClientId in your frontend context, per-shopper. This header is required for proper attribution of this operation to your analytics reports. Omitting this header may result in incorrect statistics.

Body

application/json
profile
object
required

An account's identifying information.

cart
object
required
payment_method
Credit Card Payment Method · object
required
seller_splits
object[] | null
authorization_type
string

The type of authorization to perform. 'estimated' for pre-authorization, 'final' for final authorization.

Example:

"final"

auto_capture
boolean

Whether to automatically capture the payment after authorization. If true, the payment will be captured immediately. If false, the payment will only be authorized and require a separate capture call.

Example:

true

three_ds_reference
string

Reference value from cardinal.

Example:

"b0f0d4d0-4630-4ec8-8f5e-a19234567890"

co_funding
object | null

Optional co-funding contribution from another merchant. Exactly one of funder_public_id or receiver_public_id must be present.

Response

The payment was successfully initialized, and was either immediately finalized or is pending

.tag
enum<string>
required
Available options:
finalized
Example:

"finalized"

status
enum<string>
required
Available options:
success
Example:

"success"

transaction
object
required
id
string<id>
Example:

"iKv7t5bgt1gg"

co_funding_summary
object | null

Co-funding details for this payment, if co-funding was used.