Skip to main content
POST
/
i
/
{token}
/
checkout-session
Create payment checkout session
const options = {method: 'POST'};

fetch('https://api.dolfinai.co/i/{token}/checkout-session', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "clientSecret": "<string>",
  "publishableKey": "<string>",
  "connectedAccountId": "<string>",
  "currency": "<string>",
  "amount": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.dolfinai.co/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

token
string
required

Response

OK

clientSecret
string
required
publishableKey
string
required
connectedAccountId
string
required
currency
string
required
amount