Перейти к содержимому

Обновить персональные и KYC-данные профиля

PUT
/api/v1/profiles
curl --request PUT \
--url https://core.example.com/api/v1/profiles \
--header 'Content-Type: application/json' \
--header 'session-token: <session-token>' \
--data '{ "profile": { "name": "example", "surname": "example", "birthday": "2026-04-15", "country_id": 1, "city": "example", "street": "example", "postcode": "example", "id_type": "example", "passport_number": "example", "id_issue_date": "2026-04-15", "id_exp_date": "2026-04-15", "id_issuing_country": "example", "id_issued_by": "example", "tax_number": "example", "tax_country_id": 1, "phone": "example", "email": "hello@example.com" } }'

Banking UI отправляет multipart/form-data; banking-api также использует JSON.

check-confirmed
boolean
skip-validate
boolean
object
profile
required
object
name
string
surname
string
birthday
required
string format: date
country_id
required
integer
city
required
string
street
required
string
postcode
required
string
id_type
required
string
passport_number
required
string
id_issue_date
required
string format: date
id_exp_date
required
string format: date
id_issuing_country
required
string
id_issued_by
string
tax_number
string
tax_country_id
integer
phone
string
email
string format: email
Examplegenerated
{
"profile": {
"name": "example",
"surname": "example",
"birthday": "2026-04-15",
"country_id": 1,
"city": "example",
"street": "example",
"postcode": "example",
"id_type": "example",
"passport_number": "example",
"id_issue_date": "2026-04-15",
"id_exp_date": "2026-04-15",
"id_issuing_country": "example",
"id_issued_by": "example",
"tax_number": "example",
"tax_country_id": 1,
"phone": "example",
"email": "hello@example.com"
}
}

Профиль обновлён; legacy-валидация отсутствующих полей также отвечает HTTP 200

Media typeapplication/json
One of:
object
success
required
boolean
status
required
integer
id
integer
email
string format: email
phone
string
name
string
surname
string
fullname
string
company_name
string
nullable
wallet_type
string
current_currency
string
kyc_status
string
wallet_pin_enabled
boolean
bank_accounts
Array
object
id
integer
value
string
currency
string
token
string
status
string
Allowed values: pending pending_request approved declined closed
provider
string
Allowed values: default beneficiary iban cup redbanx coinspaid blockcypher rietumu card
swift_code
string
uk_sort_code
string
uk_account_number
string
approved
boolean
details
object
beneficiary_type
string
Allowed values: individual_stakeholder company_stakeholder
beneficiary_name
string
beneficiary_first_name
string
beneficiary_last_name
string
beneficiary_country
string
beneficiary_city
string
beneficiary_street
string
beneficiary_address
string
beneficiary_region
string
beneficiary_postalcode
string
beneficiary_bank
string
beneficiary_phone
string
beneficiary_email
string format: email
beneficiary_account_name
string
swift_code
string
corresponding_bank
string
corresponding_iban
string
corresponding_swift_code
string
corresponding_bank_country
string
corresponding_bank_address
string
account_number_compass
string
reference_code
string
key
additional properties
any
verified
boolean
paymentSystem
string
bank_address
string
bank_name
string
recipient_address
string
recipient_name
string
ref_code
string
account_holder
string
account_number
string
card_mask
string
card_id
integer
outer_id
string
bank_card_tokens
Array<string>
wallet
object
available
number format: double
message
string
Example
{
"success": true,
"status": 200,
"bank_accounts": [
{
"currency": "EUR",
"status": "pending",
"provider": "default",
"details": {
"beneficiary_type": "individual_stakeholder"
}
}
],
"message": "profile updated"
}

Ошибка авторизации, валидации или бизнес-правила

Media typeapplication/json
object
success
required
boolean
status
required
integer
errors
required
One of:
Array<object>
object
code
string
kind
string
nullable
expiration
string
nullable
session
string
nullable
key
additional properties
any
key
additional properties
any
Example
{
"success": false,
"status": 403
}