From 457080ebc849ca2ef59ae7d33ccf2fb1ab4ea9cc Mon Sep 17 00:00:00 2001 From: Jan Paepke Date: Fri, 27 Sep 2024 09:59:41 +0200 Subject: [PATCH] add routing param for split payments --- src/binders/payments/parameters.ts | 58 ++++++++++++++++++++++++++++-- src/createMollieClient.ts | 2 +- src/data/global.ts | 4 +++ 3 files changed, 61 insertions(+), 3 deletions(-) diff --git a/src/binders/payments/parameters.ts b/src/binders/payments/parameters.ts index 54c4b029..548695bf 100644 --- a/src/binders/payments/parameters.ts +++ b/src/binders/payments/parameters.ts @@ -1,4 +1,4 @@ -import { type Address, type Amount, type PaymentMethod } from '../../data/global'; +import { type Address, type Amount, type DestinationType, type PaymentMethod } from '../../data/global'; import { type Issuer } from '../../data/Issuer'; import { type PaymentData, type PaymentEmbed, type PaymentInclude } from '../../data/payments/data'; import { type IdempotencyParameter, type PaginationParameters, type ThrottlingParameter } from '../../types/parameters'; @@ -136,7 +136,12 @@ export type CreateParameters = Pick; } & IdempotencyParameter; export interface GetParameters { @@ -194,3 +237,14 @@ export type UpdateParameters = Pick