Start order receipt
POST
/ store/ v1/ order-status/ {token}/ receipts- Idempotency-Key supported
The buyer starts sending a picture or PDF of their bank transfer or InstaPay payment (JPEG, PNG, WebP or PDF, up to 10 MB): the answer is the permission to send the file to the files edge, never to this API. Send it there, then confirm with the edge's receipt. The order keeps up to five receipts.
Path parameters
tokenstringrequiredThe order's link token
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
content_typestringrequiredimage/jpeg,image/png,image/webporapplication/pdf.size_bytesintegerrequiredUp to 10 MB.
file_namestring · or nullShown to the store; folders are dropped.
Returns
201 The receipt and the permission to upload its file.
Errors
- 404
not_foundNo order has this link. - 409The order isn't waiting for a transfer, or has five receipts.
- 422
validation_failedNot a picture or PDF under 10 MB.