ApiGift cards
Issue a gift card (paid = purchase invoice, free = merchant-funded)
POST
bearerX-API-Version?stringAPI version for header-based versioning
Default
"1"Value in
"1""2"application/json- body
balanceSats*numberInitial balance in sats
issueType*string"paid" = buyer pays a purchase invoice now (card activates on settlement) · "free" = merchant-funded comp card (active immediately)
Default
"paid"Value in
"paid""free"projectId?stringOptional project — paid issuance settles to its settlement wallet
expiresAt?stringOptional expiry (ISO)
note?stringPrivate note (e.g. who this is for)
curl -X POST 'http://localhost:3001/api/v1/gift-cards' \ -H 'Content-Type: application/json' \ -d '{ "balanceSats": 21000, "issueType": "paid"}'Example Response201
Empty