Skip to main content
PUT
/
api
/
v1
/
members
/
{userId}
/
payout-accounts
/
{accountId}
Update member payout account
curl --request PUT \
  --url https://app.mlm-platform.com/api/v1/members/{userId}/payout-accounts/{accountId} \
  --header 'Content-Type: application/json' \
  --header 'x-tenant-api-key: <api-key>' \
  --data '
{
  "isPrimary": true,
  "isActive": true
}
'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"methodType": "<string>",
"category": "<string>",
"displayName": "<string>",
"countryCode": "<string>",
"currency": "<string>",
"providerType": "<string>",
"isPrimary": true,
"isActive": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-tenant-api-key
string
header
required

Tenant API key for authentication. Keys are scoped to specific environments (LIVE or SANDBOX). Obtain keys from the admin dashboard.

Path Parameters

userId
string<uuid>
required
accountId
string<uuid>
required

Body

application/json
isPrimary
boolean
isActive
boolean

Response

Updated payout account

id
string<uuid>
methodType
string
category
string
displayName
string
countryCode
string
currency
string
providerType
string
isPrimary
boolean
isActive
boolean
createdAt
string<date-time>
updatedAt
string<date-time>