Skip to main content
PUT
/
subaccounts
/
{id}
Update a subaccount
curl --request PUT \
  --url https://api.flutterwave.com/v3/subaccounts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "business_name": "Example Business",
  "business_email": "business@gmail.com",
  "account_bank": "044",
  "account_number": "0690000034",
  "split_type": "flat",
  "split_value": "200"
}
'
{
  "status": "success",
  "message": "Subaccount edited",
  "data": {
    "id": 2165,
    "account_number": "0690000040",
    "account_bank": "044",
    "business_name": "Mad O!",
    "full_name": "Alexis Rogers",
    "created_at": "2020-01-17T16:28:26.000Z",
    "meta": [
      {
        "meta_name": "MarketplaceID",
        "meta_value": "ggs-920900"
      }
    ],
    "account_id": 88497,
    "split_ratio": 1,
    "split_type": "flat",
    "split_value": "200",
    "subaccount_id": "RS_884E7E4BD793ADA77F491CF4AD3DE19E",
    "bank_name": "ACCESS BANK NIGERIA",
    "country": "NG"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
business_name
string
required
business_email
string
required
account_bank
string
required
account_number
string
required
split_type
string
required
split_value
string
required

Response

OK

status
string
required
message
string
required
data
Data54 · object
required
Example:
{
"id": 2165,
"account_number": "0690000040",
"account_bank": "044",
"business_name": "Mad O!",
"full_name": "Alexis Rogers",
"created_at": "2020-01-17T16:28:26.000Z",
"meta": [
{
"meta_name": "MarketplaceID",
"meta_value": "ggs-920900"
}
],
"account_id": 88497,
"split_ratio": 1,
"split_type": "flat",
"split_value": "200",
"subaccount_id": "RS_884E7E4BD793ADA77F491CF4AD3DE19E",
"bank_name": "ACCESS BANK NIGERIA",
"country": "NG"
}