Void a manual payment recorded by mistake
curl --request POST \ --url https://example.com/api/v1/payments/example/void \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "reason": "example" }'Marks a received manual payment VOIDED with the reason given. It stays on the invoice for the audit trail and no longer counts as received: a PAID invoice it no longer covers reopens with the balance due, and the invoice’s commissions are flagged for review. A Stripe payment (refund it in Stripe), a partly refunded payment and a payment backing an overage release are refused with 422. Requires the payments.manage permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Request Body
Section titled “Request Body”object
Why the payment is voided, kept in the invoice history and the audit trail.
Example generated
{ "reason": "example"}Responses
Section titled “Responses”The voided payment.
object
A payment recorded against an invoice.
object
Payment amount as a decimal number.
Cumulative amount refunded through Stripe. Zero until a refund is recorded.
Latest Stripe dispute status on this payment, or null if never disputed.
Payment method: STRIPE, BANK_TRANSFER, CHECK, CASH or OTHER.
Payment status: PENDING, PROCESSING, SUCCEEDED, FAILED, REFUNDED or VOIDED.
Example generated
{ "data": { "amount": 1, "amountRefunded": 1, "createdAt": "2026-04-15T12:00:00Z", "disputeStatus": "example", "disputedAt": "2026-04-15T12:00:00Z", "id": "example", "invoiceId": "example", "method": "example", "notes": "example", "paidAt": "2026-04-15T12:00:00Z", "status": "example" }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Invalid input.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC