v1
latestOpenAPI 3.0.32026-07-132012.5 KBBegin a payment journey.
After a successful call to the /pay endpoint, the API user receives JSON with a redirection URL. The API user then redirects the customer's browser to this URL, starting the payment journey.
post/pay
Request body
Example request
{
"taxRegime": "SelfAssessment",
"reference": "1097172564",
"amountInPence": 1234,
"backURL": "https://some-accounting-software.com/after-pay/a218f71d9bf2438e851c71d50866c2e9",
"friendlyName": "Accounting Software Company X"
}Response
Created. Body contains url to redirect user to and a UUID to look up the status of the payment journey with.