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

Request Body

{"businessLineId"=>"BL322KV223222D5F8H2J4BQ6C", "type"=>"swish", "swish"=>{"swishNumber"=>"1231111111"}, "currencies"=>["SEK"], "countries"=>["SE"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

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