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
header
AuthorizationBearer <API Key>Provide your SellApp API key as a bearer token.
charge_id*integerThe charge id path parameter.
X-STORE?stringStore 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.
Successful response.
application/json- response
message*stringcurl -X PUT 'https://sell.app/api/v2/charges/0/voided' \ -H 'X-STORE: launch-lab'{ "message": "Charge Voided Successfully"}