Skip to main content

Attachment

idstring

Attachment ID

Example: doc_1234abc
urlurl

Public URL

Possible values: <= 255 characters

Example: https://example.com/my-document
filenamestring

The name of the file

Possible values: <= 50 characters

Example: my-document.pdf
file_typestring

The mimetype of the file

Possible values: <= 30 characters

Example: application/pdf
proof_typestring

Attachment type ('contract' or custom proof document)

refund_requestboolean

If the document has been created from a claim.

Default value: false
created_atdatetime

Creation date

Attachment
{
"id": "doc_1234abc",
"url": "https://example.com/my-document",
"filename": "my-document.pdf",
"file_type": "application/pdf",
"proof_type": "string",
"refund_request": false,
"created_at": "string"
}