Overslaan naar inhoud
  • Er zijn geen suggesties want het zoekveld is leeg.

Alliance Partners - Verkooplocaties

1. Beschikbare categorieën ophalen

For a quick start, please refer to the sample in the php SDK or call the Service::getCategories
Full documentation coming soon

2. Verkooplocatie toevoegen

Request code: Add Service for a Submerchant

curl --request POST
--url https://rest-api.pay.nl/v7/Alliance/addService/json
--header 'authorization: Basic dG9rZW46PHlvdXItYXBpLXRva2VuPg=='
--header 'cache-control: no-cache'
--header 'content-type: application/x-www-form-urlencoded'
--data-urlencode 'merchantId=M-####-####'
--data-urlencode 'name=Cheers'
--data-urlencode 'description=The place where everybody knows your name'
--data-urlencode 'categoryId=CY-2010-5020'
--data-urlencode 'publication=https://classic-carparts-restaurant.nl'
--data-urlencode 'pluginVersionId=PV-####-####'
--data-urlencode 'publication='
--data-urlencode 'contactPhone=0888866666'
--data-urlencode 'publication='
--data-urlencode 'paymentOptions[0][id]=10'
--data-urlencode 'paymentOptions[1][id]=138'
--data-urlencode 'paymentOptions[1][settings][merchantId]=paypal@classic-carparts-restaurant.nl'
--data-urlencode 'paymentOptions[1][settings][noShipping]=0'
--data-urlencode 'paymentOptions[1][settings][protectionEligibility]=1'
--data-urlencode 'paymentOptions[1][settings][showOrderLines]=1'
--data-urlencode 'paymentOptions[1][settings][currencyEnabled]=0'
--data-urlencode 'exchange[useExchange]=1'
--data-urlencode 'exchange[alwaysSendExchange]=1'
--data-urlencode 'exchange[requestMethod]=post'
--data-urlencode 'exchange[requestFormat]=json/xml/txt/jsonp'
--data-urlencode 'exchange[resultSeperator]=|'
--data-urlencode 'exchange[retry]=7'
--data-urlencode 'exchange[urls][0]=https://demo.pay.nl/exchange.php'
--data-urlencode 'exchange[urls][1]=https://demo.pay.nl/webhooks/paynl/exchange.php'

For a quick start, please refer to the sample in the php SDK or call the service::getAvailablePaymentMethods
Full documentation coming soon

3. Beschikbare betaalmethoden ophalen

For a quick start, please refer to the sample in the php SDK or call the service::getAvailablePaymentMethods
Full documentation coming soon

4. Betaalmethode activeren

For a quick start, please refer to the sample in the php SDK or call the service::enablePaymentOption
Full documentation coming soon

5. Betaalmethode uitschakelen

For a quick start, please refer to the sample in the php SDK or call the service::enablePaymentOption
Full documentation coming soon