Marketplace Transfers

Marketplace transfers move custodial funds from your marketplace balance to one of your sub-merchants — for bonuses, refund top-ups, corrections, or manual revenue sharing. Only the marketplace → sub-merchant direction is supported.

Endpoints

All routes use your marketplace API key, without X-On-Behalf-Of:

ActionEndpoint
Create a transferPOST /api/connect/transfers
Get a transferGET /api/connect/transfers/{transferId}
List transfersGET /api/connect/transfers

Creating a Transfer

curl -X POST https://api.inflowpay.xyz/api/connect/transfers \
  -H "X-Inflow-Api-Key: your_marketplace_key" \
  -H "Content-Type: application/json" \
  -d '{
    "originId": "usr_marketplace",
    "destinationId": "usr_submerchant",
    "amountInCents": 5000,
    "currency": "USDC",
    "idempotencyKey": "transfer-2026-06-12-001",
    "description": "Weekly bonus for seller Alpha"
  }'

Fields

FieldTypeRequiredDescription
originIdstringYesUser id of the account to debit — must be your own marketplace account
destinationIdstringYesUser id of the account to credit — must be a sub-merchant you own
amountInCentsinteger (≥ 1)YesAmount in minor units (cents)
currencyUSDC | EURCNoStablecoin to move (default: USDC)
idempotencyKeystringNoRe-sending the same key returns the existing transfer instead of creating a duplicate — recommended for retries
descriptionstringNoFree-form description stored on the transfer
metadataobjectNoArbitrary metadata attached to the transfer

Use an idempotencyKey on every transfer you might retry (network errors, job re-runs). Without it, a retried request creates a second transfer.

Tracking Transfers

# One transfer
curl https://api.inflowpay.xyz/api/connect/transfers/{transferId} \
  -H "X-Inflow-Api-Key: your_marketplace_key"

# All transfers (paginated, filterable)
curl "https://api.inflowpay.xyz/api/connect/transfers?page=1&limit=20" \
  -H "X-Inflow-Api-Key: your_marketplace_key"

Related

  • Fees and Payouts — how marketplace fees are collected in the other direction (sub-merchant → marketplace).
  • Acting on Behalf Of — spending or paying out a sub-merchant's balance once credited.