Skip to main content
Start paying for a new subscription

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
items
object[]
required

What the organization is subscribing to - the price offered by GET /stripe/products and how many units of it to take.

Required array length: 1 element

Response

Returns the address of the payment page to send the buyer to.

url
string<uri> | null

Address the caller should be sent to in order to carry on - typically a page hosted by an outside service, which is why it is handed over rather than called. It is empty where the request needed no such page.

Example:

"https://checkout.stripe.com/c/pay/cs_test_a1B2c3D4e5"