Skip to Content
API ReferenceCharges

Mark pending charge voided

Manually marks a pending charge as voided (canceled).

Manually marks a pending charge as voided (canceled).

Important

Void a PENDING charge or a custom-payment charge in REVIEW. This cancels the charge without refunding money. No deposit or bonus is credited for a voided wallet top-up. Other states, including an already voided charge, return 422; retrieve the charge before retrying.

PUT
/v2/charges/{charge_id}/voided

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Path Parameters

charge_id*integer

The charge id path parameter.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Response Body

Successful response.

application/json
  1. response
message*string
Example Request
curl -X PUT 'https://sell.app/api/v2/charges/0/voided' \  -H 'X-STORE: launch-lab'
{  "message": "Charge Voided Successfully"}