ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiPayments

Update payment labels

PUT
/api/v1/payments/{paymentHash}/labels

Replace the payment labels (max 10, 50 chars each, lowercased). LNbits-compatible endpoint for accounting/reconciliation workflows.

Authorization

bearer

Path Parameters

paymentHash*string

Header Parameters

X-API-Version?string

API version for header-based versioning

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

Response Body

Labels updated

Example Request
curl -X PUT 'http://localhost:3001/api/v1/payments/string/labels'
Example Response
Empty