We recommend checking out the introductory section
to understand the basics of direct charge first. This guide assumes you’ve
read that.
Prerequisites
Before starting your integration, you should:- Ensure that your Flutterwave account is live.
- Inform your customers whether Apple Pay is available in their region. Here is a list of countries/regions where you can use Apple Pay.
Payment Flow
In the hosted integration, we simplify the process of setting up Apple Pay on your website. Follow the steps below:- Initiating the payment.
- Redirecting the user securely. (Only redirect URLs with https TLS1.2 and above will be approved for use).
- Complete the payment.

Step 1: Initiating the Payment
First, you’ll need the customer’semail. Combine that with the rest of the payment details to create the payload and send it to our charge endpoint. You’ll need to specify amount, currency, fullname, and a unique tx_ref. You can also pass on more details, like the fullname and custom meta information. See the endpoint reference for all parameters that can be passed.
cURL

Step 2: Redirecting your Customers
After a successful charge, You’ll get a response that looks like this:
Sample Response
statusis"successful", which means the charge was initiated successfully.data.statusis"pending", meaning that the payment has been initiated but the payment has not yet authorized/approved by the User.meta.authorizationcontains the important details to complete the payment. Themeta.authorization.redirectfield has the redirect URL to complete the payment.