API reference
Update merchant subscription settings
Update StableOps merchant billing settings for invoice payment windows, renewal lead time, and grace periods, and verify the effective configuration returned.
PUT
/v1/merchant/settingsAuthorization
bearerAuth AuthorizationBearer <token>
Paste your API key from the dashboard.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/v1/merchant/settings" \ -H "Content-Type: application/json" \ -d '{}'{
"pay_window_days": 1,
"renewal_lead_days": 0,
"grace_days": 0
}How is this guide?
Last updated
Get merchant subscription settings GET
Retrieve StableOps merchant billing settings for the current organization and environment, including invoice payment windows, renewal lead time, and grace days.
Create a merchant portal session POST
Create a StableOps Portal session for a merchant user, then use its scoped token to read that user’s invoices and subscriptions and initiate wallet payments.