POST
Finalize a pending guest payment

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.

Path Parameters

id
string
required

The ID of the guest payment to operate on

Example:

"iKv7t5bgt1gg"

Body

application/json
.tag
enum<string>
required
Available options:
finalize,
finalize_threeds_payment
Example:

"finalize"

redirect_result
string

Optional redirect result token required for an APM payment (excluding PayPal).

Example:

"eyJ0cmFuc"

Response

The action was successfully applied to the pending guest payment

.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.