Skip to main content

Document

KYC/onboarding document attached to the merchant account.

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

Original file name supplied at upload.

Document.note ● String scalar

Free-form note attached by the merchant.

Document.type ● DocumentType! non-null enum

Document category.

Document.status ● DocumentStatus! non-null enum

Current review status.

Document.statusCode ● String scalar

Machine-readable status code (e.g. D004 for expired).

Document.statusMessage ● String scalar

Human-readable status detail (e.g. rejection reason).

Document.contentType ● String scalar

MIME type of the uploaded file.

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