From 25f43cb41929cf9189c142daac4d04cdc7cc500a Mon Sep 17 00:00:00 2001
From: "gocardless-ci-robot[bot]"
<123969075+gocardless-ci-robot[bot]@users.noreply.github.com>
Date: Wed, 28 Oct 2026 10:22:17 +0000
Subject: [PATCH] Changes generated by 729a63d19f0f7dd5401cabcc56e0d64db9f03dfd
This commit was automatically created from gocardless/client-library-templates@729a63d19f0f7dd5401cabcc56e0d64db9f03dfd
by the `push-files` action.
Workflow run: https://github.com/gocardless/client-library-templates/actions/runs/40671081415
---
.../services/PayerAuthorisationService.java | 30 +++++++++++++++++++
.../services/RedirectFlowService.java | 15 ++++++++++
2 files changed, 45 insertions(+)
diff --git a/src/main/java/com/gocardless/services/PayerAuthorisationService.java b/src/main/java/com/gocardless/services/PayerAuthorisationService.java
index 1cb40e65..2c9e595d 100644
--- a/src/main/java/com/gocardless/services/PayerAuthorisationService.java
+++ b/src/main/java/com/gocardless/services/PayerAuthorisationService.java
@@ -73,7 +73,13 @@ public PayerAuthorisationService(HttpClient httpClient) {
/**
* Retrieves the details of a single existing Payer Authorisation. It can be used for polling
* the status of a Payer Authorisation.
+ *
+ * @deprecated Payer Authorisation is legacy API and cannot be used by new integrators. The
+ * Billing Request
+ * (https://developer.gocardless.com/api-reference/#billing-requests) API should be
+ * used for any new integrations.
*/
+ @Deprecated
public PayerAuthorisationGetRequest get(String identity) {
return new PayerAuthorisationGetRequest(httpClient, identity);
}
@@ -84,7 +90,13 @@ public PayerAuthorisationGetRequest get(String identity) {
* used for the other actions. This endpoint has been designed this way so you do not need to
* save any payer data on your servers or the browser while still being able to implement a
* progressive solution, such as a multi-step form.
+ *
+ * @deprecated Payer Authorisation is legacy API and cannot be used by new integrators. The
+ * Billing Request
+ * (https://developer.gocardless.com/api-reference/#billing-requests) API should be
+ * used for any new integrations.
*/
+ @Deprecated
public PayerAuthorisationCreateRequest create() {
return new PayerAuthorisationCreateRequest(httpClient);
}
@@ -99,7 +111,13 @@ public PayerAuthorisationCreateRequest create() {
* Note that in order to update the metadata attribute values it must be sent
* completely as it overrides the previously existing values.
*
bad_request error if the session_token differs to the one supplied
* when the redirect flow was created.
+ *
+ * @deprecated Redirect Flows are legacy APIs and cannot be used by new integrators. The Billing
+ * Request flow (https://developer.gocardless.com/api-reference/#billing-requests)
+ * API should be used for your payment flows.
*/
+ @Deprecated
public RedirectFlowCompleteRequest complete(String identity) {
return new RedirectFlowCompleteRequest(httpClient, identity);
}