Auth

Generate a new session

Generate a short-lived session token used initialize a Slope.js flow on behalf of a customer, skipping the need for the customer to login.

post/v4/auth/session

Request

  • Base URL
    https://api.slopepay.com
  • URL
    https://api.slopepay.com/v4/auth/session
  • Auth
    HTTP basic

Headers

Slope-Access-Tokenstring required

The access token returned from exchanging the short lived authorizationCode /v4/auth/token endpoint.

Response

sessionTokenstring required

The short-lived session token to use to initialize a Slope.js flow. Pass this token in the sessionToken parameter. Expires after 4 hours.

expiresAtstring date-time required

The expiration date of the session token.

Changes

No recorded changes to this operation across all 2 revisions of this API.