Mark uncollectible a billing statement
Mark uncollectible a billing statement resource.
Endpoint
POST /billing_statements/:id/mark_uncollectible
Sample code
- curl
- Node
- PHP
- Python
- Ruby
curl --request POST --location 'https://api.payrexhq.com/billing_statements/<ID of a billing statement resource>/mark_uncollectible' \
-u replace_with_secret_api_key:
const client = require('payrex-node')('insert your PayRex Secret API key.');
const billingStatement = await client.billingStatements.markUncollectible('<ID of a billing statement resource>');
$client = new \Payrex\PayrexClient('insert your PayRex Secret API key.');
$billingStatement = $client->billingStatements->markUncollectible('<ID of a billing statement resource>');
from payrex import Client as PayrexClient
client = PayrexClient('insert your PayRex Secret API key.')
billing_statement = client.billing_statements.mark_uncollectible('<ID of a billing statement resource>')
client = Payrex::Client.new("insert your PayRex Secret API key.")
billing_statement = client.billing_statements.mark_uncollectible('<ID of a billing statement resource>')
Returns
Returns a Billing Statement resource.