Fuel Card API

List fuel card providers.

Retrieves the collection of FuelCardProviderResource resources.


Open Swagger Specification

Endpoint

    GET - https://api.travisroadservices.com/v1/fuel_card_providers
    Copy
  

Query params

Parameter Type Description
appSystemParts string Filters providers by the system parts they support. Multiple values can be passed to broaden the filter.
isManageable string Filters providers by whether they are manageable.
page string The collection page number
itemsPerPage string The number of items per page

Request body

No request body

Response body

Response 200

FuelCardProviderResource collection

Fields

Field Type Description
id integer Unique identifier of the fuel card provider.
name string Display name of the fuel card provider.
cardPaymentImage string URL to the card payment image for this provider.
cardMask string Mask pattern used to display the card number (e.g. **** **** 1234).
cardLength integer Expected length of the card number for this provider.
hasExpiryDate boolean Indicates whether this provider requires an expiry date on the card.
hasCvcCode boolean Indicates whether this provider requires a CVC code on the card.
isValidInEurope boolean Indicates whether this fuel card is valid for use in Europe.
appSystemParts array List of system parts where this fuel card provider is supported.
cardRegex string Regular expression pattern used to validate card numbers for this provider.

Example

Response 401

No response body - No bearer token set verify if your token is added as bearer token

Response 403

No response body - You don't have access to this API resource