> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yativo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Payment

> Create a new payment intent with a hosted checkout URL

**Authorization** `string` *required*

Bearer token: `Bearer YOUR_ACCESS_TOKEN`

**title** `string` *required*

Title shown on the checkout page (e.g. `"Invoice #1234"` or `"Pro Plan — Monthly"`).

**requested\_amount** `number` *required*

Amount expected from the customer, in USD.

**accepted\_assets** `string[]` *required*

One or more asset codes to accept. Must be from the [supported payment assets](https://docs.yativo.com/yativo-crypto/payment-gateway#supported-payment-assets) list.
Example: `["USDC_SOL", "USDT_POL", "USDC_BASE"]`.

**description** `string`

Optional description of the goods or service being purchased (max 1000 characters). Shown on the hosted checkout page and included in the customer receipt email.

**customer\_email** `string`

Pre-fill the customer email on the checkout page.

**webhook\_url** `string`

URL to POST payment event notifications to. See [Webhooks](https://docs.yativo.com/yativo-crypto/webhooks).

**merchant\_logo\_url** `string`

Logo URL displayed on the hosted checkout page.

**external\_reference** `string`

Your internal order/reference ID attached to this payment for reconciliation.

```bash theme={null}
curl -X POST 'https://crypto-api.yativo.com/api/v1/crypto-gateway/payments' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "title": "Invoice #1234",
    "description": "Pro Plan subscription — April 2026",
    "requested_amount": 49.99,
    "accepted_assets": ["USDC_SOL", "USDT_POL", "USDC_BASE"],
    "customer_email": "alice@example.com",
    "webhook_url": "https://yourapp.com/webhooks/payments",
    "external_reference": "order_abc123"
  }'
```

```json theme={null}
{
  "success": true,
  "data": {
    "payment_id": "pay_a1b2c3d4e5f6",
    "title": "Invoice #1234",
    "description": "Pro Plan subscription — April 2026",
    "requested_amount": 49.99,
    "status": "awaiting_payment",
    "checkout_url": "https://crypto-checkout.yativo.com/pay/pay_a1b2c3d4e5f6",
    "embed_url": "https://crypto-checkout.yativo.com/embed/pay_a1b2c3d4e5f6",
    "accepted_options": [
      { "asset_code": "USDC_SOL", "network": "solana",  "deposit_address": "7xKXtg..." },
      { "asset_code": "USDT_POL", "network": "polygon", "deposit_address": "0xAbCd..." },
      { "asset_code": "USDC_BASE", "network": "base",   "deposit_address": "0x1234..." }
    ],
    "customer_email": "alice@example.com",
    "external_reference": "order_abc123",
    "payment_window_expires_at": "2026-04-18T13:00:00Z",
    "monitoring_ends_at": "2026-04-18T13:20:00Z",
    "created_at": "2026-04-18T12:00:00Z"
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.