Are you looking for test card numbers?

Would you like to contact support?

No momento, esta página não está disponível em inglês
Payment-method icon

PaySafeCard iOS Component

Add PaySafeCard to your existing iOS Components integration.

On this page, you can find additional configuration for adding PaySafeCard to your Components 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
shopperReference -white_check_mark- Your reference to uniquely identify this shopper, for example user ID or account ID.
For a full list of optional fields that you can send for all payment methods, see /sessions.
curl https://checkout-test.adyen.com/v68/sessions \
-H "x-API-key: YOUR_X-API-KEY" \
-H "content-type: application/json" \
-d '{
  "merchantAccount": "YOUR_MERCHANT_ACCOUNT",
  "reference": "YOUR_ORDER_NUMBER",
  "paymentMethod": {
    "type": "paysafecard"
  },
  "amount": {
    "currency": "EUR",
    "value": "1000"
  },
  "shopperLocale": "de_DE",
  "countryCode": "DE",
  "shopperReference": "YOUR_UNIQUE_SHOPPER_ID",
  "returnUrl": "my-app://"
}'

Component configuration

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

Test and go live

Before you go live, test your integration using the following credentials:

  • 16-digit code: 0000 0000 0990 3417

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

Before you can accept live payments, contact our Support Team to add PaySafeCard in your live Customer Area.

See also