Dime Bridge v2 lets a marketplace merchant take payments on behalf of other merchants it has linked. Every link is consented to by the linked merchant, every payment names one linked merchant, and payouts to several merchants go through Bridge transfers.
All endpoints are on the Partner API (/dapi/v2) and use the marketplace's own API key (X-Dime-Client header plus its secret key as Authorization: Bearer).
Replacing the old
split? See Migrating from v1 split. The previous guide is kept as Dime Bridge v1 split.
| Term | Meaning |
|---|---|
| Marketplace | The merchant whose API key makes the calls. Needs Dime Bridge enabled. |
| Linked merchant | A Dime merchant that agreed to let the marketplace transact for it. |
Bridge request (token brq…) | The marketplace's invitation to a merchant. |
| Bridge link | A short-lived, single-use URL that opens co-branded onboarding or approval. It has no token; the URL is its only identifier. |
Bridge merchant (token brm…) | The active link between the marketplace and one linked merchant. Its token is the destination you pay. |
| Bridge fee | What the marketplace keeps from a Bridge payment. |
Bridge transfer (token btr…) | Money moved from the marketplace's wallet to a linked merchant's wallet. |
Every Bridge record is named by its token, like every other v2 object: in URLs, in request fields and in webhooks. Database ids are never returned and are not accepted.
POST /dapi/v2/bridge/requests{
"email": "vendor@example.com",
"account_type": "standard",
"capabilities": { "payments": true, "transfers": true },
"prefill": {
"business_name": "Jane's Store",
"business_type": "SOLE_TRADER",
"first_name": "Jane",
"last_name": "Doe",
"phone_number": "+18765550123",
"website_url": "https://janestore.example",
"mcc": "5734",
"address_street": "1 Market St",
"address_city": "Kingston",
"address_country": "JM"
},
"return_url": "https://marketplace.example/dashboard",
"refresh_url": "https://marketplace.example/bridge/refresh?req=brq_ksV-MbRi_uWgDF4iD_jNf6oBHl_PIq3pl8",
"metadata": { "vendor_id": "v_123" }
}account_type: onlystandard(a full Dime merchant) is available.express(a merchant bound only to your marketplace) is reserved and currently returnsparameter_unsupported.prefill: anything you already know. It is filled in during signup so the merchant does not retype it. Each field must match the formats and lists in Prefill fields; a bad value rejects the request. A prefilled MCC still goes through Dime's compliance review.statusstayspendinguntil the request is resolved. The response never tells you whether the email already has a Dime account.
Other endpoints: GET /bridge/requests, GET /bridge/requests/:token, POST /bridge/requests/:token/cancel. Requests expire after 30 days.
Every prefill field is optional. Dime checks each value against the same rules a merchant would face signing up directly, and normalizes it before storing it:
- Unknown keys,
nulland empty strings are dropped. Text is trimmed and repeated spaces are collapsed. <,>and control characters are rejected in every field.- The first invalid field rejects the whole request with
400 parameter_invalidandparamset toprefill.<field>. Nothing is created. - The stored, normalized values are what
GET /bridge/requests/:tokenreturns.
| Field | Accepted values | Stored as |
|---|---|---|
business_name | Text, up to 100 characters. | As sent. |
legal_name | Text, up to 100 characters. | As sent. |
business_type | SOLE_TRADER, PARTNERSHIP, LIMITED_LIABILITY_COMPANY or NON_PROFIT. Case does not matter; spaces and hyphens count as underscores (sole trader works). | Upper case, e.g. SOLE_TRADER. |
first_name, last_name | Up to 50 characters. Letters in any alphabet, spaces, apostrophes, hyphens and periods. No digits or other symbols. | As sent. |
phone_number | A number that is valid for its country's numbering plan. Send international format (+18765550123). A national number (876-555-0123) is accepted only when you also send address_country (or country); it is read as a number in that country. | E.164, e.g. +18765550123. |
website_url | An absolute https:// or http:// URL on a public domain name, up to 2048 characters. No IP addresses, localhost or user:password@. A bare domain such as janestore.example is rejected. | Normalized URL, e.g. https://janestore.example/. |
mcc | A 4-digit code from Supported MCCs. A number such as 742 is padded to 0742. Dime still reviews a prefilled MCC before the merchant is approved. | 4-digit string. |
address_country | ISO 3166-1 alpha-2 (JM), alpha-3 (JAM) or the English country name (Jamaica). | Alpha-2, e.g. JM. |
country | Same as address_country. Prefer address_country; if you send both, they must be the same country. | Alpha-2. |
currency | An ISO 4217 code Dime supports for merchants (list below). When a country is sent, it must be USD or that country's local currency (JMD for JM). | Upper case, e.g. JMD. |
address_street | Text, up to 200 characters. | As sent. |
address_city, address_state | Text, up to 100 characters each. | As sent. |
address_postal_code | Up to 12 letters, digits, spaces and hyphens, starting and ending with a letter or digit. | Upper case, e.g. JMAAW10. |
Business types
| Value | Use for |
|---|---|
SOLE_TRADER | One person trading in their own name, including registered business names. |
PARTNERSHIP | Two or more owners trading together without incorporating. |
LIMITED_LIABILITY_COMPANY | An incorporated company (Ltd, LLC, Inc). |
NON_PROFIT | Charities, churches, NGOs and registered associations. |
Phone numbers by country
Numbers are checked against each country's numbering plan, so area codes and lengths must be real. Examples of valid numbers:
| Country | Format | Example |
|---|---|---|
Jamaica (JM) | +1 876 or +1 658, then 7 digits | +18762101234 |
Trinidad and Tobago (TT) | +1 868, then 7 digits | +18682911234 |
Barbados (BB) | +1 246, then 7 digits | +12462501234 |
Bahamas (BS) | +1 242, then 7 digits | +12423591234 |
Cayman Islands (KY) | +1 345, then 7 digits | +13453231234 |
Antigua and Barbuda (AG) | +1 268, then 7 digits | +12684641234 |
Saint Lucia (LC) | +1 758, then 7 digits | +17582845678 |
Grenada (GD) | +1 473, then 7 digits | +14734031234 |
Guyana (GY) | +592, then 7 digits | +5926091234 |
Suriname (SR) | +597, then 6 or 7 digits | +5977412345 |
United States (US) / Canada (CA) | +1, then a 10-digit number | +12015550123 |
United Kingdom (GB) | +44, then 9 or 10 digits | +447400123456 |
Every other country follows its own numbering plan in the same way.
Supported currencies
AED, ANG, AOA, ARS, AUD, AWG, BBD, BDT, BGN, BHD, BOB, BRL, BSD, BWP, BZD, CAD, CHF, CLP, CNY, COP, CRC, CUP, CZK, DKK, DOP, DZD, EGP, ETB, GBP, GHS, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, JMD, JOD, JPY, KES, KHR, KRW, KWD, KYD, LAK, LBP, LKR, LYD, MAD, MMK, MNT, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PHP, PKR, PLN, PYG, QAR, RON, RUB, RWF, SAR, SDG, SEK, SGD, SRD, THB, TND, TRY, TTD, TWD, TZS, UGX, USD, UYU, VES, VND, XAF, XCD, XOF, ZAR, ZMW, ZWL.
Example error
{
"error": {
"type": "invalid_request_error",
"code": "parameter_invalid",
"message": "prefill.mcc 1234 is not on Dime's supported MCC list. See the Dime Bridge guide for the list.",
"param": "prefill.mcc"
}
}| MCC | Category |
|---|---|
0742 | Veterinary Services |
0763 | Agricultural Co-operatives |
0780 | Horticultural / Landscaping Services |
1520 | General Contractors – Residential & Commercial |
1711 | Air Conditioning, Heating, & Plumbing Contractors |
1731 | Electrical Contractors |
1740 | Masonry, Tile Setting, Plastering Contractors |
1750 | Carpentry Contractors |
1761 | Roofing, Siding, & Sheet Metal Contractors |
1771 | Concrete Work Contractors |
1799 | Special Trade Contractors (Not Elsewhere Classified) |
2741 | Miscellaneous Publishing and Printing |
4011 | Railroads – Freight |
4111 | Local Suburban Commuter Passenger Transportation & Ferries |
4112 | Passenger Railways |
4119 | Ambulance Services |
4121 | Taxicabs, Limousines, & Ride-Sharing Services |
4131 | Bus Lines |
4214 | Motor Freight Carriers, Trucking, & Moving Companies |
4215 | Courier Services (Air/Ground) & Express Delivery |
4411 | Cruise Lines & Steamships |
4511 | Airlines & Air Carriers (Not Elsewhere Classified) |
4582 | Airports, Flying Fields, & Terminals |
4722 | Travel Agencies & Tour Operators |
4784 | Tolls & Bridge Fees |
4812 | Telecommunication Equipment & Telephone Sales |
4814 | Telecommunication Services |
4816 | Computer Network / Information Services |
4829 | Wire Transfers & Money Orders |
4899 | Cable, Satellite, & Other Pay TV/Streaming Services |
4900 | Utilities – Electric, Gas, Water, Sanitary |
5045 | Computers, Peripherals, & Software (Wholesale) |
5111 | Stationery, Office Supplies, & Printing Paper |
5122 | Drugs, Proprietaries, & Druggist Sundries |
5200 | Home Supply Warehouse Stores |
5211 | Lumber & Building Materials Stores |
5251 | Hardware Stores |
5300 | Wholesale Clubs |
5310 | Discount Stores |
5311 | Department Stores |
5411 | Grocery Stores & Supermarkets |
5462 | Bakeries |
5511 | Car and Truck Dealers (New & Used) |
5541 | Service Stations (With or Without Ancillary Service) |
5542 | Automated Fuel Dispensers (AFD) |
5611 | Men's & Boys' Clothing Stores |
5621 | Women's Ready-to-Wear Stores |
5651 | Family Clothing Stores |
5661 | Shoe Stores |
5712 | Furniture, Home Furnishings, & Equipment Stores |
5722 | Household Appliance Stores |
5732 | Electronics Stores |
5734 | Computer Software Stores |
5811 | Caterers |
5812 | Eating Places & Restaurants |
5813 | Drinking Places (Bars, Taverns, Nightclubs) |
5814 | Fast Food Restaurants |
5815 | Digital Goods – Books, Movies, Music |
5816 | Digital Goods – Games |
5817 | Digital Goods – Applications (Excluding Games) |
5818 | Digital Goods – Large Merchants |
5912 | Drug Stores & Pharmacies |
5941 | Sporting Goods Stores |
5942 | Book Stores |
5967 | Direct Marketing – Inbound Teleservices |
5968 | Direct Marketing – Continuity / Subscription Merchants |
5969 | Direct Marketing – Other Direct Marketers |
7011 | Lodging – Hotels, Motels, & Resorts |
7210 | Laundry, Cleaning, & Garment Services |
7230 | Barber & Beauty Shops |
7273 | Dating Services |
7276 | Tax Preparation Services |
7311 | Advertising Services |
7372 | Computer Programming, Data Processing, & Systems Design |
7392 | Management, Consulting, & Public Relations Services |
7399 | Business Services (Not Elsewhere Classified) |
7538 | Automotive Service Shops |
7995 | Gambling Transactions, Lotteries, & Betting |
7997 | Membership Sports & Recreation Clubs |
8011 | Doctors & Physicians |
8021 | Dentists & Orthodontists |
8062 | Hospitals |
8111 | Legal Services & Attorneys |
8211 | Elementary & Secondary Schools |
8220 | Colleges, Universities, & Professional Schools |
8398 | Charitable & Social Service Organizations |
8931 | Accounting, Auditing, & Bookkeeping Services |
8999 | Professional Services (Not Elsewhere Classified) |
9211 | Court Costs, Alimony, & Child Support Payments |
9222 | Government Fines & Penalties |
9311 | Tax Payments |
9399 | Government Services (Not Elsewhere Classified) |
9402 | Postal Services – Government Only |
POST /dapi/v2/bridge/requests/:token/links{ "object": "bridge_link", "url": "https://portal.dimepay.app/bridge/onboard/brl_…", "bridge_request": "brq_ksV-MbRi_uWgDF4iD_jNf6oBHl_PIq3pl8", "expires_at": "…" }Redirect the merchant's browser to url.
- Single use. Once it is opened, it cannot be opened again.
- Short-lived. If unused, it expires after 10 minutes.
- Refresh. If the link has expired or was already used, the page sends the merchant to your
refresh_url. Your server then creates a new link and redirects the merchant to it. Creating a new link cancels any earlier link that has not been opened.
What the merchant sees:
- Already a Dime merchant (Dime checks the email when you create the request; you are not told):
- Not signed in: they sign in as the invited email and come back to the page.
- Signed in as the invited email: they pick which of their stores to link, enter a code emailed to the invited address, and approve or decline.
- Signed in as someone else: they are asked to sign out and reopen the link.
- No Dime account: co-branded signup, prefilled from
prefill, with an explicit consent step. If someone is signed in on that browser, they are asked to sign out first. The link is created when they submit onboarding (bridge_merchant.activated,payments_enabled: false). When Dime approves them you receivebridge_merchant.updatedwithpayments_enabled: true.
Signing in or out on the way does not use up the link.
Afterwards the merchant is sent back to your return_url.
GET /bridge/merchants, GET /bridge/merchants/:token, POST /bridge/merchants/:token/revoke.
payments_enabled is true when the link is active, the merchant granted payments, and Dime has approved the merchant. The linked merchant can also revoke the link from its portal.
Add bridge to POST /orders, POST /payments/hosted-page, POST /payments/sale or POST /payments/auth, or to a Web SDK checkout.
"bridge": { "destination": "brm_9CKxgfQk_jDKOHNVm_H8696T87_2alsOAP", "merchant_of_record": "marketplace", "fee": 10.00 }
"bridge": { "destination": "brm_9CKxgfQk_jDKOHNVm_H8696T87_2alsOAP", "merchant_of_record": "marketplace", "amount": 90.00 }
"bridge": { "destination": "brm_9CKxgfQk_jDKOHNVm_H8696T87_2alsOAP", "merchant_of_record": "linked_merchant", "fee": 10.00 }merchant_of_record defaults to marketplace.
marketplace | linked_merchant | |
|---|---|---|
| Whose sale it is / processor profile / descriptor | Marketplace | Linked merchant |
| Dime's processing fee paid by | Marketplace | Linked merchant |
| Linked merchant receives | amount, or total − fee | total − Dime fee − fee |
| Marketplace receives | total − linked amount − Dime fee | fee |
| Chargeback liability | Marketplace | Linked merchant |
| Allowed | fee or amount | fee only |
Example: total 100.00, fee 10.00, Dime fee 3.20, marketplace is merchant of record. The customer pays 100.00, the linked merchant gets 90.00 and the marketplace keeps 6.80.
The payment is rejected if any party's share would be negative.
Other rules:
- Only one linked merchant per payment. To pay several, see Bridge transfers.
merchant_descriptor_overrideis accepted on these endpoints. It replaces the card-statement name, which by default is the merchant of record's business name.- Bridge payments cannot be subscriptions yet.
- When the linked merchant is merchant of record, you can still retrieve, capture, void and refund the payment with your own key.
- When a payment settles, the other party's share is recorded as a separate fee or payout transaction (
bridge.roleismarketplace_feeorlinked_payout, andbridge.parent_transaction_idis the main payment's token). Sending its token toPUT /payments/refundrefunds the main payment it belongs to:amountis the customer refund amount (omit it to refund the rest of the payment), and the refund flags decide how the shares move. It can't be captured or voided on its own. The linked merchant can't refund your payment through its payout record.
Responses include:
"bridge": { "destination": "brm_9CKxgfQk_jDKOHNVm_H8696T87_2alsOAP", "merchant_of_record": "marketplace", "fee": 10, "amount": null,
"linked_amount": 90, "marketplace_net": 6.8, "dime_fee": 3.2, "refunds": null }The figures are estimates until the payment settles. After settlement they are the actual amounts.
Put the same bridge block in the order claims you sign into the SDK's data:
{ "id": "ORDER-001", "currency": "JMD", "total": 2950, "subtotal": 2950,
"bridge": { "destination": "brm_9CKxgfQk_jDKOHNVm_H8696T87_2alsOAP", "merchant_of_record": "linked_merchant", "fee": 200 } }- Web SDK 2.x sends it to
POST /dapi/v2/orders/sdk.onSuccessreceives the payment, the same objectPOST /payments/salereturns, includingbridge. - Web SDK 1.x (
/api/v1/orders/sdk) also acceptsbridge. Don't send it together with the deprecatedsplit. - The same rules apply as on the other endpoints. In addition, a Bridge order can't use
settlement_overrideorusd_preferred, because the shares are worked out in the charge currency. - Webhooks go to you, the merchant whose key signed the order, even when the linked merchant is merchant of record.
PUT /payments/refund accepts optional flags, like Stripe's reverse_transfer and refund_application_fee:
{ "transaction_id": "…", "amount": 40.00,
"bridge": { "refund_from_linked_account": true, "refund_bridge_fee": true } }A full refund unwinds everything, whatever the flags. When the payment ends fully refunded, each party gives back all it received, and Dime and the bank return their fees. If earlier partial refunds were split differently, the refund that completes the payment debits or credits back the difference.
Partial refunds: the flags decide. Wallets pay the refund amount in full; fees are returned when the payment is fully refunded. Example: a 100.00 payment where the linked merchant got 90.00, the marketplace kept 6.80 and the fees were 3.20; a refund of 40:
| Merchant of record | Flags | Refund of 40 |
|---|---|---|
| Marketplace | none | Marketplace −40 |
| Marketplace | refund_from_linked_account | Linked merchant −40, marketplace −0 (keeps its commission; capped at what the linked merchant received) |
| Marketplace | both | Linked merchant −36, marketplace −4 |
| Marketplace | refund_bridge_fee only | parameter_invalid |
| Linked merchant | none | Linked merchant −40 |
| Linked merchant | refund_bridge_fee | Linked merchant −36, marketplace −4 (fee 10 of 100) |
| Linked merchant | refund_from_linked_account | parameter_invalid |
reverse_linked_share is still accepted as a deprecated name for refund_from_linked_account.
Refund fee. The linked merchant always pays the refund fee: the marketplace sells on its behalf.
Refund transactions. The merchant of record's refund is the refund transaction the API returns. When the other party pays part of a refund, or the refund fee, it gets its own refund transaction (bridge.role is counterparty_refund) with its ledgers, so it sees the refund in its transaction list. That transaction refunds its fee or payout record, not the main payment. Refund and void transactions carry the id the processor gave them in external_transaction_id.
Other rules:
- Every channel. These rules apply to refunds from any channel, including the dashboard. Only the v2 API can send the flags; other channels use the no-flags behaviour.
- One ledger job. The Bridge part of a refund is written in the same ledger job as the rest of the refund. Running totals appear on the payment's
bridge.refunds:refunded_total,linked_debited,marketplace_debitedandfees_returned. - Balance check. Before the customer is refunded, the party paying must have enough available balance, including the refund fee for the linked merchant. If its credit from this payment is still on hold, that held money counts.
- Chargebacks. The merchant of record is debited the whole charge, including the other party's share. A won chargeback credits it back. Recovering the other party's share is up to the marketplace.
POST /dapi/v2/bridge/transfers
Idempotency-Key: 6a1f…{ "destination": "brm_9CKxgfQk_jDKOHNVm_H8696T87_2alsOAP", "amount": 25.00, "currency": "JMD",
"source_transaction_id": "txn_PBFpP02o_roeIDWon_7xBHS7NT_d9FsXV1", "description": "Order 1234 vendor payout",
"items": [{ "name": "Handmade mug", "price": 12.50, "quantity": 2, "sku": "MUG-01" }] }The money moves from the marketplace's available wallet balance to the linked merchant's wallet. The transfer is returned pending and becomes complete once the money has moved, normally within seconds; bridge_transfer.created is sent then. A pending transfer already counts against the marketplace's available balance. The link must have the transfers capability.
Each transfer shows up as a transaction on both sides, each with its own order (origin_type BRIDGE_TRANSFER) holding the items:
- The linked merchant sees an incoming "Dime Bridge transfer from {marketplace}".
- You see an outgoing "Dime Bridge transfer to {linked merchant}".
The response gives both as tokens: transaction (yours) and destination_transaction (the linked merchant's). Payment refund endpoints don't accept these transactions; reverse the transfer instead.
Other rules:
- The currency must match the wallet; there is no FX.
- With
source_transaction_id, total transfers for that payment cannot exceed what the marketplace netted from it. - Sending the same
Idempotency-Keyagain returns the original transfer. Reusing the key with different parameters returns409.
To read transfers: GET /bridge/transfers (filter by destination or source_transaction_id) and GET /bridge/transfers/:token.
Take back all or part of a transfer, for example when the order behind it is refunded or an item comes back:
POST /dapi/v2/bridge/transfers/btr_ghUDrzcz_8WNcGewb_HC7S6U6-_gR-3I3w/reversals
Idempotency-Key: 9c2e…{ "amount": 10.00, "description": "Order 1234 item returned" }Leave out amount (send {}) to take back everything not yet reversed. Only a complete transfer can be reversed. The response is a bridge_transfer_reversal with status: pending; it becomes complete once the money has moved from the linked merchant's wallet back to the marketplace's, and bridge_transfer.reversed is sent then:
{ "token": "trr_…", "object": "bridge_transfer_reversal", "transfer": "btr_ghUDrzcz_8WNcGewb_HC7S6U6-_gR-3I3w",
"amount": 10, "currency": "JMD", "status": "pending", "description": "Order 1234 item returned", "metadata": null, "created_at": "…" }- Like a refund: each side gets a refund transaction on the transfer's order, pointing at the transfer's transaction. It is
PARTIAL_REFUND, orREFUNDonce everything is reversed, after which the orders showREFUNDED. Senditemsto show what is being reversed; they appear on both refund transactions. - Partial reversals: you can make several, up to the transfer amount. The transfer shows
amount_reversed. Once it's all back,reversedistrueandstatusisreversed. - The linked merchant's balance: its available balance must cover the reversal. If it has already spent or withdrawn the money, the request fails with
insufficient_balanceand nothing moves. - Revoked links: a transfer can still be reversed after the link is revoked.
- Transferring again: money reversed from a transfer with
source_transaction_idcounts again towards what you can transfer for that payment. - Idempotency: sending the same
Idempotency-Keyagain returns the original reversal. Reusing it with a differentamountreturns409. - Webhook: you receive
bridge_transfer.reversedwith the reversal and the updated transfer.
To read a transfer's reversals: GET /bridge/transfers/:token/reversals.
Payment, refund and chargeback webhooks for a Bridge payment go to the merchant that created it, the marketplace, even when the linked merchant is merchant of record. They carry the main payment's token. The linked merchant receives no webhooks for payments you create, and fee and payout transactions send none.
These Bridge events are also sent to the marketplace's webhook endpoints:
bridge_request.created,bridge_request.approved,bridge_request.declined,bridge_request.cancelled,bridge_request.expiredbridge_merchant.activated,bridge_merchant.updated,bridge_merchant.revokedbridge_transfer.created,bridge_transfer.failed
| v1 | v2 |
|---|---|
split: [{ merchant_id: "m…", fee }] with items tagged by merchant_id | bridge: { destination: "<linked merchant token>", fee } |
| Any merchant token could be named | Only linked merchants (consented, approved) |
| Each child merchant pays MDR | The merchant of record pays MDR (see table above) |
| Several merchants per payment | One per payment, plus Bridge transfers |
| Full refunds only | Full and partial, with reversal flags |
Steps:
- For each merchant you split to today, create a Bridge request and have the merchant approve it.
- Replace
splitwithbridge. - For multi-vendor carts, take the payment with
merchant_of_record: "marketplace", then send onePOST /bridge/transfersper vendor withsource_transaction_id.
- Dime Bridge endpoints: requests, links, linked merchants and transfers.
- Orders and Payments: the
bridgefield and refund options. - API v2 overview: authentication, errors and webhooks.
- Test cards: cards for trying Bridge in sandbox.