Skip to main content
POST
/
payment_intents
Create payment intent
curl --request POST \
  --url https://api.atlas.kitchen/storefronts/v1/payment_intents \
  --header 'X-Channel-Id: <api-key>'
{
  "amount": 123,
  "tip": 123,
  "status": "pending",
  "atlas_pay_url": "<string>",
  "currency": "SGD"
}

Authorizations

X-Channel-Id
string
header
required

Channel identifier. A second header X-Session-Id is also required.

Response

Payment intent with checkout URL

amount
integer

Amount in cents

tip
integer
status
enum<string>
Available options:
pending,
processing,
capturing,
succeeded,
failed,
cancelled
atlas_pay_url
string | null

URL where the diner completes payment

currency
string
Example:

"SGD"