Permanently voids a bill, making it uncollectable. A voided bill cannot be paid or updated.
This operation is irreversible and should be used when a bill needs to be cancelled.
Authentication using Bearer tokens. Include your API key in the Authorization header.
Key Types:
sk_test_*
for development and testingsk_*
for production environmentspk_test_*
or pk_*
for client-side operations📩 Need access? Contact Support to request your API keys.
Usage:
Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc
A unique key to prevent duplicate operations. Use the same key for retries to ensure idempotent behavior.
Best Practices:
Idempotent-Replayed
header for cache hits1 - 255
Bill identifier - either the unique ID provided by Moment or the external reference provided by the merchant.
The unique ID provided by Moment to identify this bill
"bill_H4jp6KnU5cPw263v1jyz4"
Bill voided successfully
A bill represents a payment request that can be associated with a customer or specific account.