Skip to content
developers

Retrieve disclosure acknowledgement

Browse API reference

GET/disclosure-acknowledgements/{acknowledgementId}getDisclosureAcknowledgement

Use this method to retrieve a disclosure acknowledgement that a payment device recorded using Payroc Cloud.

A disclosure acknowledgement contains the recorded results for each disclosure that the device presented in response to a disclosure instruction.

Any signatures included in the acknowledgement are not compliant with eIDAS or ESIGN regulations and do not carry the legal equivalence of a wet signature.

Parameters

NameInTypeDescription
acknowledgementIdRequiredpathstring

Unique identifier that our gateway assigned to the disclosure acknowledgement.

Responses

Successful request. Returns the disclosure acknowledgement.

200 OK · application/json
{
  "acknowledgementId": "BQF3RT8XW1",
  "acknowledgements": [
    {
      "createdOn": "2024-07-02",
      "disclosure": {
        "captureMode": "acceptDecline",
        "contentType": "text/plain",
        "hash": "2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae",
        "index": 1,
        "outcome": "declined",
        "reference": "ref_8b1a4c2e9f0d7356ab84c1e27f"
      }
    }
  ],
  "processingTerminalId": "1234001"
}
Response schema · 15 fields
  • acknowledgementIdstringrequired
    Unique identifier that our gateway assigned to the acknowledgement.10–10 chars
  • acknowledgementsobject[]required
    Array of acknowledgement records, one for each disclosure that the device presented.
    • createdOnstringdaterequired
      Date that the device recorded the acknowledgement. The format of this value is YYYY-MM-DD.
    • disclosureobjectrequired
      Object that contains information about the disclosure that the device presented.
      • captureModestringrequired
        Indicates how the device captured the cardholder's response. displayOnly Device displayed the document without capturing a response. acceptDecline Device prompted the cardholder to accept or decline the document. signature Device prompted the cardholder to sign the document. acceptAndSign Device prompted the cardholder to accept the document and provide a signature.displayOnlyacceptDeclinesignatureacceptAndSign
      • contentTypestringrequired
        MIME type that indicates the format of the document that the device presented.
      • hashstringrequired
        SHA-256 hash of the document that the device presented, as a 64-character hexadecimal string.64–64 chars
      • indexintegerrequired
        Zero-based position of the disclosure in the instruction's disclosures array.
      • outcomestringrequired
        Indicates the cardholder's response to the disclosure. success Cardholder acknowledged the disclosure. declined Cardholder declined the disclosure.successdeclined
      • referencestring
        Opaque identifier that you assigned to the disclosure in the instruction.1–50 chars
    • signaturesobject[]
      Array of signatures that the device captured for the disclosure. Note: We return this field only if the captureMode is signature or acceptAndSign and the outcome is success. If the device captured one signature for the whole instruction, that signature appears on each disclosure that the cardholder signed, with the same signatureId. If the device captures one signature for the whole instruction and the cardholder declines a disclosure, the device doesn't capture a signature. The disclosures that the cardholder accepted before the decline have an outcome of success, but we don't return this field for them.
      • contentTypestringrequired
        MIME type that indicates the format of the signature image.
      • signaturestringrequired
        Image data for the signature, as a Base64-encoded value.
      • signatureIdstringrequired
        Unique identifier that we assigned to the signature.10–10 chars
  • processingTerminalIdstringrequired
    Unique identifier of the terminal that recorded the acknowledgement.

Search documentation

API reference173
Guides131
Knowledge38
legal1
Solutions32
Workflows74
↑↓highlight↵openView all search results

Menu

Theme

Sign out

Your saved plans remain in your organization. This browser’s private draft and account view will be cleared.

Talk to an engineer