Are you looking for test card numbers?

Would you like to contact support?

Payment-method icon

Fawry Drop-in integration

Add Fawry to an existing iOS Drop-in integration.

On this page, you can find additional configuration for adding Fawry to your Drop-in integration.

Before you begin

This page assumes you've already:

API reference

Select which endpoint you're integrating:

This is the default with Drop-in v5.0.0 or later.
Parameter name Required Description
shopperName -white_check_mark- The shopper's full name.
shopperEmail -white_check_mark- The shopper's email address.
telephoneNumber -white_check_mark- The shopper's telephone number.
curl \
-H "x-API-key: YOUR_X-API-KEY" \
-H "content-type: application/json" \
-d '{
    "firstName": "Happy",
    "lastName": "Testing",
    "gender": "UNKNOWN"

Drop-in configuration

If your integration uses iOS Components v5.0.0 or later, configure and create an instance of the Fawry Component:
//Create a payment method object for Fawry.
let paymentMethod = paymentMethods.paymentMethod(ofType: fawryComponentPaymentMethod.self)
//Create a configuration object for the Fawry Component.
var fawryComponentConfiguration = fawryComponent.Configuration()
//Set additional parameters on the configuration object.
fawryComponentConfiguration.localizationParameters = //Optional custom localization parameters.
There is no required Fawry specific integration for Components.

Test and go live

Before you can accept live Fawry payments, you need to submit a request for Fawry in your live Customer Area.

See also