Approve a payment to check
Approves the payment a buyer says they made with one of the store’s custom payment methods, and completes the order as a payment would: its keys are delivered and its receipt sent. Only for an order whose payment waits for review (an order.payment_submitted webhook says so). Shoply never sees that money: approve once you have seen it arrive. Answers the order’s ID, its status, and dynamic, what each dynamic delivery answered. One that cannot deliver (short of stock) is refused with why, and still waits.
Needs the orders.fulfil permission (Deliver Orders).
Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Headers
A word of your own for this one change, up to 180 letters, digits, dots, dashes, underscores and colons. Sent again with the same key, the request is not carried out twice: the first answer comes back, with Idempotent-Replay: true.
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.
The order. The ID in a checkout's address is the order's ID.

