Skip to main content
Preview The attestation process is the final step of KYB. It does not accept input — you trigger it once the business has submitted everything else, and Uphold runs a set of verification checks over the submitted data. This guide is part of the business onboarding via REST API flow.

Before you trigger

The following processes must be complete before the attestation can run:
  • profile
  • documents
  • associatedPersons (every person’s profile, identity and proofOfAddress)
  • financialInstitution, when it applies to the business
If any are incomplete, the request fails with an operation_not_allowed error whose reasons list what is missing (for example kyb-profile-incomplete or kyb-documents-incomplete).

Trigger the attestation

Call Trigger attestation.
A successful response returns the attestation as running, with every check not-started.
Response

Follow the progress

Subscribe to the core.kyb.attestation.status-changed and core.kyb.attestation.updated webhooks, or poll Get KYB overview with ?detailed=attestation to retrieve processes.attestation.output.checks. The updated webhook is sent when attestation checks change but the overall attestation status doesn’t. When the attestation status changes, only status-changed is sent — call Get KYB overview with ?detailed=attestation to retrieve the latest checks. Each check exposes a code, a status, and optionally a reason and a note explaining the result. If the attestation fails, consult the checks, reason, and note to understand what went wrong and how you or the end-user can fix it. Once the attestation succeeds, the business is verified — check its capabilities to confirm it can transact.

Testing in Sandbox

In Sandbox, no real verification takes place, so the KYB test helpers let you drive each step to a chosen outcome.
The test helpers use the core.kyb:use-test-helpers scope, which must be enabled for your client credentials.

Associated person outcomes

Use the associated person test helpers to decide how a person’s document verification ends:

Attestation check states

After triggering the attestation, call Set attestation state to set the state of one or more checks.
Once every check is approved, the attestation process status becomes ok and the business is verified.