BlockonomicsAPI Reference
Payment Intents
POST/v2/payment_intents/{intent_id}Auth required

Update a payment intent

Changes the amount or currency of a payment intent. Pass at least one of them.

Only intents with status unpaid can be updated, and not while a quote on the intent is still price-locked or has a payment waiting for confirmation. Quotes whose price lock has run out do not block an update.

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

Path Parameters

intent_idstringrequired

ID of the payment intent

Request Body

amountinteger

New amount, in the smallest unit of the currency

currencystring

New fiat currency code

Responses

intent_idpath · stringrequired

ID of the payment intent

amountbody · integer

New amount, in the smallest unit of the currency

currencybody · string

New fiat currency code

Response will appear here