Get Login Token on Behalf of Customer

Returns a JwtToken on behalf of one of your customers

POST/api/restricted/partner/userauth
curl --request POST 'https://api.globalpatron.com/api/restricted/partner/userauth' \
--header 'PartnerId: {YOUR_PARTNER_ID}' \
--header 'PartnerSecret: {YOUR_PARTNER_SECRET_KEY}' \
--header 'PartnerCustomerEmail: {YOUR_CUSTOMERS_EMAIL_ADDRESS}'
Response 200 OK
{
    "id": "",
    "message": "{CUSTOMERS_JWT_TOKEN_HERE"},
    "action_successful": true,
    "error": ""
}




Call API on behalf of customer

Allows you to make API calls on behalf of one of your customers

GET/POST/{url-path}?partnerAccountId={partnerAccountId}
curl --request GET/POST https://api.globalpatron.com/....../?partnerAccountId=a12bc345-d67e-89b1-23d4-567e891dcb23' \
--header 'Authorization: Bearer {CUSTOMERS_JWT_TOKEN_HERE}' \