API Requests
Every request to FlexShopper API must include an API Key in the Authorization header. This API Key is provided by FlexShopper.
Request body parameters
To construct a REST API request, combine these components:
Component | Description |
The HTTP method |
|
The URL to the API service | Sandbox. Live. |
The URI to the resource | The resource to query, submit data to, update, or delete. For example, |
Query parameters | Optional. Controls which data appears in the response. Use to filter, limit the size of, and sort the data in an API response. |
HTTP request headers | Includes the |
A JSON request body | Required for most |
All monetary values included in the request (prices, costs, etc.) are displayed as dollars.
Authorization Headers
To access a customer's resources such as applications or leases, the request must be signed with a temporary JSON Web Token. JWT tokens are generated by customer approval and stored in the Customer-Token
header.
Key | Required | Description |
Authorization | Yes | FlexShopper API Key. |
Customer-Token | No | Temporary token to access customers resources. |
Last updated