Documents
Document events
WEBHOOK
document.*Pay.com sends these events to your webhook endpoints when a document changes. Each one carries the document as it was at that moment. To add an endpoint and check signatures, see Webhooks.
Events
document.createdA document was created.
document.pendingThe document was uploaded and is pending review.
document.activeThe document was accepted and is now active.
document.rejectedThe document was rejected.
Each event
idstringThe event’s id, starting
evt_.resourcestringAlways
event.typestringOne of the events above, such as
document.created.createdstringWhen it happened, in ISO 8601 (UTC).
dataobjectThe document as it was at that moment, with the attributes Retrieve a document returns.
Was this page helpful?