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.
Request
Section titled “Request”POST /v1/payment/{id}/update-merchant-estimateExample
Section titled “Example”curl -X POST https://api.nearpayments.io/v1/payment/1/update-merchant-estimate \ -H "x-api-key: YOUR_API_KEY"Response
Section titled “Response”{ "id": 1, "token_id": "btc", "pay_amount": 0.00029, "expiration_estimate_date": "2025-01-16T10:30:00.000Z"}