Sub-resellers

Fund a sub-reseller

POST
/v1/sub-resellers/{id}/fund

Moves money out of your own wallet and into a sub-reseller's, in one step. Refused when either account is suspended, or when your own balance cannot cover it, with nothing moved either way. Send an Idempotency-Key header so a retry can never move the money twice.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.

Path Parameters

id*string

Header Parameters

Idempotency-Key?string

A value unique to this request, such as a UUID. A retry with the same key within 24 hours returns the first outcome instead of running again.

Length8 <= length <= 200

Request Body

application/json
  1. body
amount*integer

In cents

Range0 < value
memo?string
Length1 <= length <= 200

Response Body

Success

application/json
  1. response

Success

id*string
name*string
status*string
Value in"active""suspended"
priceListId*|

Unset, your default list prices this sub-reseller

wallet*
createdAt*string
Formatdate-time
curl -X POST "https://example.com/v1/sub-resellers/rsl_01K6XJ4Q8ZT3M9R5V2B7WDHNCA/fund" \  -H "Idempotency-Key: 2f1c9a52-7d0e-4a8e-9a53-0c1f6f3f2b11" \  -H "Content-Type: application/json" \  -d '{    "amount": 5000  }'
{  "id": "rsl_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",  "name": "Sub Reseller Co",  "status": "active",  "priceListId": "prl_01K6XJ4Q8ZT3M9R5V2B7WDHNCA",  "wallet": {    "available": 8800,    "held": 0  },  "createdAt": "2026-10-07T11:04:31.000Z"}