Start one document
POST
/ admin/ v1/ stores/ {store_id}/ business-verification/ documents- Idempotency-Key supported
Start one document: what was typed from it is checked, and the answer says where to upload the file (PDF or photo, up to 10 MB). Confirm with the edge's receipt afterwards.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
kindenumrequiredOne of the four documents a business sends.
- commercial_registration
- tax_card
- bank_letter
- owner_identity
file_namestringrequiredsize_bytesintegerrequiredcontent_typestringrequiredfactsobjectrequiredWhat was typed from a document. Each kind uses some: the registration its number, name and expiry; the tax card and identity their number and name; the bank letter its IBAN, the account's name and its date.
Returns
201
Errors
- 403
forbiddenWithoutsettings:write, or not a person. - 409In review, verified, or another document was asked for.
- 422
validation_failed