POST
/
auth
/
login
curl --request POST \
  --url https://api.myxspend.com/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "<string>",
  "password": "<string>"
}'
{
  "email": "<string>",
  "accountId": "<string>",
  "roles": [
    "<string>"
  ],
  "token": "<string>",
  "redirectPath": "<string>"
}

Body

application/json
Get your details to use for future Process Payments. Note, your API Key (X-API-KEY) and Company Id (X-COMPANY-ID) are returned within the response headers

The body is of type object.

Response

200
application/json
Successful response

The response is of type object.