Skip to main content

Void a billing statement

Voids a billing statement resource.

To learn more about billing statements, refer to this guide.


Endpoint​

POST /billing_statements/:id/void

Sample code​

const client = require('payrex-node')('insert your PayRex Secret API key.');

const billingStatement = await client.billingStatements.void('<ID of a billing statement resource>');

Returns​

Returns a Billing Statement resource.