Cancel a pending, recurring or usage charge; the prorated unused part is credited.
DELETE
/apps/billing/charges/{id}
const url = 'https://your-store.myciqra.com/apps/billing/charges/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://your-store.myciqra.com/apps/billing/charges/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Any installation token — billing needs no scope. Each charge reaches the merchant’s invoice only after the merchant approves it in the CIQRA admin.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”OK