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>"
}

Documentation Index

Fetch the complete documentation index at: https://docs-test.rye.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Rye API key

Path Parameters

invoiceId
string
required

The Stripe invoice ID to cancel

Response

No Content