Skip to content

POST /v1/payment/{id}/update-merchant-estimate

Re-calculates the pay amount for a payment that is still in waiting status. Useful when the original estimate has drifted due to price changes. Requires authentication.

POST /v1/payment/{id}/update-merchant-estimate
Terminal window
curl -X POST https://api.nearpayments.io/v1/payment/1/update-merchant-estimate \
-H "x-api-key: YOUR_API_KEY"
{
"id": 1,
"token_id": "btc",
"pay_amount": 0.00029,
"expiration_estimate_date": "2025-01-16T10:30:00.000Z"
}