Create an order (subscription fields, draft)

📘

Draft for review

Hidden page with the subscription fields of Create an order (Subscription Engine release). Each request example has a matching response example with the same name.

Use this endpoint to create an order and optionally capture funds immediately.

This page lists only the fields used for subscriptions. For all the other order fields (customer, basket, 3DS, shipping), see Create an order.

Examples

Select a card to show its request and response in the panels on the right. "Subscribe to an offer" is shown by default.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
Defaults to direct_capture

authorize or direct_capture

string
required
Defaults to sub-2026-000124

Unique identifier used by the merchant for an order

string
required
Defaults to recurring

Where the transaction takes place: e-commerce, moto, pos or recurring. Send recurring with offer_id.

string
Defaults to 4c341adb52ff58d87fc6f74a9677a83c3abbc2d94c44debaedc246c3a3d5f08a

Given in response to the create token request

string
Defaults to 6a0e8d2c7b1f4e9a3c5d1b20

Subscribes your customer to this offer from your own payment page. Send payment_channel: recurring and a recurring token, and do not send amount: the amount and the currency come from the offer. The payment is the first payment of the offer. See Subscription Engine.

string

Identifier of the subscription. With amount, on a subscription billed by the platform: one-off charge on the card of the subscription, outside its calendar. The calendar and the counters of the subscription do not change.

float

A positive number with 3 decimals digit max to describe the charge of the order. Min 0.02. Do not send it with offer_id: the amount comes from the offer. Required with subscription_id for a one-off charge.

string
length ≤ 3

The 3-letter ISO currency code refering to the authorization currency. Not needed with offer_id: the currency comes from the offer.

string
Defaults to [email protected]

The customer's e-mail address.

Headers
string
required
Defaults to 1.0.0

API version

Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json