Use this page to mock GOV.UK Pay API in your testing and development.
Run our mock API sample using the open source WireMock library, or in the free edition of WireMock Cloud. You'll have a working API server simulating the behavior of GOV.UK Pay API, which will allow you to keep building and testing even if the actual API you isn't currently available.