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.
Authorization
bearerAuth storeAuth AuthorizationBearer <token>
Provide your SellApp API key as a bearer token.
In: header
X-STORE<token>
Select the SellApp store for this API request.
In: header
Path Parameters
charge_id*integer
The charge id path parameter.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://sell.app/api/v2/charges/0/voided"{
"message": "Charge Voided Successfully"
}{
"message": "Unauthenticated."
}{
"message": "This action is unauthorized."
}{
"message": "Rule not found."
}{
"message": "The given data was invalid.",
"errors": {
"data": [
"The data field is required."
]
}
}