Guidesv2026-11

Accept a payment

The shortest path to money: build an authorization URL and redirect the buyer to the hosted checkout.

npm i @harriets/sdk
Merchant:Guest Sandbox•1 method
SDKstipex.paymentLinks.createAuthorizationUrl(params)

Creates a checkout session for an amount, currency, buyer email, mode and item list, and returns authorization_url.

Resource Methods

Select a method to focus the payload preview & code generator.

stipex.paymentLinks.createAuthorizationUrl(params)

Creates a checkout session for an amount, currency, buyer email, mode and item list, and returns authorization_url.

Parameters & Attributes

Standard payload keys expected for accept a payment operations.

Field
Type
Description
merchant_idrequired
string
Identifier of the merchant creating or scoping this entity.
metadataoptional
record<string, any>
Up to 50 key-value pairs for attaching internal references.
livemoderead-only
boolean
True if the entity exists in production livemode, false in sandbox.
Live Workstation
sandbox
Amount Captured

$148.50 USD

succeeded
pi_3Mtw289Lkx3D Secure 2.0 Auth
Object: payment
Merchant: stripex_mch_82f9x0
Active ContextSwitch Key
ID:stripex_mch_82f9x0