This page explains how to add Benefit to your existing Drop-in integration.
Requirements
Select the server-side flow that your integration uses:
Requirement | Description |
---|---|
Integration type | Make sure that you have built a Sessions flow Drop-in integration. |
Setup steps | Before you begin, add Benefit in your Customer Area. |
API reference
Select which endpoint you are using:
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: ADYEN_API_KEY' \ -H 'content-type: application/json' \ -d '{ "merchantAccount":"YOUR_MERCHANT_ACCOUNT", "reference":"YOUR_ORDER_NUMBER", "amount":{ "currency":"BHD", "value":1000 }, "shopperName":{ "firstName": "Happy", "lastName": "Testing", "gender": "UNKNOWN" }, "shopperEmail":"shopper@email.com", "telephoneNumber":"000000000000", "returnUrl":"https://your-company.com/checkout?shopperOrder=12xy.." }'
Drop-in configuration
There are no configuration steps specific to Benefit required for Drop-in.
Test and go live
To test Benefit payments, use the test card details provided by Tap.
Before you can accept live Benefit payments, you need to submit a request for Benefit in your live Customer Area.