Skip to main content
POST
Upload transaction supporting document

Authorizations

X-API-Key
string
header
required

Includes an API key in the HTTP headers to authenticate the client.

X-API-Secret
string
header
required

Includes an API secret in the HTTP headers to authenticate the client.

Path Parameters

id
string
required

A valid Customer ID

Pattern: ^cus_[a-zA-Z0-9]{27}$
Example:

"cus_2ofTA13AD0xBtbEvBl20aEb1hEu"

Body

application/json

Request to upload a customer document

documentId
string
required

A valid Document ID

Pattern: ^doc_[a-zA-Z0-9]{27}$
Example:

"doc_2ofTAESrTs4uQ8N3yGBMhGj59jV"

type
enum<string>
required

Type of document

Available options:
contract,
invoice
Example:

"contract"

name
string
required
purpose
enum<string>
default:transaction_justification

Purpose of the document

Available options:
transaction_justification
Example:

"transaction_justification"

Response

Document created successfully

Customer document creation response

id
string
required
Minimum string length: 1
createdAt
string<date-time>
required