providerEndpoint and mount per mode at https://api.paddle.com or https://sandbox-api.paddle.com. Seal an API key as bearer auth with the listed read permission. Bind the receiver and the mount under the same protected data label.
Initialize with
{ profile: { mode: "provider", provider, limit: 10 } }. The source keys JSON by Paddle ID. The invoice mode lands transaction-backed invoice records once an invoice number appears. It uses the transaction ID and does not fetch PDF bytes. The position follows the last Paddle ID as after even when no invoice is present in a page. Each mode starts the next ascending sweep when has_more is false. Missing records remain landed. Each response supports up to 30 records and 36 KiB and requires the bundled parser artifact.
Write transactions and issue invoices
UseproviderWriter with paddle.transactions.create-update in receivers.writers under that mode. Bind the same protected label and a sealed transaction.write bearer credential. Supply one transaction input object, up to 24 KiB. Paddle issues invoices from manually collected transactions when their status is set to billed with the required billing details.
The writer binds the exact command key. Creation requires HTTP 201 with the transaction ID. Update uses PATCH with the command’s transaction ID, and requires HTTP 200 with that ID. Commands perform no deletes and carry no read cursor.
Paddle subscriptions · Create and issue invoices