LegalDocuments
The identifier for the merchant for whom this legal document should be collected.
The identifier for the legal document to return.
GET /api/legaldocuments/v2/documents/{merchantNumber}/{legalDocumentId} HTTP/1.1
Host:
Accept: */*
{
"legalDocumentId": 1,
"legalDocumentTypeName": "text",
"content": [
{
"ipAddress": "text",
"timestamp": "2025-07-09T02:40:48.657Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"modifyDateTimeUtc": "2025-07-09T02:40:48.657Z"
}
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.
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-07-09T02:40:48.657Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
]
}
{
"legalDocumentId": 1,
"legalDocumentTypeName": "text",
"content": [
{
"ipAddress": "text",
"timestamp": "2025-07-09T02:40:48.657Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"modifyDateTimeUtc": "2025-07-09T02:40:48.657Z"
}
The identifier for the merchant for whom this legal document should be collected.
The identifier for the legal document to return.
DELETE /api/legaldocuments/v2/documents/{merchantNumber}/{legalDocumentId} HTTP/1.1
Host:
Accept: */*
{
"legalDocumentId": 1,
"legalDocumentTypeName": "text",
"content": [
{
"ipAddress": "text",
"timestamp": "2025-07-09T02:40:48.657Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"modifyDateTimeUtc": "2025-07-09T02:40:48.657Z"
}
The identifier for the merchant whose legal documents should be returned.
GET /api/legaldocuments/v2/documents/{merchantNumber} HTTP/1.1
Host:
Accept: */*
{
"content": [
{
"legalDocumentId": 1,
"legalDocumentTypeName": "text",
"content": [
{
"ipAddress": "text",
"timestamp": "2025-07-09T02:40:48.657Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"modifyDateTimeUtc": "2025-07-09T02:40:48.657Z"
}
]
}
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"
}
]
}
]
}
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.
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-07-09T02:40:48.657Z",
"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-07-09T02:40:48.657Z",
"signatureSourceTypeId": 1,
"signatureSectionTypeId": 1,
"signerViewedLegalText": true,
"businessContactId": 1,
"documentId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"modifyDateTimeUtc": "2025-07-09T02:40:48.657Z"
}
Was this helpful?