Skip to content
developers

Retrieve disclosure instruction

Browse API reference

GET/disclosure-instructions/{disclosureInstructionId}getDisclosureInstruction

Use this method to retrieve information about a disclosure instruction.

To retrieve a disclosure instruction, you need its disclosureInstructionId. Our gateway returned the disclosureInstructionId in the response of the Submit disclosure instruction method.

Our gateway returns the status of the instruction. If the payment device completed the instruction, the response also includes a link to retrieve the disclosure acknowledgement that we recorded containing each disclosure document that the device presented as well as any signature(s) captured.

Parameters

NameInTypeDescription
disclosureInstructionIdRequiredpathstring

Unique identifier that our gateway assigned to the disclosure instruction.

Responses

Successful request. Returns the disclosure instruction.

200 OK · application/json
{
  "disclosureInstructionId": "b48540276e245789ba211fcca4c30698",
  "link": {
    "href": "https://api.payroc.com/v1/disclosure-acknowledgements/DSCK7M2P9Q",
    "method": "GET",
    "rel": "acknowledgement"
  },
  "status": "completed"
}
Response schema · 7 fields
  • errorMessagestring
    Description of the error that caused the instruction to fail. Note: We return this field only if the status is failure.
  • linkobject
    Object that contains HATEOAS links for the resource.
    • hrefstringrequired
      URL of the target resource.
    • methodstringrequired
      HTTP method that you need to use with the target resource.
    • relstringrequired
      Indicates the relationship between the current resource and the target resource.
  • statusstringrequired
    Indicates the current status of the instruction. canceled – The instruction was canceled before it was completed. completed – The instruction has completed. Use the link object to check the resource. failure – The instruction failed. Check the errorMessage field for more information. inProgress – The instruction is currently in progress.canceledcompletedfailureinProgress
  • disclosureInstructionIdstringrequired
    Unique identifier that our gateway assigned to the instruction.1–36 chars

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