Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://payments.oaknetwork.org/api/auth/signin \ --header 'Content-Type: application/json' \ --data ' { "email": "user@example.com", "password": "SecurePass123!", "role": "ROLE_PLATFORM_ADMIN" } '
{ "msg": "Sign In Successful!", "data": { "id": 123, "email": "jsmith@example.com", "accessToken": "<string>", "refreshToken": "<string>", "createdMillis": 123 } }
Authenticate a user with email, password, and role. Returns JWT access and refresh tokens.
User's email address
"user@example.com"
User's password
"SecurePass123!"
Role to sign in as
ROLE_ADMIN
ROLE_PLATFORM_ADMIN
ROLE_PLATFORM_USER
"ROLE_PLATFORM_ADMIN"
Sign in successful
Human-readable message describing the result
"Sign In Successful!"
Response payload (null on error)
Show child attributes