diff --git a/src/data/methods/data.ts b/src/data/methods/data.ts index eba4df75..5c358758 100644 --- a/src/data/methods/data.ts +++ b/src/data/methods/data.ts @@ -28,11 +28,18 @@ export interface MethodData extends Model<'method', PaymentMethodEnum> { */ image: Image; /** - * Pricing set of the payment method what will be include if you add the parameter. + * Array of objects describing the pricing configuration applicable for this payment method on your account. * * @see https://docs.mollie.com/reference/v2/methods-api/get-method?path=pricing#response */ - pricing: MethodPricing; + pricing?: MethodPricing[]; + /** + * Array of objects for each 'issuer' that is available for this payment method. Only relevant for iDEAL, KBC/CBC, + * gift cards, and vouchers. + * + * @see https://docs.mollie.com/reference/v2/methods-api/get-method?path=pricing#response + */ + issuers?: MethodIssuers[]; /** * An object with several URL objects relevant to the payment method. Every URL object will contain an `href` and a `type` field. * @@ -93,3 +100,10 @@ export interface MethodPricing { variable: string; feeRegion: FeeRegion; } + +export interface MethodIssuers { + resource: string; + id: string; + name: string; + image: Image; +}