The Ramp sandbox is a full-fledged environment in which you can explore different API endpoints and test your application.
Go to siteThe Ramp (Sandbox) API provides programmatic access to manage corporate cards and spending in a controlled environment, ideal for testing and development. With this API on Pipedream, developers can automate financial operations, synchronize accounting data, and streamline expense management workflows. Leveraging Pipedream's capabilities, users can integrate Ramp with other services to enhance financial visibility, automate reconciliation processes, and trigger actions based on spending activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ramp_sandbox: {
type: "app",
app: "ramp_sandbox",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://demo-api.ramp.com/developer/v1/business`,
headers: {
Authorization: `Bearer ${this.ramp_sandbox.$auth.oauth_access_token}`,
},
})
},
})
Automated Expense Reporting
Connect the Ramp (Sandbox) API to Google Sheets on Pipedream to automatically update a spreadsheet whenever a new transaction is recorded. This workflow can help finance teams maintain real-time visibility of expenses without manual data entry.
Real-Time Budget Alerts
Use the Ramp (Sandbox) API with Slack on Pipedream to send instant notifications to a designated channel whenever a transaction exceeds a predefined threshold. This is crucial for teams that want to keep tight control over their budgets and prevent overspending.
Synchronized Financial Records
Integrate Ramp (Sandbox) with QuickBooks on Pipedream to automatically sync transaction details and receipts for seamless accounting. This workflow automates the reconciliation process, reducing errors and saving time for accounting departments.
Emit new event for each new transaction created in Ramp.
Emit new event when there is a change in transaction status.
Emit new event when the status of a transfer payment changes
Sends out an invite for a new user. See the documentation
Creates a new virtual card for a given user. See the documentation
Uploads a receipt for a given transaction and user. See the documentation
Ramp (Sandbox) uses OAuth authentication. When you connect your Ramp (Sandbox) account, Pipedream will open a popup window where you can sign into Ramp (Sandbox) and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Ramp (Sandbox) API.
Pipedream requests the following authorization scopes when you connect your account:
transactions:read
cards:read
cards:write
spend_programs:read
spend_programs:write
users:read
users:write
locations:read
locations:write
limits:read
limits:write
departments:read
departments:write
business:read
receipts:read
transfers:read
vendors:read
merchants:read
accounting:read
receipts:write
GET
https://demo.ramp.com/v1/authorize
?
client_id={{oauth.client_id}}
&
redirect_uri={{oauth.redirect_uri}}
&
state={{oauth.state}}
&
response_type=code
&
scope={{oauth.space_separated_scopes}}
POST
https://demo-api.ramp.com/developer/v1/token
content-type: application/x-www-form-urlencoded
accept: application/json
redirect_uri={{oauth.redirect_uri}}
&
grant_type=authorization_code
&
code={{oauth.code}}
POST
https://demo-api.ramp.com/developer/v1/token
content-type: application/x-www-form-urlencoded
accept: application/json
grant_type=refresh_token
&
refresh_token={{oauth.refresh_token}}