Skip to main content

Example Request

The following cURL request can be used to test the API PUT endpoint on the demo environment.

You will need the following variables obtained from PaySuite.

  • {{PAYSUITE_SUBSCRIPTION_KEY}}
  • {{SOFTCO_PLATFORM_ACCOUNT_ID}}
curl --location 'https://group.pay.accessacloud.com/pay-here-demo/api/merchants/{{PAYSUITE_MERCHANT_ID}}' \
--header 'Content-Type: application/json' \
--header 'Ocp-Apim-Subscription-Key: {{PAYSUITE_SUBSCRIPTION_KEY}}' \
--data '{
"stripePlatformAccountId": "{{SOFTCO_PLATFORM_ACCOUNT_ID}}",
"redirectUrl": "https://localhost/return"
}'