StableOps
API 参考

Create a merchant portal session

POST/v1/merchant/portal-sessions

Authorization

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"
}

这篇文档怎么样?

最后更新