/api/v2/transfers/user-to-masterCreate a transfer from user to master account
Company API-key operation for a selected user in the key's company; no user identity claim is required on the API key. Implicit mandate selection uses the newest eligible active mandate for that user/company/currency, skipping exhausted or invalid terms before reserving allowance. Use the existing externalReferenceId for durable replay of the original collection, including a completed one-time mandate. Conflicting amount/currency returns 400 INVALID_TRANSFER_REQUEST. Pending/uncertain provider outcomes remain pending/PROCESSING rather than completed; check the recorded transfer and reconcile before another dispatch. Amount must be positive, with at most six decimal places for USDT/USDC and two for other currencies. Invalid precision returns 400 INVALID_TRANSFER_REQUEST. Mandate allowance is reserved before provider dispatch across payment collections and user-to-master transfers. Outstanding, uncertain and completed collections count toward the period allowance. A one-time mandate allows one outstanding/completed collection; definite no-debit outcomes release the reservation. Unresolved historical operations also count.
Authentication
Send your API key in the x-api-key header on every request.
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
| RequireWalletOutflowsEnabled | boolean | No | Require company outflows before collecting funds for a subsequent recipient credit. |
| UserId | unknown | Yes | |
| Amount | string | Yes | Amount must be positive, with at most six decimal places for USDT/USDC and two for other currencies. Invalid precision returns 400 INVALID_TRANSFER_REQUEST. |
| Currency | string | Yes | |
| Description | string | No | |
| ExternalReferenceId | string | No | Optional stable collection reference within company/user. Repeating the same amount/currency replays the recorded transfer without redispatch; conflicting terms return 400 INVALID_TRANSFER_REQUEST. |
| Metadata | object | No |
Responses
201 — Created
| Field | Type | Required | Description |
|---|---|---|---|
| Id | unknown | No | |
| UserId | unknown | No | |
| Status | TransferStatusV2 | No | |
| Amount | string | No | |
| Currency | string | No | |
| SourceType | TransferSourceTypeV2 | No | |
| DestinationType | TransferDestinationTypeV2 | No | |
| Description | string | No | |
| ExternalReferenceId | string | No | |
| CreatedAt | string | No | |
| CompletedAt | string | No | |
| UpdatedAt | string | No | |
| Metadata | object | No | |
| TransferType | string | No | Transfer type identifier (e.g., "user_to_master_transfer", "master_to_user_transfer") |
| Message | string | No | Response message for the transfer operation |
| ErrorCode | string | No | Error code if the transfer failed |
| FeeAmount | string | No | Total fee amount charged for this transfer (future implementation) |
| FeeCurrency | string | No | Currency of the fee (future implementation) |
| FeeType | TransferFeeType | No | |
| NetAmount | string | No | Net amount after fees (future implementation) |
400 — INVALID_TRANSFER_REQUEST: invalid request, currency precision, mandate terms/allowance or conflicting externalReferenceId.
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
401 — Unauthorized
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
404 — Not Found
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
500 — Internal Server Error
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
Example request
curl -X POST "https://{base_url}/api/v2/transfers/user-to-master" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"UserId":"…","Amount":"…","Currency":"…"}'This page is generated from the live OpenAPI specification and always matches the current API.