Document
KYC/onboarding document of the merchant account. The dashboard lists them on Settings > Legal documents.
type Document {
id: ID!
accountId: ID!
name: String
note: String
type: DocumentType!
status: DocumentStatus!
statusCode: String
statusMessage: String
contentType: String
createdAt: String!
updatedAt: String
}
Fields
Document.id ● ID! non-null scalar
Document ID.
Document.accountId ● ID! non-null scalar
ID of the account that owns the document.
Document.name ● String scalar
Name given in createDocument; the dashboard shows it next to the type label. null when no name was given.
Document.note ● String scalar
Free-text note. The dashboard shows it as the Description of the document.
Document.type ● DocumentType! non-null enum
Document type.
Document.status ● DocumentStatus! non-null enum
Review status.
Document.statusCode ● String scalar
Code of the review result: D000 approved, D001 manual review required, D002 invalid document format, D003 required information missing, D004 not issued in the last 3 months, D005 issued to another legal entity, D006 already attached to another account, D007 census certificate shows no economic activity, D999 internal error. The dashboard shows the text of the code.
Document.statusMessage ● String scalar
Text that explains statusCode, such as the reason for a rejection.
Document.contentType ● String scalar
MIME type of the file: application/pdf, image/jpeg, image/png or image/tiff. null until an upload URL is requested.
Document.createdAt ● String! non-null scalar
ISO 8601 timestamp when the document was created.
Document.updatedAt ● String scalar
ISO 8601 timestamp of the last update.
Returned By
createDocument mutation ● document query
Member Of
DocumentsConnection object