Skip to main content
PATCH
/
account
Activate the account of the customer
curl --request PATCH \
  --url https://client-api.dev.finhost.io/account \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account": "db4e04c3-4756-f3c4-7497-be928c51135e"
}
'
{
  "id": "db4e04c3-4756-f3c4-7497-be928c51135",
  "entity": "account",
  "operation": "async",
  "status": "processed"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
account
string
required

The client account ID

Example:

"db4e04c3-4756-f3c4-7497-be928c51135e"

Response

200 - application/json

The account activation is stated

id
string

Requested entity ID

Example:

"db4e04c3-4756-f3c4-7497-be928c51135"

entity
string

Requested entity

Example:

"account"

operation
enum<string>

Operation type

Available options:
sync,
async
Example:

"async"

status
enum<string>

Operation status

Available options:
queue,
processed,
pending
Example:

"processed"