docs.mobile.api.fuelandfleet.com Open in urlscan Pro
52.55.174.48  Public Scan

Submitted URL: http://docs.mobile.api.fuelandfleet.com/
Effective URL: https://docs.mobile.api.fuelandfleet.com/
Submission: On November 29 via api from NL — Scanned from NL

Form analysis 0 forms found in the DOM

Text Content

 * Body
 * Headers (14)

 * Body
 * Headers (12)

 * Body
 * Headers (0)




Public


Documentation Settings

ENVIRONMENT
Q.A

LAYOUT
Double Column

LANGUAGE
cURL - cURL



Documentation
Introduction
Authentication
Card
Merchant
Settings
Transactions
User
Vehicle
Link
Terms


DOCUMENTATION

REST API for Mobile Integration

AUTHORIZATIONBearer Token
Token

eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxMSIsImp0aSI6IjhkMzE5OTFjNTM4OGUwZjMxN2Q2YjcyYTA0ZWQ1Y2M0OTJiZTBkZGI2MWVhYjIyMzkyNWIyOTg2N2U0NDU5ZTNkYWExNmIwOGU0NTIxMTU1IiwiaWF0IjoxNzExMDQ0NjYwLjg1ODMzMywibmJmIjoxNzExMDQ0NjYwLjg1ODMzNywiZXhwIjoxNzExNjQ5NDYwLjg0NDI2Niwic3ViIjoiNCIsInNjb3BlcyI6W119.fTHn2wO0LN-vNJZUi4pocjK94XTinPJM_A1B23HciHmh4-WvsZf6XC_TV23FAxRG6u2sgySlBcDF3EOG3wlj6lDsfLHiNupx3k3TFwBD86COYXA_uB4gRkoBvkkbWj4PFwXykdGr83o8KAeMsK2YErgypSnYmhndPc8n_hAszKIx1_7sDrXpZ0imYyxY6jyzx7jqNAR0w84LkFu_hS5OABFXhoyLKO_OFujjVooriGhCvsKUzdcs9p7-Io8ZPzgeQFzlefdyhb-Sc_POnSPwz9EPpKr3G1psF11tZ4xmiartlEwkwowZEE5x59-HCGSeJRFx--9u9cOCsdnT1tIjXpwQXpgS5IsbuWWZZn9ngnPpWYO2Ux-atoUDXR78yydmgBluoGYnz_KeFXNegYdo3uXH_6GF6sZWbFmi1gPD_84r3eOmL_ztEphSpgK31xKIe6UQzs-yo5OYV1n6IJwfSbDXX0S8cUFIjVMu9ZR60qO0r-g7LVpe6ouUPvspDVZpvdRl8DqOWNa0nNHj7Vrh2L8rBWqKrg0V2GGaNmIgaaFtuPD0C0ZpWja9uIoWPt3koJJb5zQHrR5DUrqvMrzrYIrDOXsZ3FV7BgEiPymJPmxG4nrzco1cfMxnDvyC3osQSiUZRuZ3S_If4a0rzGp5Yn1kNTPYWTJioL4qoZM7Q7c


AUTHENTICATION

AUTHORIZATIONBearer Token
This folder is using Bearer Token from collectionDocumentation



POSTGET TOKEN Q.A.


https://qa.mobile.api.fuelandfleet.com/oauth/token
AUTHORIZATIONBearer Token
This request is using Bearer Token from collectionDocumentation
Bodyraw (json)
json


{
	"grant_type": "password",
	"client_id": 1,
	"client_secret":"secret",
	"username":"password",
	"password":"password"
}


Example Request
Get Token (Q.A Cheesecake)

curl


curl --location 'https://qa.mobile.api.fuelandfleet.com/oauth/token' \
--data-raw '{
	"grant_type": "password",
	"client_id": 2,
	"client_secret":"BJ5oJVTvGeXxupLF4NArEEGbyrhv6d8ma0zWdXMx",
	"username":"beatriz@ckl.io",
	"password":"beatriz"
}
'

200 OK
Example Response
 * Body
 * Headers (14)

View More
json


{
  "token_type": "Bearer",
  "expires_in": 31536000,
  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIyIiwianRpIjoiZDg5NTEzOWU3NmYzZTVlZWY1ZDhiNjRmYmUxMzE4NWIwZWUyMzA4MGY1MzYxZTRhYWY0ZTIxZTI2NzE4ODlhYWM2MmQ4YzRlNzIxNzk3N2QiLCJpYXQiOjE2MDQwNjEwNjcsIm5iZiI6MTYwNDA2MTA2NywiZXhwIjoxNjM1NTk3MDY3LCJzdWIiOiI2MiIsInNjb3BlcyI6W119.nsf2Y7bOFI2ZyuWq-TB2FMSAK0HIt3z2KtMcRV0Yp8OQibBaDcw579mMOJUvK0luP2oxBAKbYjoPSKJZPJTMLS_UDXXfiXaF3sxf9AlidbWlO-hEWf_NIypp_FQg3qJ8kqwp_5PgVp3LPbrnscJNJ25sLKlcmWQfjxcvfXZ7iorA7Qa7VEmET6ZgeS4Hg3GKfkkvf1hQovBtNFoAgUhBMszxAeFiLgb08S0xYHrNqGE8XUdSdvgnKjsukHaYZqWBsekQ7d6hgueAkVNLUlDXfxPwcatsDkYQ33FjK4g2C0l3kOmwdMuRFPyHyqVFSAwb_-59r_rb6xDMeONpoQCLuC3iZpYZfiWKUs7e6LrdyzZcqhAign98shzf1r5Huhou_axAbMH6rQ5WbKJDNxbheQGORzUNvVCd9h9toG75UVPDDw3-SjOdqjNUMusLEeDy1O7JxDkfb2-UqMlhtAwZWVcw2cdcbkkhOt8KgMPtlMFnl8Jx3wNygfQoDb_sgy5etvFNMvsNR9VMjl3T9HbE7o_2v0qk3-iN9g1PHSHc_R2V_5zj68jWKja_77FJk8TrD0yBhhS7sqZyj45NIfgA6gbafu-NK3uRN6eE-jX-G4d4lmhjOKc9zh-L05XH7iiEIFQD9FiP7Fz8KUuHIArw227-JvYqVz6_3Ebf1FuFQaM",
  "refresh_token": "def50200e0d67d701bf74a825bb2cb4a34ad92533c70669cd8f8e36249808af9a0fafb98199e0a457b4af4adb2d3fd868f7215907a36f84a38833ba61a1ee74caf8e29e75a55588d2f8d67c8c2c5d95bc403e4ec7a0a1bbe22daaac64dc764fd7f4e855d9263143d584462074c456a572c4bd7a58cfb5a71cbec0caa8c9ecdf66a6bce7c098a57e75f69fc13c8f0968650280ac8ca2282ed3d905fdd3563ae5f45ba163c91c20f3b50061e4a69d1e9e20279b300bf900205152bc28fa31f3b145714847ba36bcc6277a3f5e9521eb74a62098ac9af5e4beff3986c71e49e055618553a45fa8ef22b1d305c31b219927cad8fa1cff1e1e479a11306692295763bd3f1f1d4b762d5fec292ba044c54fb5bcc9d0d871cf8b6104f1562cd4643bec52f6dcae551ffce5e4871cad3ed089a068f71195ee103bc2a3c597fc8cc14fefee59c9a4b1ccaaeca31fda68cccdc6a36cb3161e53d6fb0c30f2c5abfed9bd33994b8"
}

Cache-Control

no-store, private

Connection

keep-alive

Content-Length

1743

Content-Type

application/json; charset=UTF-8

Date

Fri, 30 Oct 2020 12:31:09 GMT

Pragma

no-cache

Server

nginx/1.14.2

X-Krakend

Version 1.2.0

X-Krakend

Version 1.2.0

X-Krakend-Completed

false

X-Krakend-Completed

false

X-Powered-By

PHP/7.3.4

X-Ratelimit-Limit

60

X-Ratelimit-Remaining

59


GETUSER DETAILS


https://qa.mobile.api.fuelandfleet.com/api/user/details
AUTHORIZATIONBearer Token
This request is using Bearer Token from collectionDocumentation
HEADERS
Accept

application/json

Content-Type

application/json

Example Request
User Details

curl


curl --location 'https://qa.mobile.api.fuelandfleet.com/api/user/details' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'

200 OK
Example Response
 * Body
 * Headers (12)

View More
json


{
  "id": 62,
  "user": {
    "id": 62,
    "name": "beatriz@ckl.io",
    "email": "beatriz@ckl.io",
    "type": {
      "id": 3,
      "description": "Driver"
    },
    "country": {
      "id": 1,
      "name": "Brasil"
    },
    "createdAt": "2020-09-07T15:54:04.000000Z",
    "updatedAt": "2020-09-07T15:54:04.000000Z"
  },
  "drivers": [
    {
      "id": 11,
      "client_id": 20000002,
      "card_id": "9060720706169693",
      "updated_at": "2020-10-23T17:47:47.000000Z",
      "created_at": "2020-10-23T17:47:47.000000Z"
    },
    {
      "id": 12,
      "client_id": 20000002,
      "card_id": "9060720706169693",
      "updated_at": "2020-10-23T17:49:06.000000Z",
      "created_at": "2020-10-23T17:49:06.000000Z"
    },
    {
      "id": 23,
      "client_id": 20000002,
      "card_id": "9060720706169693",
      "updated_at": "2020-10-28T13:08:03.000000Z",
      "created_at": "2020-10-28T13:08:06.000000Z"
    }
  ],
  "schema": {
    "id": 1,
    "name": "user_fwfrota_br"
  },
  "updated_at": "2020-09-07T15:54:04.000000Z",
  "created_at": "2020-09-07T15:54:04.000000Z"
}

Cache-Control

no-cache, private

Connection

keep-alive

Content-Length

812

Content-Type

application/json

Date

Fri, 30 Oct 2020 12:31:40 GMT

Server

nginx/1.14.2

Set-Cookie

auth_server_session=eyJpdiI6IkM0VkxwMHBZWGhNUmptZXlmektSSmc9PSIsInZhbHVlIjoiUCt5RFdRTEQ2Zi9nR0NGWFlVbTQ1ZWxHZXE4YURIRC8xSzgybSt0R052UmlMbEJVb1hEVUtDSld0SkVrOFVDbmowWXgwY013Y2ZFV2RRdlVpVzNRK3o1VTF0bHdwZEV6TDREdURFVFdaS2dqOEFMZUhzYjFKSkxrbkRCVVVOa0kiLCJtYWMiOiI2ZmNmZWQ3YTM1ZjA4ZmYwZWE2ZGNiYjAxNjQyODNjNzNkNmRlNjYyNjdlMzM3YjlhZDU5YzRlMjQ3MWU3ZGFiIn0%3D;
expires=Fri, 30-Oct-2020 14:31:40 GMT; Max-Age=7200; path=/; httponly;
samesite=lax

X-Krakend

Version 1.2.0

X-Krakend

Version 1.2.0

X-Krakend-Completed

false

X-Krakend-Completed

false

X-Powered-By

PHP/7.3.4


POSTRESET


https://qa.mobile.api.fuelandfleet.com/api/m/user/reset/password/
AUTHORIZATIONBearer Token
This request is using Bearer Token from collectionDocumentation
HEADERS
Accept

application/json

Bodyraw (json)
json


{
	"email": "beatriz@ckl.io"
}

Example Request
Reset

curl


curl --location 'https://qa.mobile.api.fuelandfleet.com/api/m/user/reset/password/' \
--header 'Accept: application/json' \
--data-raw '{
	"email": "beatriz@ckl.io"
}'

Example Response
 * Body
 * Headers (0)

No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers