# Create checkout

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.

`POST /v1/public/checkout/{merchant_slug}/{service_slug}`

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.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `merchant_slug` | path | yes | Merchant slug, as shown on the public merchant profile. |
| `service_slug` | path | yes | Service slug within that merchant. |

## Request body

```json
{
  "network": "eip155:84532",
  "method": "GET",
  "input": {}
}
```

## Responses

- **200**: Success.
- **400**: Invalid request: a field is missing or malformed (VALIDATION_ERROR).
- **404**: The resource does not exist or belongs to another organization.
- **409**: Conflicts with the current state, for example a reused Idempotency-Key or an illegal state change.

Example 200 response:

```json
{
  "intent_id": "pi_01jd2x3k4m5n6p7q8r9s0t1v2w",
  "status_token": "string",
  "status_url": "https://example.com/resource"
}
```
