Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/gocardless_pro/services/payer_authorisations_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class PayerAuthorisationsService < BaseService
#
# @param identity # Unique identifier, beginning with "PA".
# @param options [Hash] parameters as a hash, under a params key.
# @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.
def get(identity, options = {})
path = sub_url('/payer_authorisations/:identity', {
'identity' => identity,
Expand All @@ -38,6 +39,7 @@ def get(identity, options = {})
# solution, such as a multi-step form.
# Example URL: /payer_authorisations
# @param options [Hash] parameters as a hash, under a params key.
# @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.
def create(options = {})
path = '/payer_authorisations'

Expand Down Expand Up @@ -82,6 +84,7 @@ def create(options = {})
#
# @param identity # Unique identifier, beginning with "PA".
# @param options [Hash] parameters as a hash, under a params key.
# @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.
def update(identity, options = {})
path = sub_url('/payer_authorisations/:identity', {
'identity' => identity,
Expand All @@ -108,6 +111,7 @@ def update(identity, options = {})
#
# @param identity # Unique identifier, beginning with "PA".
# @param options [Hash] parameters as a hash, under a params key.
# @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.
def submit(identity, options = {})
path = sub_url('/payer_authorisations/:identity/actions/submit', {
'identity' => identity,
Expand Down Expand Up @@ -155,6 +159,7 @@ def submit(identity, options = {})
#
# @param identity # Unique identifier, beginning with "PA".
# @param options [Hash] parameters as a hash, under a params key.
# @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.
def confirm(identity, options = {})
path = sub_url('/payer_authorisations/:identity/actions/confirm', {
'identity' => identity,
Expand Down
3 changes: 3 additions & 0 deletions lib/gocardless_pro/services/redirect_flows_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class RedirectFlowsService < BaseService
# customer to the GoCardless hosted payment pages.
# Example URL: /redirect_flows
# @param options [Hash] parameters as a hash, under a params key.
# @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.
def create(options = {})
path = '/redirect_flows'

Expand Down Expand Up @@ -51,6 +52,7 @@ def create(options = {})
#
# @param identity # Unique identifier, beginning with "RE".
# @param options [Hash] parameters as a hash, under a params key.
# @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.
def get(identity, options = {})
path = sub_url('/redirect_flows/:identity', {
'identity' => identity,
Expand Down Expand Up @@ -83,6 +85,7 @@ def get(identity, options = {})
#
# @param identity # Unique identifier, beginning with "RE".
# @param options [Hash] parameters as a hash, under a params key.
# @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.
def complete(identity, options = {})
path = sub_url('/redirect_flows/:identity/actions/complete', {
'identity' => identity,
Expand Down
Loading