providerEndpoint and mount per mode at your site’s regional origin, https://api.recurly.com or https://api.eu.recurly.com. Seal the Base64 value of the private API key followed by a colon as Authorization header auth with prefix Basic . Bind the receiver and the mount under the same protected data label.
Initialize with
{ profile: { mode: "provider", provider, limit: 20 } }. The source keys JSON by Recurly ID. It extracts only the opaque cursor from the next link and uses the installed route for each request. The next sweep starts over after has_more is false. Missing records remain landed. Each response supports up to 100 records and 36 KiB and requires the bundled parser artifact.
Write subscriptions
UseproviderWriter with recurly.subscriptions.create-update in receivers.writers under that mode. Bind the regional origin, a write-capable sealed Basic credential and the same protected label. Supply one Recurly subscription input object with existing billing information. For update, set the command’s id to Recurly’s subscription ID. The writer uses the versioned JSON media type.
The writer binds an exact caller command key to up to 24 KiB of JSON. Create accepts HTTP 200 or 201, and update accepts 200. Both require a subscription object ID, and an update requires the exact target ID. Commands perform no deletes and carry no read cursor.
Recurly API versioning and pagination
Submit mode recurly.subscriptions.cancel through the existing subscription writer with { action: "cancelSubscription", id }. It calls the versioned cancel endpoint. The once command accepts the matching subscription in canceled or expired state. Cancellation keeps the subscription record and carries no read cursor.
Cancel a Recurly subscription