LegalDocuments

Get legal document by Id

get

Retrieve a specific legal document for the given merchant using the unique legal document ID.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

legalDocumentIdinteger · int32Required

The unique identifier of the legal document.

Responses
get
/api/legaldocuments/v2/documents/{merchantNumber}/{legalDocumentId}

Update legal document

put

Update an existing legal document for the specified merchant using the unique legal document ID.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

legalDocumentIdinteger · int32Required

The unique identifier of the legal document.

Body
legalDocumentIdinteger · int32Optional

A unique ID of a specific legal document. A new value is generated by the backend when a document is initially created.

legalDocumentTypeNamestring · nullableOptional

A name or identifier for the legal document. Consistent across environment used when interacting with signatures. Potential values can be retrieved via the Get Legal Document Settings endpoint.

modifyDateTimeUtcstring · date-time · nullableRead-onlyOptional

UTC timestamp indicating when the legal document was last modified.

Responses
put
/api/legaldocuments/v2/documents/{merchantNumber}/{legalDocumentId}

Delete legal document

delete

Deletes the specified legal document for the specified merchant.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

legalDocumentIdinteger · int32Required

A unique identifier of the legal document.

Responses
delete
/api/legaldocuments/v2/documents/{merchantNumber}/{legalDocumentId}

Get legal documents

get

Retrieve all legal documents associated with the specified merchant.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Responses
get
/api/legaldocuments/v2/documents/{merchantNumber}

Get legal document settings

get

Retrieve the settings and configuration for legal documents.

Responses
get
/api/legaldocuments/v2/documents/settings

Get legal document settings by type

get

Retrieve the settings and configuration for a specific legal document.

Path parameters
legalDocumentTypeNamestringRequired

Name of the legal document type used to retrieve its configuration settings.

Responses
get
/api/legaldocuments/v2/documents/settings/{legalDocumentTypeName}

Create legal document

post

Create a new legal document for the specified merchant.

Path parameters
merchantNumberstringRequired

The merchant's unique identification number.

Body
legalDocumentIdinteger · int32Optional

A unique ID of a specific legal document. A new value is generated by the backend when a document is initially created.

legalDocumentTypeNamestring · nullableOptional

A name or identifier for the legal document. Consistent across environment used when interacting with signatures.

Potential values can be retrieved via the Get Legal Document Settings endpoint.

modifyDateTimeUtcstring · date-time · nullableRead-onlyOptional

UTC timestamp indicating when the legal document was last modified.

Responses
post
/api/legaldocuments/v3/documents/{merchantNumber}

Last updated

Was this helpful?