Document Operations
Introduction
Authentication using a Bearer token.
Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Data required to upload a document to a virtual account.
Document type
passportPossible values: Description
passport of myselfOriginal filename
passport.pdfOK
No content
Unprocessable.
Unauthorized.
Virtual IBAN not found.
Unprocessable.
POST /api/v1/customers/{customer_uuid}/accounts/{account_uuid}/documents HTTP/1.1
Host: public-api.gurupay.eu
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 140
{
"type": "passport",
"description": "passport of myself",
"file_name": "passport.pdf",
"attachment": {
"content": "base64_content",
"page_type": null
}
}No content
Authentication using a Bearer token.
Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Optional document type filter.
Optional document filename filter.
Number of items to return per page in a paginated response.
15The current page number for paginated results.
1Field to sort the documents list by.
created_atPossible values: Sort direction for the message list.
descPossible values: Successful retrieval of documents.
Unauthorized.
Document not found.
Unprocessable.
GET /api/v1/customers/{customer_uuid}/accounts/{account_uuid}/documents HTTP/1.1
Host: public-api.gurupay.eu
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "identity_card",
"file_name": "id_myself.pdf",
"description": "my id from 2026",
"page_type": "front",
"created_at": "2025-01-15T10:30:00Z",
"status": "pending"
}
]Get Document Details
Authentication using a Bearer token.
Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Successful retrieval of document details.
The unique identifier (UUID) of the document.
The type of the document.
identity_cardPossible values: The original filename of the uploaded document.
id_myself.pdfDescription of the document.
my id from 2026Page side of the document (available for identity_card and drivers_license)
frontPossible values: The timestamp when the document was created.
2025-01-15T10:30:00ZStatus of the document
pendingPossible values: Unauthorized.
Document not found.
Unprocessable.
GET /api/v1/customers/{customer_uuid}/accounts/{account_uuid}/documents/{document_uuid} HTTP/1.1
Host: public-api.gurupay.eu
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"uuid": "123e4567-e89b-12d3-a456-426614174000",
"type": "identity_card",
"file_name": "id_myself.pdf",
"description": "my id from 2026",
"page_type": "front",
"created_at": "2025-01-15T10:30:00Z",
"status": "pending"
}Delete Document
Authentication using a Bearer token.
Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Universally Unique Identifier (UUID) as defined by RFC 4122.
e1f8a3b1-7d6c-4e9a-9b2e-3f8d1a9c5f2gPattern: ^[a-zA-Z0-9]{8}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{12}$Document successfully deleted.
No content
Unauthorized.
Document not found.
Unprocessable.
DELETE /api/v1/customers/{customer_uuid}/accounts/{account_uuid}/documents/{document_uuid} HTTP/1.1
Host: public-api.gurupay.eu
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?
