fund-wallet

Update fund wallet distribution settings. (admin access required)

Updates the distribution configuration of a fund wallet. Set enabled to false to pause automatic distribution without deleting the wallet or its funds.

patch/fund-wallet

Request

  • Base URL: ./../api/v1/ (relative, and the document was published on a file host, not at the API’s origin)
  • URL: ./../api/v1/fund-wallet
  • Auth: API key in header token

Request body

idstring required

Fund wallet id to update

enabledboolean

Enable or disable this wallet as a funding source

batchWindowMsinteger

New batch window in milliseconds (max 24 h)

Example request

{
  "id": "cuid_v2_auto_generated",
  "enabled": true,
  "batchWindowMs": 300000
}

Response

Fund wallet updated

status'success' required

Example response

{
  "status": "success",
  "data": {
    "id": "cuid_v2_auto_generated",
    "FundDistributionConfig": {
      "id": "cuid_v2_auto_generated",
      "enabled": true,
      "batchWindowMs": 300000
    }
  }
}

Changes

No recorded changes to this operation across all 50 revisions of this API.