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
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/services/payerAuthorisationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export class PayerAuthorisationService {
this.api = api;
}

/** @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. */
public async find(identity: string, customHeaders: Types.JsonMap = {}): Promise<PayerAuthorisationResponse> {
const urlParameters = [{ key: 'identity', value: identity }];
const requestParams = {
Expand All @@ -68,6 +69,7 @@ export class PayerAuthorisationService {
return formattedResponse;
}

/** @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. */
public async create(
requestParameters: PayerAuthorisationCreateRequest,
idempotencyKey: string = '',
Expand All @@ -94,6 +96,7 @@ export class PayerAuthorisationService {
return formattedResponse;
}

/** @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. */
public async update(
identity: string,
requestParameters?: Partial<PayerAuthorisationUpdateRequest>,
Expand All @@ -119,6 +122,7 @@ export class PayerAuthorisationService {
return formattedResponse;
}

/** @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. */
public async submit(identity: string, customHeaders: Types.JsonMap = {}): Promise<PayerAuthorisationResponse> {
const urlParameters = [{ key: 'identity', value: identity }];
const requestParams = {
Expand All @@ -140,6 +144,7 @@ export class PayerAuthorisationService {
return formattedResponse;
}

/** @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. */
public async confirm(identity: string, customHeaders: Types.JsonMap = {}): Promise<PayerAuthorisationResponse> {
const urlParameters = [{ key: 'identity', value: identity }];
const requestParams = {
Expand Down
3 changes: 3 additions & 0 deletions src/services/redirectFlowService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export class RedirectFlowService {
this.api = api;
}

/** @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. */
public async create(
requestParameters: RedirectFlowCreateRequest,
idempotencyKey: string = '',
Expand All @@ -99,6 +100,7 @@ export class RedirectFlowService {
return formattedResponse;
}

/** @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. */
public async find(identity: string, customHeaders: Types.JsonMap = {}): Promise<RedirectFlowResponse> {
const urlParameters = [{ key: 'identity', value: identity }];
const requestParams = {
Expand All @@ -120,6 +122,7 @@ export class RedirectFlowService {
return formattedResponse;
}

/** @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. */
public async complete(
identity: string,
requestParameters?: Partial<RedirectFlowCompleteRequest>,
Expand Down
Loading