Skip to content

Commit da3051c

Browse files
[transfers] Automated update from Adyen/adyen-openapi@ec69ba3
1 parent ecc0f79 commit da3051c

17 files changed

Lines changed: 186 additions & 15 deletions

sdk-generation-log/transfers.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"service": "transfers",
3+
"project": "node",
4+
"generatedAt": "2026-05-01T07:58:29Z",
5+
"openapiCommitSha": "ec69ba3c5e5893b5bff377652eb0a65bdb9bdc24",
6+
"automationCommitSha": "4c065f4314ebb286f05dc38fd80f19058281c63c",
7+
"libraryCommitSha": "ecc0f79b39a3c2103d00600e00aec9cade27ddaf"
8+
}

src/services/transfers/transfersApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class TransfersApi extends Service {
8383
* @param balanceAccountId {@link string } The unique identifier of the [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/get/balanceAccounts/{id}__queryParam_id). Required if you don\'t provide an `accountHolderId` or `balancePlatform`. If you provide an `accountHolderId`, the `balanceAccountId` must be related to the `accountHolderId`.
8484
* @param paymentInstrumentId {@link string } The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_). To use this parameter, you must also provide a `balanceAccountId`, `accountHolderId`, or `balancePlatform`. The `paymentInstrumentId` must be related to the `balanceAccountId` or `accountHolderId` that you provide.
8585
* @param reference {@link string } The reference you provided in the POST [/transfers](https://docs.adyen.com/api-explorer/transfers/latest/post/transfers) request
86-
* @param category {@link 'bank' | 'card' | 'grants' | 'interest' | 'internal' | 'issuedCard' | 'migration' | 'platformPayment' | 'topUp' | 'upgrade' } The type of transfer. Possible values: - **bank**: Transfer to a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id) or a bank account. - **internal**: Transfer to another [balance account](https://docs.adyen.com/api-explorer/#/balanceplatform/latest/post/balanceAccounts__resParam_id) within your platform. - **issuedCard**: Transfer initiated by a Adyen-issued card. - **platformPayment**: Fund movements related to payments that are acquired for your users.
86+
* @param category {@link 'bank' | 'card' | 'grants' | 'interest' | 'internal' | 'issuedCard' | 'migration' | 'platformPayment' | 'topUp' | 'upgrade' } The category of the transfer. Possible values: - **bank**: A transfer involving a [transfer instrument](https://docs.adyen.com/api-explorer/legalentity/latest/post/transferInstruments#responses-200-id) or a bank account. - **card**: A transfer involving a third-party card. - **internal**: A transfer between [balance accounts](https://docs.adyen.com/api-explorer/balanceplatform/latest/post/balanceAccounts#responses-200-id) within your platform. - **issuedCard**: A transfer initiated by an Adyen-issued card. - **platformPayment**: Funds movements related to payments that are acquired for your users. - **topUp**: An incoming transfer initiated by your user to top up their balance account.
8787
* @param sortOrder {@link 'asc' | 'desc' } Determines the sort order of the returned transfers. The sort order is based on the creation date of the transfers. Possible values: - **asc**: Ascending order, from oldest to most recent. - **desc**: Descending order, from most recent to oldest. Default value: **asc**.
8888
* @param cursor {@link string } The `cursor` returned in the links of the previous response.
8989
* @param limit {@link number } The number of items returned per page, maximum of 100 items. By default, the response returns 10 items per page.

src/typings/transfers/capitalGrant.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99

1010
import { Amount } from "./amount";
1111
import { CapitalBalance } from "./capitalBalance";
12-
import { Counterparty } from "./counterparty";
1312
import { Fee } from "./fee";
13+
import { GrantCounterparty } from "./grantCounterparty";
1414
import { Repayment } from "./repayment";
1515

1616

1717
export class CapitalGrant {
1818
"amount"?: Amount | null;
1919
"balances": CapitalBalance;
20-
"counterparty"?: Counterparty | null;
20+
"counterparty"?: GrantCounterparty | null;
2121
"fee"?: Fee | null;
2222
/**
2323
* The identifier of the grant account used for the grant.
@@ -57,7 +57,7 @@ export class CapitalGrant {
5757
{
5858
"name": "counterparty",
5959
"baseName": "counterparty",
60-
"type": "Counterparty | null",
60+
"type": "GrantCounterparty | null",
6161
"format": ""
6262
},
6363
{

src/typings/transfers/capitalGrantInfo.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
* Do not edit this class manually.
88
*/
99

10-
import { Counterparty } from "./counterparty";
10+
import { GrantInfoCounterparty } from "./grantInfoCounterparty";
1111

1212

1313
export class CapitalGrantInfo {
14-
"counterparty"?: Counterparty | null;
14+
"counterparty"?: GrantInfoCounterparty | null;
1515
/**
1616
* The identifier of the grant account used for the grant.
1717
*/
@@ -29,7 +29,7 @@ export class CapitalGrantInfo {
2929
{
3030
"name": "counterparty",
3131
"baseName": "counterparty",
32-
"type": "Counterparty | null",
32+
"type": "GrantInfoCounterparty | null",
3333
"format": ""
3434
},
3535
{

src/typings/transfers/counterparty.ts renamed to src/typings/transfers/grantCounterparty.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
*/
99

1010

11-
export class Counterparty {
11+
export class GrantCounterparty {
1212
/**
13-
* The identifier of the receiving account holder. The payout will default to the primary balance account of this account holder if no `balanceAccountId` is provided.
13+
* The identifier of the receiving account holder.
1414
*/
1515
"accountHolderId"?: string;
1616
/**
@@ -47,7 +47,7 @@ export class Counterparty {
4747
} ];
4848

4949
static getAttributeTypeMap() {
50-
return Counterparty.attributeTypeMap;
50+
return GrantCounterparty.attributeTypeMap;
5151
}
5252

5353
public constructor() {
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* The version of the OpenAPI document: v4
3+
*
4+
*
5+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6+
* https://openapi-generator.tech
7+
* Do not edit this class manually.
8+
*/
9+
10+
11+
export class GrantInfoCounterparty {
12+
/**
13+
* The identifier of the balance account that belongs to the receiving account holder.
14+
*/
15+
"balanceAccountId"?: string;
16+
/**
17+
* The identifier of the transfer instrument that belongs to the legal entity of the account holder.
18+
*/
19+
"transferInstrumentId"?: string;
20+
21+
static readonly discriminator: string | undefined = undefined;
22+
23+
static readonly mapping: {[index: string]: string} | undefined = undefined;
24+
25+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
26+
{
27+
"name": "balanceAccountId",
28+
"baseName": "balanceAccountId",
29+
"type": "string",
30+
"format": ""
31+
},
32+
{
33+
"name": "transferInstrumentId",
34+
"baseName": "transferInstrumentId",
35+
"type": "string",
36+
"format": ""
37+
} ];
38+
39+
static getAttributeTypeMap() {
40+
return GrantInfoCounterparty.attributeTypeMap;
41+
}
42+
43+
public constructor() {
44+
}
45+
}
46+

src/typings/transfers/ibanAccountIdentification.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99

1010

1111
export class IbanAccountIdentification {
12+
/**
13+
* The bank\'s 8- or 11-character BIC or SWIFT code.
14+
*/
15+
"bic"?: string;
1216
/**
1317
* The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.
1418
*/
@@ -23,6 +27,12 @@ export class IbanAccountIdentification {
2327
static readonly mapping: {[index: string]: string} | undefined = undefined;
2428

2529
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
30+
{
31+
"name": "bic",
32+
"baseName": "bic",
33+
"type": "string",
34+
"format": ""
35+
},
2636
{
2737
"name": "iban",
2838
"baseName": "iban",
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
/*
2+
* The version of the OpenAPI document: v4
3+
*
4+
*
5+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
6+
* https://openapi-generator.tech
7+
* Do not edit this class manually.
8+
*/
9+
10+
import { Amount } from "./amount";
11+
12+
13+
export class InterchangeData {
14+
"interchangeAmount"?: Amount | null;
15+
/**
16+
* A 3-character alphanumeric code assigned by Visa that identifies the specific interchange reimbursement program a transaction qualified for. The code is assigned based on the card type, entry mode, and security data provided.
17+
*/
18+
"interchangeRateIndicator"?: string;
19+
/**
20+
* The type of events data. Possible values: - **interchangeData**: information about the interchange fee applied to a transaction.
21+
*/
22+
"type": InterchangeData.TypeEnum;
23+
24+
static readonly discriminator: string | undefined = undefined;
25+
26+
static readonly mapping: {[index: string]: string} | undefined = undefined;
27+
28+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
29+
{
30+
"name": "interchangeAmount",
31+
"baseName": "interchangeAmount",
32+
"type": "Amount | null",
33+
"format": ""
34+
},
35+
{
36+
"name": "interchangeRateIndicator",
37+
"baseName": "interchangeRateIndicator",
38+
"type": "string",
39+
"format": ""
40+
},
41+
{
42+
"name": "type",
43+
"baseName": "type",
44+
"type": "InterchangeData.TypeEnum",
45+
"format": ""
46+
} ];
47+
48+
static getAttributeTypeMap() {
49+
return InterchangeData.attributeTypeMap;
50+
}
51+
52+
public constructor() {
53+
}
54+
}
55+
56+
export namespace InterchangeData {
57+
export enum TypeEnum {
58+
InterchangeData = 'interchangeData'
59+
}
60+
}

src/typings/transfers/issuedCard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export class IssuedCard {
2222
*/
2323
"panEntryMode"?: IssuedCard.PanEntryModeEnum;
2424
/**
25-
* Contains information about how the payment was processed. For example, **ecommerce** for online or **pos** for in-person payments.
25+
* Contains information about how the payment was processed. Possible values: **atmWithdraw**, **balanceInquiry**, **ecommerce**, **moto**, **pos**, **purchaseWithCashback**, **recurring**, **token**.
2626
*/
2727
"processingType"?: IssuedCard.ProcessingTypeEnum;
2828
"relayedAuthorisationData"?: RelayedAuthorisationData | null;

src/typings/transfers/models.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ export * from "./capitalGrants"
2020
export * from "./card"
2121
export * from "./cardIdentification"
2222
export * from "./confirmationTrackingData"
23-
export * from "./counterparty"
2423
export * from "./counterpartyInfoV3"
2524
export * from "./counterpartyV3"
2625
export * from "./dKLocalAccountIdentification"
@@ -31,9 +30,12 @@ export * from "./externalReason"
3130
export * from "./fee"
3231
export * from "./findTransfersResponse"
3332
export * from "./fundingInstrument"
33+
export * from "./grantCounterparty"
34+
export * from "./grantInfoCounterparty"
3435
export * from "./hKLocalAccountIdentification"
3536
export * from "./hULocalAccountIdentification"
3637
export * from "./ibanAccountIdentification"
38+
export * from "./interchangeData"
3739
export * from "./internalCategoryData"
3840
export * from "./internalReviewTrackingData"
3941
export * from "./invalidField"

0 commit comments

Comments
 (0)