Skip to main content
POST
Opens the payment processor's hosted checkout for a one-time payment of `amount`, which the workspace's balance gains once paid, registering the workspace there first if it is not yet. The caller sends the user to the returned URL.

Authorizations

Authorization
string
header
required

A user session token or personal API key.

Headers

Connect-Protocol-Version
number
required

Define the version of the Connect protocol

Example:

1

Connect-Timeout-Ms
number

Define the timeout, in ms

Example:

1000

Body

application/json
name
string
successUrl
string

Where the processor sends the user after checkout completes or is abandoned.

cancelUrl
string
amount
string<int64>

The top-up in the currency's minor unit.

cf. Runpod's credit top-up, an amount the user picks.

Response

Success

url
string