Attach delivery proof
attach_proofAttach proof of delivery to a receipt. Requires the edit_token from record_approval. Moves approved to delivered, or to disputed when status is disputed. over_cap is true when actual_amount exceeds the price cap. Does not move money. Same as POST /v1/receipts/:id/proof.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Proof kind. Examples: order_confirmation, tracking, url, hash. | |
| value | Yes | The proof itself: confirmation id, tracking number, URL, or hash. | |
| status | No | Omit to mark an approved receipt delivered. Pass disputed to dispute it. | |
| edit_token | Yes | Secret returned once by record_approval. Required to attach proof. | |
| receipt_id | Yes | Receipt id from record_approval (rcpt_…). | |
| actual_amount | No | Amount actually charged. over_cap is true when this is above the price cap. |