BlockonomicsAPI Reference
Payment Intents
POST/v2/payment_intentsAuth required

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.

Requires Bearer token authentication. Include Authorization: Bearer YOUR_API_KEY in the request header.

Request Body

amountstringrequired

Amount to collect in currency, with at most 2 decimals.

currencystringrequired

Fiat currency code.

match_callbackstring

Part of the store's callback URL. Required if you have multiple stores.

extra_datastring

Custom data to associate with this intent.

Responses

amountbody · stringrequired

Amount to collect in `currency`, with at most 2 decimals.

currencybody · stringrequired

Fiat currency code.

match_callbackbody · string

Part of the store's callback URL. Required if you have multiple stores.

extra_databody · string

Custom data to associate with this intent.

Response will appear here