LegalDocuments
The identifier for the merchant for whom this legal document should be collected.
The identifier for the legal document to return.
Returns a list of the legal documents that have been provided for a specific merchant.
If merchant number is null or empty.
Legal documents not found.
Error occurred retrieving data.
GET /api/legaldocuments/v2/documents/{merchantNumber}/{legalDocumentId} HTTP/1.1
Host:
Accept: */*
{
"legalDocumentId": 1,
"legalDocumentTypeName": "text",
"content": [
{
"ipAddress": "text",
"timestamp": "2025-08-29T19:09:16.520Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"modifyDateTimeUtc": "2025-08-29T19:09:16.520Z"
}
The identifier for the merchant for whom this legal document should be collected.
The legalDocumentId of the document to update.
Identifies a specific legal document in the system. A new value will be generated by the backend and returned a legal document is initially created.
A textual identifier for a legal document. This will be consistent across environments and can safely be used when programatically interacting with signatures. Potential values for this field can be retrieved by calling the settings endpoint.
Returns a list of the legal documents that have been provided for a specific merchant.
If merchant number is null or empty.
Legal documents not found.
Error occurred retrieving data.
PUT /api/legaldocuments/v2/documents/{merchantNumber}/{legalDocumentId} HTTP/1.1
Host:
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 280
{
"legalDocumentId": 1,
"legalDocumentTypeName": "text",
"content": [
{
"ipAddress": "text",
"timestamp": "2025-08-29T19:09:16.520Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
{
"legalDocumentId": 1,
"legalDocumentTypeName": "text",
"content": [
{
"ipAddress": "text",
"timestamp": "2025-08-29T19:09:16.520Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"modifyDateTimeUtc": "2025-08-29T19:09:16.520Z"
}
The identifier for the merchant for whom this legal document should be collected.
The identifier for the legal document to return.
Returns a list of the legal documents that have been provided for a specific merchant.
If merchant number is null or empty.
Legal documents not found.
Error occurred retrieving data.
DELETE /api/legaldocuments/v2/documents/{merchantNumber}/{legalDocumentId} HTTP/1.1
Host:
Accept: */*
{
"legalDocumentId": 1,
"legalDocumentTypeName": "text",
"content": [
{
"ipAddress": "text",
"timestamp": "2025-08-29T19:09:16.520Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"modifyDateTimeUtc": "2025-08-29T19:09:16.520Z"
}
The identifier for the merchant whose legal documents should be returned.
Returns a list of the legal documents that have been provided for a specific merchant.
If merchant number is null or empty.
Legal documents not found.
Error occurred retrieving data.
GET /api/legaldocuments/v2/documents/{merchantNumber} HTTP/1.1
Host:
Accept: */*
{
"content": [
{
"legalDocumentId": 1,
"legalDocumentTypeName": "text",
"content": [
{
"ipAddress": "text",
"timestamp": "2025-08-29T19:09:16.520Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"modifyDateTimeUtc": "2025-08-29T19:09:16.520Z"
}
]
}
Returns information about all legal documents that can be collected through the API.
Bad Request
Not Found
Error occurred retrieving data.
GET /api/legaldocuments/v2/documents/settings HTTP/1.1
Host:
Accept: */*
{
"content": [
{
"legalDocumentTypeName": "telesales-addendum",
"legalDocumentTypeId": 2,
"isUploadedAsPdf": true,
"displayName": "Telesales Addendum",
"isActive": true,
"availableSignatures": [
{
"signatureSectionTypeId": 7,
"signatureSectionTypeName": "TelesalesAddendum",
"displayOrder": 1,
"printSignatureBlock": [
{
"printBlockID": 1,
"printBlockName": "principal-authorized-signer"
}
],
"termsAndConditionsTypes": [
{
"termsAndConditionsTypeID": 10,
"termsAndConditionsTypeName": "telesales-addendum-terms",
"description": "Terms and conditions for the telesales addendum to the merchant application."
}
],
"isRequiredToSubmitLegalDocument": true,
"isRequiredToSubmitElectronicSignatures": false,
"displayName": "Telesales Addendum Signature"
}
]
}
]
}
Returns information about a specific legal document.
Bad Request
Not Found
Error occurred retrieving data.
GET /api/legaldocuments/v2/documents/settings/{legalDocumentTypeName} HTTP/1.1
Host:
Accept: */*
{
"legalDocumentTypeName": "telesales-addendum",
"legalDocumentTypeId": 2,
"isUploadedAsPdf": true,
"displayName": "Telesales Addendum",
"isActive": true,
"availableSignatures": [
{
"signatureSectionTypeId": 7,
"signatureSectionTypeName": "TelesalesAddendum",
"displayOrder": 1,
"printSignatureBlock": [
{
"printBlockID": 1,
"printBlockName": "principal-authorized-signer"
}
],
"termsAndConditionsTypes": [
{
"termsAndConditionsTypeID": 10,
"termsAndConditionsTypeName": "telesales-addendum-terms",
"description": "Terms and conditions for the telesales addendum to the merchant application."
}
],
"isRequiredToSubmitLegalDocument": true,
"isRequiredToSubmitElectronicSignatures": false,
"displayName": "Telesales Addendum Signature"
}
]
}
The identifier for the merchant for whom this legal document should be collected.
Returns a list of the legal documents that have been provided for a specific merchant.
If merchant number is null or empty.
Legal documents not found.
Error occurred retrieving data.
POST /api/legaldocuments/v3/documents/{merchantNumber} HTTP/1.1
Host:
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 312
{
"legalDocumentId": 1,
"legalDocumentTypeName": "text",
"content": [
{
"ipAddress": "text",
"timestamp": "2025-08-29T19:09:16.520Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000",
"allowNullBusinessContact": true
}
]
}
{
"legalDocumentId": 1,
"legalDocumentTypeName": "text",
"content": [
{
"ipAddress": "text",
"timestamp": "2025-08-29T19:09:16.520Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"modifyDateTimeUtc": "2025-08-29T19:09:16.520Z"
}
Was this helpful?