Add a file attachment to the identity
Add a file attachment to the identity.
Path parameters
-
User id
-
Resource ID
-
File type
Values are
commercial_register
,authorization
, orlegal_structure
. -
Document ID number
Query parameters
-
Document issued at date
-
Document expires at date
-
Document issuing country
POST
/users/{user_id}/kyc/identities/{id}/file/{type}/{number}
curl \
-X POST https://client-subdomain.bitbond.net/api/v1/users/{user_id}/kyc/identities/{id}/file/{type}/{number}?issued_at=string&expires_at=string&issuing_authority=string&issuing_country=string \
-H "Content-Type: application/json" \
-d '{"attachment":{}}'
Request example
{
"attachment": {}
}
Request examples
{
"attachment": {}
}
Response examples (201)
{
"id": "string",
"file": {},
"filename": "string",
"document_type": "string",
"document_id_number": "string",
"issued_at": "string",
"expires_at": "string",
"issuing_authority": "string",
"issuing_country": "string",
"content_type": "string"
}
Response examples (201)
{
"id": "string",
"file": {},
"filename": "string",
"document_type": "string",
"document_id_number": "string",
"issued_at": "string",
"expires_at": "string",
"issuing_authority": "string",
"issuing_country": "string",
"content_type": "string"
}