v1

latestOpenAPI 3.0.32026-08-0623677345.2 KB
Payments

Create payment intent (publishable)

Creates a payment intent against a payment link. Returns the intent's publishable_key to drive the rest of the checkout flow.

post/publishable/payment_links/intents/

Request body

publishable_keystring
amountnumber required
gatewaystring required

Gateway ID.

linkinteger required

Payment-link ID.

customerobject

Free-form customer data captured during checkout.

metadataobject
return_urlstring uri nullable
authorization_urlstring uri nullable
status'failed' | 'pending' | 'succeeded'
status_descriptionstring nullable
status_reasonstring nullable
createdstring date-time
updatedstring date-time

Response

Intent created.

publishable_keystring
amountnumber required
gatewaystring required

Gateway ID.

linkinteger required

Payment-link ID.

customerobject

Free-form customer data captured during checkout.

metadataobject
return_urlstring uri nullable
authorization_urlstring uri nullable
status'failed' | 'pending' | 'succeeded'
status_descriptionstring nullable
status_reasonstring nullable
createdstring date-time
updatedstring date-time