Commerce
Reissue order receipt
Issue a paid order's receipt again.
A new receipt, kept on the order (its last three), sent to the order's phone as the approved order_receipt template. The caller also needs messages:send for the send. The same Idempotency-Key returns the same receipt; 5 a minute per order.
order*stringFormat
uuidIdempotency-Key?stringVisible ASCII; a repeat sends nothing again.
Length
length <= 190X-Request-Id?stringYour id for this request; it becomes the request_id of any error. Without it the server makes one.
curl -X POST 'https://v3.ghala.io/v1/commerce/shop/orders/497f6eca-6276-4993-bfeb-53cbbbba6f08/receipt'{ "provider": "ghala", "url": "http://example.com", "issued_at": "2019-08-24T14:15:22Z", "kind": "payment"}