Refreshes an existing session token with a new expiration time. This endpoint extends the session lifetime while maintaining the same store association and session token. The session token must still be valid (not expired) to be refreshed.
Authentication Required: JWT Bearer token for merchant authentication Session Token Required: Valid session token in request body (format: rpmw_*) Token Refresh Policy: Only valid (non-expired) tokens can be refreshed Intended for: Payment widgets needing to extend their session lifetime
Refresh Behavior:
JWT token for merchant authentication. Format: "Bearer {your-jwt-token}"
Session refresh request containing the current session token
The current session token that needs to be refreshed required: true example: "rpmw_3jZ8k9Xy7Vb2N5mQ1rT6W"
Session successfully refreshed with same token and new expiration
Session data containing the widget token and expiration information