Skip to main content

Approve Mercury Payment Request

POST 

/api/mercury/payment-requests/:request/approve

For connections that approve payments in SKU.io: approves a request that is awaiting approval in SKU.io and sends it straight from Mercury.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Anyone with the permission can approve it, including the user who created the payment. If Mercury refuses the payment, the request goes back to awaiting approval and the 422 carries Mercury's message.

Authentication: Requires Bearer token and the Approve Mercury payments permission (mercury.approve, granted per role; admins always have it). Without it the request returns 403.

Under an enabled bill payment approval policy, the purchase invoices it pays must still be approved for these amounts when it is approved here; otherwise 422 with code approval_required.

Request​

Responses​

OK

Response Headers
    Content-Type