Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"owner_type": "USER",
"user_id": "{{user_id}}",
"company_id": "",
"country": "MEX",
"currency": "MXN",
"metadata": {
"extra_property_1": "My value"
}
}
Request Code Samples
curl --location --request POST '/core/accounts/v1' \
--header 'Content-type: application/json;' \
--data-raw '{
"owner_type": "USER",
"user_id": "{{user_id}}",
"company_id": "",
"country": "MEX",
"currency": "MXN",
"metadata": {
"extra_property_1": "My value"
}
}'
Responses
application/json {
"data": {
"id": "acc-2qNcCxejxLSoLvnVy3E8RkR0R6c",
"country": "MEX",
"currency": "MXN",
"metadata": {
"extra_property_1": "My value"
},
"status": "ACTIVE",
"owner_type": "USER",
"owner_data": {
"client_id": "cli-2QwjxfTzS7j4bKofxSemnOx0py6",
"user_id": "usr-2qNbahIJjuXRkrJxpAUJaCqfBDU",
"company_id": ""
},
"created_at": "2024-12-18T07:19:09.339984545Z"
}
}
Modified at 2025-03-16 05:50:40