Skip to main content
POST
/
payment-method
/
setup-intent
Create Setup Intent
curl --request POST \
  --url https://api.satsuma.ai/payment-method/setup-intent \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "merchant_id": "<string>"
}'
{
  "data": {
    "url": "<string>"
  },
  "messages": [
    {
      "context": "<string>",
      "level": "Information",
      "text": "<string>",
      "data": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication

Body

application/json

Request to create a setup intent checkout session

merchant_id
string
required

Merchant identifier

Response

201 - application/json

Created

data
object

Checkout session response data

messages
object[]