POST /api/v3/private/exchange/orders/{order}/verifications/submit HTTP/1.1
Host: your-exchange
Accept: application/json
Authorization: Bearer <token>
X-Api-Signature-Version: v2
X-Api-Timestamp: <unix_timestamp>
X-Api-Nonce: <nonce>
X-Api-Signature: sha256=<hex_digest>
Idempotency-Key: <idempotency_key>
Content-Type: application/json
{
"identity": {
"fields": {
"full_name": "Synthetic applicant"
},
"file_intents_by_field": {
"proof": [
"00000000-0000-4000-8000-000000000001"
]
}
}
}
{
"state": 0,
"message": "<string>",
"result": {
"submitted": {
"identity": {
"id": 123,
"uuid": "<string>",
"purpose": "<string>",
"status": {
"key": "not_submitted",
"label": "<string>",
"is_final_approved": true,
"id": 123,
"verification_id": 123,
"verification_uuid": "<string>"
},
"review": {
"reason": "<string>",
"comment": "<string>",
"reviewed_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"source": "manual_kyc",
"full_name": "<string>",
"files": [
"<string>"
]
},
"card": {
"id": 123,
"card_mask": "<string>",
"status": {
"key": "not_submitted",
"label": "<string>",
"is_final_approved": true,
"id": 123,
"verification_id": 123,
"verification_uuid": "<string>"
},
"file": {
"image": "<string>",
"preview": "<string>"
},
"additional_files": [
{
"image": "<string>",
"preview": "<string>",
"original_name": "<string>",
"mime": "<string>",
"size": 1
}
],
"uuid": "<string>",
"order_id": 123,
"currency_id": 123,
"name": "<string>",
"message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"requirements": {
"route_id": 123,
"order": {},
"identity": {
"required": true,
"mode": "<string>",
"description": "<string>",
"current": {
"key": "not_submitted",
"label": "<string>",
"is_final_approved": true,
"id": 123,
"verification_id": 123,
"verification_uuid": "<string>"
},
"create_endpoint": "<string>",
"blocks_payment": true,
"can_submit": true,
"flow": "<string>"
},
"card": {
"required": true,
"mode": 123,
"description": "<string>",
"settings": {},
"additional_photos": {
"enabled": true,
"max_count": 3,
"max_file_size_mb": 5,
"accepted_mime_types": [
"image/jpeg"
]
},
"current": {
"key": "not_submitted",
"label": "<string>",
"is_final_approved": true,
"id": 123,
"verification_id": 123,
"verification_uuid": "<string>"
},
"create_endpoint": "<string>",
"blocks_payment": true,
"can_submit": true
},
"files": {}
}
},
"meta": {
"request_id": "<string>",
"correlation_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"mode": "page",
"current_page": 2,
"per_page": 2,
"total": 1,
"last_page": 2,
"from": 123,
"to": 123,
"has_more": true
},
"filters": {},
"sort": [
"<string>"
],
"summary": {
"total": 123,
"bonus_sum": "<string>",
"currency": "<string>",
"confirmed_accruals": 123,
"by_currency": [
{
"currency": "<string>",
"bonus_sum": "<string>",
"confirmed_accruals": 123
}
]
}
}
}Проверки
Отправить данные проверки по заявке
Передайте данные для проверки по заявке текущего клиента.
POST
/
private
/
exchange
/
orders
/
{order}
/
verifications
/
submit
POST /api/v3/private/exchange/orders/{order}/verifications/submit HTTP/1.1
Host: your-exchange
Accept: application/json
Authorization: Bearer <token>
X-Api-Signature-Version: v2
X-Api-Timestamp: <unix_timestamp>
X-Api-Nonce: <nonce>
X-Api-Signature: sha256=<hex_digest>
Idempotency-Key: <idempotency_key>
Content-Type: application/json
{
"identity": {
"fields": {
"full_name": "Synthetic applicant"
},
"file_intents_by_field": {
"proof": [
"00000000-0000-4000-8000-000000000001"
]
}
}
}
{
"state": 0,
"message": "<string>",
"result": {
"submitted": {
"identity": {
"id": 123,
"uuid": "<string>",
"purpose": "<string>",
"status": {
"key": "not_submitted",
"label": "<string>",
"is_final_approved": true,
"id": 123,
"verification_id": 123,
"verification_uuid": "<string>"
},
"review": {
"reason": "<string>",
"comment": "<string>",
"reviewed_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"source": "manual_kyc",
"full_name": "<string>",
"files": [
"<string>"
]
},
"card": {
"id": 123,
"card_mask": "<string>",
"status": {
"key": "not_submitted",
"label": "<string>",
"is_final_approved": true,
"id": 123,
"verification_id": 123,
"verification_uuid": "<string>"
},
"file": {
"image": "<string>",
"preview": "<string>"
},
"additional_files": [
{
"image": "<string>",
"preview": "<string>",
"original_name": "<string>",
"mime": "<string>",
"size": 1
}
],
"uuid": "<string>",
"order_id": 123,
"currency_id": 123,
"name": "<string>",
"message": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"requirements": {
"route_id": 123,
"order": {},
"identity": {
"required": true,
"mode": "<string>",
"description": "<string>",
"current": {
"key": "not_submitted",
"label": "<string>",
"is_final_approved": true,
"id": 123,
"verification_id": 123,
"verification_uuid": "<string>"
},
"create_endpoint": "<string>",
"blocks_payment": true,
"can_submit": true,
"flow": "<string>"
},
"card": {
"required": true,
"mode": 123,
"description": "<string>",
"settings": {},
"additional_photos": {
"enabled": true,
"max_count": 3,
"max_file_size_mb": 5,
"accepted_mime_types": [
"image/jpeg"
]
},
"current": {
"key": "not_submitted",
"label": "<string>",
"is_final_approved": true,
"id": 123,
"verification_id": 123,
"verification_uuid": "<string>"
},
"create_endpoint": "<string>",
"blocks_payment": true,
"can_submit": true
},
"files": {}
}
},
"meta": {
"request_id": "<string>",
"correlation_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"mode": "page",
"current_page": 2,
"per_page": 2,
"total": 1,
"last_page": 2,
"from": 123,
"to": 123,
"has_more": true
},
"filters": {},
"sort": [
"<string>"
],
"summary": {
"total": 123,
"bonus_sum": "<string>",
"currency": "<string>",
"confirmed_accruals": 123,
"by_currency": [
{
"currency": "<string>",
"bonus_sum": "<string>",
"confirmed_accruals": 123
}
]
}
}
}English version
Подпишите запрос HMAC v2. Требуется право
public-api:verifications:write. Принимает заголовок Idempotency-Key.
Передайте хотя бы один заполненный объект identity или card. Объект card требует card_number и file_intent. Дополнительные фото можно передать только если это разрешено настройками проверки карты.
HTTP-пример содержит тестовые значения. Подставьте идентификаторы вашей тестовой установки и подпишите фактически отправляемые данные.
Связанные методы
POST /api/v3/private/exchange/orders/{order}/verifications/submit HTTP/1.1
Host: your-exchange
Accept: application/json
Authorization: Bearer <token>
X-Api-Signature-Version: v2
X-Api-Timestamp: <unix_timestamp>
X-Api-Nonce: <nonce>
X-Api-Signature: sha256=<hex_digest>
Idempotency-Key: <idempotency_key>
Content-Type: application/json
{
"identity": {
"fields": {
"full_name": "Synthetic applicant"
},
"file_intents_by_field": {
"proof": [
"00000000-0000-4000-8000-000000000001"
]
}
}
}
Авторизации
Заголовки
Обязательная версия подписи запроса. Укажите v2 первой строкой канонического представления. Восьмой строкой добавьте Idempotency-Key без крайних пробелов или пустую строку при отсутствии ключа. Подписывайте исходные значения разобранного query.
Allowed value:
"v2"Параметры пути
Тело
application/json