Skip to main content
DELETE
/
api
/
v1
/
billing
/
drawdown
/
topup
/
{invoiceId}
JavaScript
import CheckoutIntents from 'checkout-intents';

const client = new CheckoutIntents({
  apiKey: process.env['CHECKOUT_INTENTS_API_KEY'], // This is the default and can be omitted
});

await client.billing.cancelTopupInvoice('invoiceId');
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Rye API key

Path Parameters

invoiceId
string
required

The Stripe invoice ID to cancel

Response

No Content