Payments
Connector for the payments API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://publicapi.payments.service.gov.uk - Auth:
header:Authorization(pass your key via theapiKeyinput)
Operations
search_payments— GET /v1/payments — Search paymentsget_a_payment— GET /v1/payments/{paymentId} — Find payment by IDget_events_for_a_payment— GET /v1/payments/{paymentId}/events — Return payment events by IDget_all_refunds_for_a_payment— GET /v1/payments/{paymentId}/refunds — Get all refunds for a paymentget_a_payment_refund— GET /v1/payments/{paymentId}/refunds/{refundId} — Find payment refund by IDsearch_refunds— GET /v1/refunds — Search refunds
Inputs
apiKey— your payments API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: search_payments
apiKey: <your key>