On this page, you can find additional configuration for adding KNET 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 | ![]() |
The shopper's full name. |
shopperEmail | ![]() |
The shopper's email address. |
telephoneNumber | ![]() |
The shopper's telephone number. |
curl https://checkout-test.adyen.com/v69/sessions \
-H "x-API-key: YOUR_X-API-KEY" \
-H "content-type: application/json" \
-d '{
"merchantAccount":"YOUR_MERCHANT_ACCOUNT",
"reference":"YOUR_ORDER_NUMBER",
"amount":{
"currency":"KWD",
"value":1000
},
"shopperName":{
"firstName": "Happy",
"lastName": "Testing",
"gender": "UNKNOWN"
}
"shopperEmail":"shopper@email.com",
"telephoneNumber":"000000000000",
"returnUrl":"my-app://"
}'
Drop-in configuration
If your integration uses iOS Components v5.0.0 or later, configure and create an instance of the KNET Component:
//Create a payment method object for KNET.
let paymentMethod = paymentMethods.paymentMethod(ofType: knetComponentPaymentMethod.self)
//Create a configuration object for the KNET Component.
var knetComponentConfiguration = knetComponent.Configuration()
//Set additional parameters on the configuration object.
knetComponentConfiguration.localizationParameters = //Optional custom localization parameters.
There is no required KNET specific integration for Components.
Test and go live
To test KNET payments, use the test card details provided by Tap.
Before you can accept live KNET payments, you need to submit a request for KNET in your live Customer Area.