billing.vibes.charge
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
Sell something for Vibes as a developer app (Vibes Pay, D12). POST /api/v1/vibes/charges creates a charge from the app's token (billing.vibes-charge-create-request@1; idempotent on the app's reference) and answers billing.vibes-charge@1 with a pay_url; GET /api/v1/vibes/charges/:id reads it; POST /api/v1/vibes/charges/:id/refund returns the Vibes from the project's Vibes wallet to the person (billing.vibes-charge-refund-request@1). The person pays on OpenVibe's pay sheet; Billing moves the Vibes atomically and once to the app's project Vibes wallet, then POSTs a signed webhook (HMAC-SHA256 with the app's webhook secret, retried with backoff) whose body is billing.vibes.charge.paid@1 or billing.vibes.charge.refunded@1 — no person id or email, only an opaque payer_ref stable per app. A sandbox app charges sandbox Vibes only (test grants, worth nothing). The owner's billing.vibes settings cap the amount, the daily per-person spend and whether Vibes Pay is on.
- Owner
- billing (token audience
openvibe.billing) - Version
- 1.0
- Status
- active
- Visibility
- public
- Resource constraints
- project
- Quota class
- billing-vibes-write
- Permissions
- billing:vibes:charge
- Input
- billing.vibes-charge-create-request@1
- Output
- billing.vibes-charge@1
- Events
- billing.vibes.charge.paid, billing.vibes.charge.refunded
- Implemented by
POST /api/v1/vibes/chargesGET /api/v1/vibes/charges/:idPOST /api/v1/vibes/charges/:id/refund