ResourcesCharges

Mark pending charge voided

Manually marks a pending charge as voided (canceled).

Manually marks a pending charge as voided (canceled).

Important

This action should only be performed on charges with a PENDING status. Attempting to void a charge with a different status will result in an error.

PUT
/v2/charges/{charge_id}/voided

Authorization

bearerAuth
AuthorizationBearer <token>

Provide your SellApp API key as a bearer token.

In: header

Path Parameters

charge_id*integer

The charge id path parameter.

Response Body

application/json

curl -X PUT "https://sell.app/api/v2/charges/0/voided"
{
  "message": "Charge Voided Successfully"
}