Description

Login with admin credentials and retrieve an authorization token.

<aside> 💡

Tokens will expire every 30 days. Make sure your system retrieves a new token when/before it expires.

</aside>

Prerequisites

None.

Base URL

Production https://io.paywithspare.com
Staging https://io.staging.paywithspare.com

Endpoints

POST /api/auth/loginAdmin

Parameters

Body

Name Type Description Required
username string Your admin dashboard username Yes
password string Your admin dashboard password Yes

Query

None.

Route

None.

Headers

None.