POST /api/v3/private/verifications/cards 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
{
"currency_id": 1,
"card_number": "4111 1111 1111 1111",
"file_intent": "00000000-0000-4000-8000-000000000001"
}
{
"state": 0,
"message": "<string>",
"result": {
"verification": {
"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"
}
},
"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
}
]
}
}
}Verifications
Create card/account verification
Submit data to verify a payment card or account.
POST
/
private
/
verifications
/
cards
POST /api/v3/private/verifications/cards 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
{
"currency_id": 1,
"card_number": "4111 1111 1111 1111",
"file_intent": "00000000-0000-4000-8000-000000000001"
}
{
"state": 0,
"message": "<string>",
"result": {
"verification": {
"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"
}
},
"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
}
]
}
}
}Русская версия
Sign the request with HMAC v2. Requires the
public-api:verifications:write scope. Accepts Idempotency-Key.
For verification outside an order, set currency_id to an available currency ID. Use a test card number and an uploaded intent UUID from your test installation. Additional photo UUIDs must be distinct and different from the primary file_intent.
The HTTP example uses test values. Substitute identifiers from your test installation and sign the data you actually send.
Related methods
POST /api/v3/private/verifications/cards 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
{
"currency_id": 1,
"card_number": "4111 1111 1111 1111",
"file_intent": "00000000-0000-4000-8000-000000000001"
}
Authorizations
Headers
Body
application/json
- Option 1
- Option 2
- Option 3
Pass currency_id for verification outside an order. When the verification is tied to an order, the exchanger uses that order’s send currency.