ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiSwaps

Poll the Boltz status and update the swap

POST
/api/v1/swaps/{id}/refresh

Maps Boltz lifecycle (invoice.paid → transaction.mempool → confirmed → done) onto the swap record.

Authorization

bearer

Path Parameters

id*string

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

Example Request
curl -X POST 'http://localhost:3001/api/v1/swaps/string/refresh'
Example Response201
Empty