Logo
Adyen APIs API Documentation

Request to add Swish

POST {{baseUrl}}/merchants/:merchantId/paymentMethodSettings

Sends a request to add a new payment method to the merchant account identified in the path. To make this request, your API credential must have the following role: * Management API—Payment methods read and write

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "id": "PM3227C223224K5FH84M8CBNH", "businessLineId": "BL322KV223222D5F8H2J4BQ6C", "type": "swish", "countries": ["SE"], "currencies": ["SEK"], "swish": { "swishNumber": "1231111111" } }



Curl
curl -X POST 'https://management-test.adyen.com/v3/merchants/:merchantId/paymentMethodSettings' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"businessLineId":"BL322KV223222D5F8H2J4BQ6C","type":"swish","swish":{"swishNumber":"1231111111"},"currencies":["SEK"],"countries":["SE"]}'

ENDPOINTS