POST /v1/invoices/{id}/pay

Pay invoice

Request

POST /v1/invoices/{id}/pay

Parameters

[ { "schema": { "type": "string" }, "required": true, "name": "id", "in": "path" } ]

Response

{ "201": { "description": "Payment successful" }, "400": { "description": "Payment failed or invoice already paid" }, "404": { "description": "Invoice not found" } }

View in Interactive API Reference