Create a short-lived bearer token for an approved embedded component running for one of your sub-merchants.
This endpoint is available only to partner OAuth bearer tokens. HTTP Basic authentication is not supported. Use the component identifier documented for the embedded-components package version you install.
Use resolve-api-version: partner-v1 for this request. The resulting embed token is used only with the merchant API version selected by the component.
Security
bearerAuth
- Mock serverhttps://docs.resolvepay.com/_mock/partners-api/openapi/embed-sessions
- Sandbox serverhttps://app-sandbox.resolvepay.com/api/embed-sessions
curl -i -X POST \
https://docs.resolvepay.com/_mock/partners-api/openapi/embed-sessions \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'resolve-api-version: partner-v1' \
-d '{
"partner_merchant_ref": "child-merchant-external-id",
"component": "payments"
}'Short-lived embed session created.
When the embed token expires. Mint a new session after this time.
Response
{ "session_id": "es_123", "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "expires_at": "2026-08-27T15:30:00.000Z", "merchant_id": "merchant_123", "component": "payments", "capabilities": [ "payments:read" ] }