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.
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.