Overview
Use of the Spend APIs requires the Spend Management Platform API entitlement. Work with your company Account Manager for access.
Spend APIs read/update bills, card transactions, reimbursements, finance vendors, and finance categories from Rippling's Spend Management product. This data can be used to power automations, inform analytics, and define policies.
Core concepts
- Bill: A vendor bill, including invoice and payment details.
- Card transaction: A posted card charge or a pending authorization.
- Reimbursement: An expense reimbursement, including mileage and per diem.
- Finance vendor: A vendor in the company's finance directory. Archived vendors remain available so historical transactions can still resolve their vendor.
- Finance category: A category used to classify transaction line items. Inactive categories remain available for historical references.
Available endpoints
| API endpoint | Required scopes | Schema | Notes / Requirements |
|---|---|---|---|
| GET List bills |
|
|
|
| GET Retrieve a specific bill |
|
|
|
| PATCH Update a bill |
|
|
|
| GET List card transactions |
|
|
|
| GET Retrieve a specific card transaction |
|
|
|
| PATCH Update a card transaction |
|
|
|
| POST Upload a receipt to a card transaction |
|
|
|
| GET List reimbursements |
|
|
|
| GET Retrieve a specific reimbursement |
|
|
|
| PATCH Update a reimbursement |
|
|
|
| POST Upload a receipt to a reimbursement |
|
|
|
| GET List finance vendors |
|
| |
| GET Retrieve a specific finance vendor |
|
|
|
| GET List finance categories |
|
| |
| GET Retrieve a specific finance category |
|
|
|
Permissions & scopes
Rippling's V2 API uses a permissions-based access model. The data returned by an endpoint depends on:
- The permission profile of the user who creates the API token. This includes the permission scope (e.g., “The entire company” vs. “Direct reports only”) and employment data access level (e.g., “View and edit all sensitive data” vs. “View all basic personal”).
- The scopes selected when the token is created.
The Required Scopes for each endpoint are listed in the API reference documentation.
For more information on managing access using API tokens and permission profiles, see API Tokens and Permissions.
Call the API
To call a Spend API endpoint:
- Verify the user’s permission profile and ensure they have the permissions required to access the desired data.
If the user’s permissions are limited (for example, “Basic personal data for direct reports only”):
- Some scopes will not be available when creating the API token.
- The API response will return limited data.
- Create an API token in the Developer app with the required scopes.
- Call the endpoint using the generated token.
Some endpoints require a specific resource ID (for example, a worker_id). In these cases, call the corresponding list endpoint first to fetch the ID (e.g. call GET List workers before calling GET Retrieve a specific worker).
Example: GET List finance vendors
Request:
curl -L -X GET 'https://rest.ripplingapis.com/finance-vendors/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer REDACTED'
Response:
{
"results": [
{
"id": "66a43405af71f094991bf94f",
"created_at": "2024-07-26T23:41:12.243000+00:00",
"updated_at": "2024-07-27T10:37:57.891000+00:00",
"name": "Northwind Supplies",
"logo": null,
"is_archived": false
}
],
"next_link": null
}
