Are you looking for test card numbers?

Would you like to contact support?

Payment-method icon

Walley iOS Component

Add Walley to your existing iOS Components integration.

On this page, you can find additional configuration for adding Walley to your Components integration.

Before you begin

Before continuing, complete the following:

Walley for iOS works with all versions of Components.

API reference

You must include the following fields when making a /sessions request:

Parameter name Required Description
telephoneNumber -white_check_mark- The shopper's telephone number.
You must collect a working mobile phone number (including country code) from the customer. Incorrect or missing numbers will fail Walley's validation.
shopperEmail -white_check_mark- The shopper's email address. -white_check_mark- The ID of the line item.
lineItems.description -white_check_mark- A description of the line item.
lineItems.amountExcludingTax -white_check_mark- The item amount excluding the tax, in minor units.
lineItems.taxAmount -white_check_mark- The tax amount, in minor units.
lineItems.taxPercentage -white_check_mark- The tax percentage, in minor units.
lineItems.quantity -white_check_mark- The number of items.

Component configuration

If your integration uses iOS Components v5.0.0 or later, configure and create an instance of the Walley Component:

//Create a payment method object for Walley.
let paymentMethod = paymentMethods.paymentMethod(ofType: walleyComponentPaymentMethod.self)
//Create a configuration object for the Walley Component.
var walleyComponentConfiguration = walleyComponent.Configuration()
//Set additional parameters on the configuration object.
walleyComponentConfiguration.localizationParameters = //Optional custom localization parameters.

There is no required Walley-specific integration for Components.

Test and go live

There is no test environment available for Walley. Verify payments with real payment details and small amounts.

Check the status of Walley verification payments in your Customer Area > Transactions > Payments.

See also