---
updatedAt: 2026-08-27T11:06:11.000Z
agentTools:
  projectIndex: https://ptx-rbs.readme.io/llms.txt
---

# Autopay Bacs API

The **Autopay Bacs API** allows you to:

* Create payment files, add instructions, and delete instructions.
* Create payment file templates, and complete and approve payment files.
* Retrieve the results of manually importing a payment file, including querying by status, file type or a specified date range.
* List, view, export, mark as downloaded, and update the status of Bacs messages.

# API clients

OAuth2 is used to authenticate API access for integration with Autopay Online Plus.

API clients can be managed directly from the [user interface](https://ptx-rbs.readme.io/docs/api-clients-aop), including creating new clients and generating client ID and secret. Once an API client has been created, you can [generate an access token](https://developer.pt-x.com/autopay-online-plus/#tag/Authentication/operation/create-access-token). This token is then used to authenticate and make API calls.

# API documentation

Refer to the [API documentation](https://developer.pt-x.com/autopay-online-plus) for an overview of the available objects, methods, and services. The site provides guidance on accessing the API and structuring API calls.

# URLs

Replace the placeholder URL (<https://example.com>) in the API documentation with the correct URL for your environment.

### Production

* Authentication - [https://login.autopay-online.rbs.co.uk/auth/realms/rbsIndividualSUN/protocol/openid-connect/token](https://login.autopay-online.rbs.co.uk/auth/realms/natwestIndividualSUN/protocol/openid-connect/token)
* All other API calls - <https://autopay-online.rbs.co.uk>

### CAT (testing)

* Authentication - [ https://login.natwest.cat.uk.pt-x.com/auth/realms/natwestIndividualSUN/protocol/openid-connect/token](https://login.natwest.cat.uk.pt-x.com/auth/realms/natwestIndividualSUN/protocol/openid-connect/token)
* All other API calls - <https://payments-nw.cat.uk.pt-x.com>