Skip to main content
GET
Get a document

Headers

Authorization
string
required

The access token.

X-Contact-ID
string

The identifier of a contact.

Query Parameters

type
enum<string>
required

The document type: pi (payment instruction), pr (payment receipt), tr (trade receipt). For pi and pr, id must be a payment id; for tr, id must be a trade id.

Available options:
pi,
pr,
tr
id
string
required

The ID of the entity that generated this document e.g. payment, trade, etc.

client_id
string
required

The identifier of a client.

Response

Base 64 encoded document content.

The response is of type string<byte>.