# POST /v2/payment_intents
**Create a payment intent**

Creates a payment intent to collect a fiat amount on one of your stores. Share the intent `id` with the payer, who pays it through the Payer API in crypto.

Authentication: Bearer token required (Authorization: Bearer YOUR_API_KEY)

## Request Body (application/json)
- `amount` — string (required): Amount to collect in `currency`, with at most 2 decimals.
- `currency` — string, enum("AUD", "BRL", "CAD", "CNY", "EUR", "GBP", "HKD", "IDR", "ILS", "INR", "JPY", "MXN", "NOK", "NZD", "PLN", "RON", "RUB", "SEK", "SGD", "USD", "ZAR") (required): Fiat currency code.
- `match_callback` — string (optional): Part of the store's callback URL. Required if you have multiple stores.
- `extra_data` — string (optional): Custom data to associate with this intent.

## Responses
- 200: The new payment intent
  - `data` (object)
- 400: Invalid `amount` or `extra_data`, or missing `currency` (`1010`), invalid JSON body (`1055`), no store matches `match_callback` (`1049`), or several stores do and it was left out (`1032`)
- 401: Missing or invalid API key
- 422: Unsupported fiat currency (`1069`)

Full reference: https://developers.blockonomics.co/docs/payment-intents/createpaymentintent