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>"
}Authenticate and retrieve a bearer token and headers
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>"
}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