API reference
Create a merchant portal session
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.
POST
/v1/merchant/portal-sessionsAuthorization
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 POST "https://example.com/v1/merchant/portal-sessions" \ -H "Content-Type: application/json" \ -d '{ "merchant_user_id": "string" }'{
"id": "string",
"portal_token": "string",
"expires_at": "2019-08-24T14:15:22Z"
}How is this guide?
Last updated
Update merchant subscription settings PUT
Update StableOps merchant billing settings for invoice payment windows, renewal lead time, and grace periods, and verify the effective configuration returned.
Revoke a merchant portal session DELETE
Revoke a StableOps merchant Portal session by ID to end its access, and inspect the endpoint’s authentication and response before invalidating a user session.