Accept BaadMay payments through the XPay Web and Flutter SDKs. Use baadmay as the PaymentIntent payment_method_types value.
Supported integrations
The API and Web SDK use different values: baadmay selects the PaymentIntent method, while bnpl selects the Web element.
Configure BaadMay
Obtain the credentials required for the merchant's BaadMay integration and add them to the applicable gateway on the Gateways screen in the XPay portal. Complete the provider and production-readiness steps referenced by the XPay Go-Live Guide.
Complete the flow
Create the PaymentIntent from the merchant backend, render the BaadMay method through Web or Flutter, and enable submission from the element's readiness callback. Use the SDK's standard confirmPayment method; the selected gateway doesn't introduce a different result contract.
Handle the synchronous response according to the applicable platform row in SDK confirmation request and result. Reconcile the final backend outcome through the verified payment webhook before fulfilling the order.