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