API referencev2026-11

Payment links

Reusable hosted checkout links, plus signed authorization URLs and session verification for one-off buyer redirects.

npm i @harriets/sdk
Merchant:Guest Sandbox•6 methods
SDKstipex.paymentLinks.create(params)

Creates a reusable link with price, currency, billing period, status and address or coupon collection flags.

Resource Methods

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

stipex.paymentLinks.create(params)

Creates a reusable link with price, currency, billing period, status and address or coupon collection flags.

stipex.paymentLinks.list()

Lists the merchant payment links.

stipex.paymentLinks.retrieve({ link })

Fetches a payment link by its URL-safe slug.

stipex.paymentLinks.del({ id })

Deletes a payment link by id.

stipex.paymentLinks.createAuthorizationUrl(params)

Returns a signed checkout authorization_url for a buyer redirect, with items, shipping fee, sub total and metadata.

stipex.paymentLinks.verifySession(params)

Validates a checkout session with its sessionId and token before fulfilment.

Parameters & Attributes

Standard payload keys expected for payment links 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
Object: payment_link
Merchant: stripex_mch_82f9x0
Active ContextSwitch Key
ID:stripex_mch_82f9x0