Ramp Integration
Connect your Ramp corporate card account for automated expense categorization, reimbursement tracking, and journal entry creation.
What Gets Synced
| Data | Description |
|---|---|
| Card transactions | Expense journal entries with category mapping |
| Reimbursements | Employee reimbursement tracking as AP |
| Merchants | Merchant name normalization |
| Categories | Ramp category to GL account mapping |
| Receipts | Receipt and memo data for audit trail |
Connect Ramp
OAuth (Recommended)
From the Integrations page in DayZero, click Connect Ramp. You'll be redirected to Ramp to authorize access.
Or via API:
curl "https://api.ondayzero.com/api/v1/ramp/connect-url" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID"The response includes a connect_url. Redirect the user to that URL to begin the OAuth flow. After authorization, DayZero stores the connection and begins syncing transactions.
Client credentials (Bring your own Ramp Developer App)
Use this when your business created its own Ramp Developer App (Company → Developer → Create New App) with the Client Credentials grant type enabled.
From the Integrations page, enter your Client ID and Client Secret and click Connect Ramp.
Or via API — the body must be a flat JSON object (not wrapped in data):
curl -X POST "https://api.ondayzero.com/api/v1/ramp/connect-with-credentials" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID" \
-H "Content-Type: application/json" \
-d '{"client_id":"ramp_id_...","client_secret":"..."}'Required Ramp app setup:
- Grant type: Client Credentials
- Scopes: configure the scopes your integration needs in the Ramp Developer Console (e.g.
transactions:read,business:read,cards:read,users:read,departments:read) - Copy the Client ID (
ramp_id_...) and Client Secret from the app settings
Automatic Accounting
When a corporate card transaction occurs, DayZero creates journal entries:
- Card purchase: Debit Expense Account / Credit Ramp Card Payable
- Card payment: Debit Ramp Card Payable / Credit Cash
- Reimbursement approved: Debit Expense Account / Credit Reimbursement Payable
- Reimbursement paid: Debit Reimbursement Payable / Credit Cash
Expense accounts are mapped from Ramp's category data. You can customize the category-to-GL mapping in Settings.
Connection Status
curl "https://api.ondayzero.com/api/v1/ramp/status" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID"Returns connection health, transaction count, and last sync timestamp.
Manual Sync
Trigger a manual sync of recent transactions and reimbursements:
curl -X POST "https://api.ondayzero.com/api/v1/ramp/sync" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID"Webhooks
DayZero processes the following Ramp webhook events in real time:
| Event | Action |
|---|---|
TRANSACTION_CREATED |
Creates expense journal entry |
TRANSACTION_UPDATED |
Updates existing transaction record |
REIMBURSEMENT_CREATED |
Creates reimbursement AP entry |
REIMBURSEMENT_UPDATED |
Updates reimbursement status |
Disconnect
curl -X DELETE "https://api.ondayzero.com/api/v1/ramp/disconnect" \
-H "Authorization: Bearer dz_your_token_here" \
-H "x-business-id: YOUR_BUSINESS_ID"Removes stored credentials and disconnects the Ramp integration from the business.