Skip to main content

cURL

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}}
  • {{DIVISION_ACCOUNT_ID}}
curl --location 'https://group.pay.accessacloud.com/pay-here-demo/api/v2/merchants/{{PAYSUITE_MERCHANT_ID}}' \
--header 'Content-Type: application/json' \
--header 'Ocp-Apim-Subscription-Key: {{PAYSUITE_SUBSCRIPTION_KEY}}' \
--data '{
"divisionAccountId": "{{DIVISION_ACCOUNT_ID}}",
"customerId": "softco_customer_001",
"redirectUrl": "https://localhost/return"
}'