v1

latestOpenAPI 3.1.02026-07-26490301.4 KB
Site

Create site

post/site

Headers

X-Request-IDstring

Unique ID of request

Request body

namestring required

URL without protocol prefix

externalIdstring

Merchant site ID

ipnUrlstring url required

The Instant payment notification (aka IPN or callback) will be sent to this URL after purchase

redirectUrlstring url

User will be redirected to this URL after purchase

clientIdstring

If you have multiple <b>clientId</b> values, specify the one for which you want to create the website

Example request

{
  "name": "example.com",
  "externalId": "14253ms92m0as",
  "ipnUrl": "https://google.com/gateway/webhook/245252525252525",
  "redirectUrl": "https://google.com/oijhflsfs9"
}

Response

OK

idstring

Gateway site ID (created on the Merchant portal)

namestring

URL without protocol prefix

externalIdstring

Merchant site ID

ipnUrlstring url

The Instant payment notification (aka IPN or callback) will be sent to this URL after purchase

redirectUrlstring url

User will be redirected to this URL after purchase

createdAtstring date-time
updatedAtstring date-time

Example response

{
  "id": "983759353",
  "name": "example.com",
  "externalId": "14253ms92m0as",
  "ipnUrl": "https://google.com/gateway/webhook/245252525252525",
  "redirectUrl": "https://google.com/oijhflsfs9",
  "createdAt": "2020-04-17 13:43:02",
  "updatedAt": "2020-11-17 13:43:02"
}