Public endpoints
POST/v1/public/checkout/{merchant_slug}/{service_slug}

Create checkout

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/public/checkout/{merchant_slug}/{service_slug}" \  -H "Content-Type: application/json" \  -d '{"network":"eip155:84532","method":"GET","input":{}}'

Pays for a service from the signed-in organization's budget through its checkout agent and returns the intent id and a status token. Needs a console session; pass network (CAIP-2) or card; returns CONSENT_REQUIRED with a consent link when the wallet has no spending permission; rate limited to 30 requests per minute per IP.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/public/checkout/{merchant_slug}/{service_slug}Base URL: https://api.52-28-238-205.sslip.io
Path
  • merchant_slugstringrequired

    Merchant slug, as shown on the public merchant profile.

  • service_slugstringrequired

    Service slug within that merchant.

Body

application/json · required. Fields are listed under Request body below.

Path Parameters

merchant_slug*Merchant Slug

Merchant slug, as shown on the public merchant profile.

service_slug*Service Slug

Service slug within that merchant.

Request Body

application/json
  1. body
network?|

Network as a CAIP-2 id, for example eip155:84532 (Base Sepolia) or solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1 (Solana devnet).

method?string|null
input?|

Input passed to the merchant's resource, as a JSON object.

Response Body

Success.

application/json
  1. response
intent_id?|

Payment intent id (pi_...).

status_token*Status Token

Token for polling a hosted checkout's status without signing in.

status_url*Status Url
[key: string]?any