Payments API (demo)
This is a mock of a small part of the GOV.UK Pay API. Use it to build and test an integration without taking real payments.
Payments are stored for 7 days and never progress past
created. There is no card page behind next_url.Base URL
https://publicapi.payments.platform-engineering.com
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /v1/payments | Create a payment |
| GET | /v1/payments/{PAYMENT_ID} | Get information about a single payment |
Every request needs a bearer token.