Payezydevelopers
Sandbox

API reference / Sandbox

Decide a sandbox verification

POST/v1/sandbox/orgs/{orgId}/verification

Drives a submitted application to the outcome you choose, exactly as a Payezy reviewer and the banking partner would, and fires the same webhooks.

Before you call it

  • NoteProposed. Not on the sandbox API yet.

Parameters

ParameterWhat it does
orgIdpath, uuidrequiredThe organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list.

Request body

FieldWhat it does
outcomeenumrequiredapprove activates the organization; request_changes returns the application to draft with a message; reject restricts it.

One of approve request_changes reject

messagestringShown to the applicant for request_changes.

Response 200

FieldWhat it does
org_idstringNo description in the spec yet.
org_statusenumNo description in the spec yet.

One of active kyc_required restricted

verification_statusenumNo description in the spec yet.

One of approved draft rejected

Events it causes

Used in guided journeys