Skip to main content
POST
/
checkout
/
one_click
Perform a one-click purchase
curl --request POST \
  --url https://billing.funnelfox.com/{org_id}/v1/checkout/one_click \
  --header 'Content-Type: application/json' \
  --data '{
  "external_id": "<string>",
  "pp_ident": "<string>",
  "client_metadata": {}
}'
{
  "action_required_token": "<string>",
  "checkout_status": "processing",
  "failed_message_for_user": "<string>",
  "order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Path Parameters

org_id
string
required

Organization ID

Body

application/json
external_id
string
required

Your unique identifier for the user

Maximum length: 256
pp_ident
string
required

Unique identifier of the price point

Maximum length: 256
client_metadata
object

Custom metadata from your client application

Response

200 - application/json

Payment status and details

action_required_token
string
required
checkout_status
enum<string>
required
Available options:
processing,
succeeded,
failed,
cancelled
failed_message_for_user
string
required
order_id
string<uuid> | null
required