Creates a secure session for payment method integration. This endpoint is intended for merchant backends to generate sessions that can be safely used by payment method components in web applications. The session ID provides secure access to payment methods without exposing sensitive merchant credentials.
Authentication Required: JWT Bearer token for merchant authentication Intended for: Merchant backend systems Security: Sessions are time-limited and scoped to specific stores
JWT token for merchant authentication
The unique identifier of the store resource.
"550e8400-e29b-41d4-a716-446655440000"
Optional campaign keyword to filter payment methods. When provided, only payment methods matching this campaign keyword are returned. When omitted, only non-campaign payment methods are returned. Campaigns must be configured by Resurs for your payment methods before use.
"SUMMER_SALE"
Session successfully created with token and expiration
Session ID for authenticating payment method requests. Use this ID for subsequent API calls.
"550e8400-e29b-41d4-a716-446655440000"
Session expiration timestamp in ISO 8601 format. After this time, the session will no longer be valid for API requests.
"2025-11-17T15:30:00Z"
Contains the script URL that merchants use to load payment method components in their storefront.
Contains the script URL that merchants use to load payment method components in their storefront.