curl --request PATCH \
--url http://localhost:8080/users/{user_id}/accounts/{account_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "active"
}
'{
"account_provider_id": "<string>",
"account_provider_name": "<string>",
"account_provider_status": "active",
"account_type": "s_a_v_i_n_g_s",
"created_at": "<string>",
"id": "<string>",
"last_modified_at": "<string>",
"provider_account_id": "<string>",
"status": "active",
"user_id": "<string>",
"customer_id": "<string>"
}curl --request PATCH \
--url http://localhost:8080/users/{user_id}/accounts/{account_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"status": "active"
}
'{
"account_provider_id": "<string>",
"account_provider_name": "<string>",
"account_provider_status": "active",
"account_type": "s_a_v_i_n_g_s",
"created_at": "<string>",
"id": "<string>",
"last_modified_at": "<string>",
"provider_account_id": "<string>",
"status": "active",
"user_id": "<string>",
"customer_id": "<string>"
}JWT access token. Obtain from /auth/otp/verify endpoint.
Account lifecycle status.
active, inactive, pending Account updated
Account provider lifecycle status.
active, inactive Type of financial or health account.
s_a_v_i_n_g_s, h_s_a, e_d_u_c_a_t_i_o_n Account lifecycle status.
active, inactive, pending