diff --git a/src/Utilities/PaymentBody.res b/src/Utilities/PaymentBody.res index 0abd823..dc6b4c4 100644 --- a/src/Utilities/PaymentBody.res +++ b/src/Utilities/PaymentBody.res @@ -563,6 +563,17 @@ let afterpayRedirectionBody = () => [ ("payment_method", "pay_later"->JSON.Encode.string), ("payment_method_type", "afterpay_clearpay"->JSON.Encode.string), ("payment_experience", "redirect_to_url"->JSON.Encode.string), + ( + "payment_method_data", + [ + ( + "pay_later", + [ + ("afterpay_clearpay_redirect", []->Utils.getJsonFromArrayOfJson), + ]->Utils.getJsonFromArrayOfJson, + ), + ]->Utils.getJsonFromArrayOfJson, + ), ] let giroPayBody = (~name, ~iban="", ()) => [