Skip to content

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_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Headers

  • Idempotency-Keystring

    Send the same key to retry safely: the first answer is replayed for 24 hours.

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Body

  • kindenumrequired

    One of the four documents a business sends.

    • commercial_registration
    • tax_card
    • bank_letter
    • owner_identity
  • file_namestringrequired
  • size_bytesintegerrequired
  • content_typestringrequired
  • factsobjectrequired

    What 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

  • 403forbiddenWithout settings:write, or not a person.
  • 409In review, verified, or another document was asked for.
  • 422validation_failed