Delete a billing statement line item
Deletes a billing statement line item resource.
Endpoint
DELETE /billing_statement_line_items/:id
Sample code
- curl
- Node
- PHP
- Python
- Ruby
curl --location 'https://api.payrexhq.com/billing_statement_line_items/<ID of the billing statement line item resource>' \
--request DELETE \
-u replace_with_secret_api_key:
const client = require('payrex-node')('insert your PayRex Secret API key.');
const billingStatementLineItem = await client.billingStatementLineItems.delete('<ID of the billing statement line item resource>');
$client = new \Payrex\PayrexClient('insert your PayRex Secret API key.');
$billingStatement = $client->billingStatementLineItems->delete('<ID of the billing statement line item resource>');
from payrex import Client as PayrexClient
client = PayrexClient('insert your PayRex Secret API key.')
billing_statement_line_item = client.billing_statement_line_items.delete('<ID of the billing statement line item resource>')
client = Payrex::Client.new("insert your PayRex Secret API key.")
billing_statement_line_item = client.billing_statement_line_items.delete('<ID of the billing statement line item resource>')
Returns
Returns a deleted resource.