functions

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
More information: https://openapi-generator.tech
Contact Info: team@openapitools.org
Version: 1-alpha
BasePath:/v1
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

  1. HTTP Basic Authentication

Methods

[ Jump to Models ]

Table of Contents

Default

Default

Up
post /merchants
(createMerchant)

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

merchantInput MerchantInput (required)
Body Parameter

Return type

MerchantOutput

Example data

Content-Type: application/json
{
  "stripeAcctId" : "stripeAcctId",
  "connectedAccountWebhookUrl" : "connectedAccountWebhookUrl",
  "gatewayAccountId" : "gatewayAccountId",
  "gatewayCredentials" : "gatewayCredentials",
  "transactionWebhookUrl" : "transactionWebhookUrl",
  "shopifyDomain" : "shopifyDomain",
  "stripeOnConnectionRedirectURL" : "stripeOnConnectionRedirectURL",
  "enabled" : true,
  "createdAt" : "2000-01-23T04:56:07.000+00:00",
  "stripeURLToConnectAccount" : "stripeURLToConnectAccount",
  "commissionPercentage" : 0.8008281904610115,
  "gatewayURL" : "gatewayURL",
  "drveUid" : "drveUid",
  "testMode" : true,
  "name" : "name",
  "id" : "id",
  "updatedAt" : "2000-01-23T04:56:07.000+00:00"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Ok MerchantOutput

Up
put /merchants/{drveUid}
(editMerchant)

Path parameters

drveUid (required)
Path Parameter — default: null

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

merchantInput MerchantInputEdit (required)
Body Parameter

Return type

MerchantOutput

Example data

Content-Type: application/json
{
  "stripeAcctId" : "stripeAcctId",
  "connectedAccountWebhookUrl" : "connectedAccountWebhookUrl",
  "gatewayAccountId" : "gatewayAccountId",
  "gatewayCredentials" : "gatewayCredentials",
  "transactionWebhookUrl" : "transactionWebhookUrl",
  "shopifyDomain" : "shopifyDomain",
  "stripeOnConnectionRedirectURL" : "stripeOnConnectionRedirectURL",
  "enabled" : true,
  "createdAt" : "2000-01-23T04:56:07.000+00:00",
  "stripeURLToConnectAccount" : "stripeURLToConnectAccount",
  "commissionPercentage" : 0.8008281904610115,
  "gatewayURL" : "gatewayURL",
  "drveUid" : "drveUid",
  "testMode" : true,
  "name" : "name",
  "id" : "id",
  "updatedAt" : "2000-01-23T04:56:07.000+00:00"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Ok MerchantOutput

Up
get /merchants/{drveUid}
(getMerchant)

Path parameters

drveUid (required)
Path Parameter — default: null

Return type

Partial_MerchantOutput_

Example data

Content-Type: application/json
{
  "stripeAcctId" : "stripeAcctId",
  "gatewayAccountId" : "gatewayAccountId",
  "connectedAccountWebhookUrl" : "connectedAccountWebhookUrl",
  "gatewayCredentials" : "gatewayCredentials",
  "transactionWebhookUrl" : "transactionWebhookUrl",
  "shopifyDomain" : "shopifyDomain",
  "stripeOnConnectionRedirectURL" : "stripeOnConnectionRedirectURL",
  "enabled" : true,
  "stripeURLToConnectAccount" : "stripeURLToConnectAccount",
  "createdAt" : "2000-01-23T04:56:07.000+00:00",
  "gatewayURL" : "gatewayURL",
  "commissionPercentage" : 0.8008281904610115,
  "drveUid" : "drveUid",
  "testMode" : true,
  "name" : "name",
  "id" : "id",
  "updatedAt" : "2000-01-23T04:56:07.000+00:00"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Ok Partial_MerchantOutput_

Up
get /merchants
(getMerchants)

Return type

array[MerchantOutput]

Example data

Content-Type: application/json
{
  "stripeAcctId" : "stripeAcctId",
  "connectedAccountWebhookUrl" : "connectedAccountWebhookUrl",
  "gatewayAccountId" : "gatewayAccountId",
  "gatewayCredentials" : "gatewayCredentials",
  "transactionWebhookUrl" : "transactionWebhookUrl",
  "shopifyDomain" : "shopifyDomain",
  "stripeOnConnectionRedirectURL" : "stripeOnConnectionRedirectURL",
  "enabled" : true,
  "createdAt" : "2000-01-23T04:56:07.000+00:00",
  "stripeURLToConnectAccount" : "stripeURLToConnectAccount",
  "commissionPercentage" : 0.8008281904610115,
  "gatewayURL" : "gatewayURL",
  "drveUid" : "drveUid",
  "testMode" : true,
  "name" : "name",
  "id" : "id",
  "updatedAt" : "2000-01-23T04:56:07.000+00:00"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Ok

Models

[ Jump to Methods ]

Table of Contents

  1. MerchantInput -
  2. MerchantInputEdit -
  3. MerchantOutput -
  4. Partial_MerchantOutput_ -
  5. StatusModel -

MerchantInput - Up

drveUid
shopifyDomain
commissionPercentage
Double format: double
enabled
name
transactionWebhookUrl
connectedAccountWebhookUrl
stripeOnConnectionRedirectURL

MerchantInputEdit - Up

shopifyDomain (optional)
commissionPercentage (optional)
Double format: double
enabled (optional)
name (optional)
transactionWebhookUrl (optional)
connectedAccountWebhookUrl (optional)
stripeOnConnectionRedirectURL (optional)

MerchantOutput - Up

drveUid
shopifyDomain
commissionPercentage
Double format: double
enabled
name
transactionWebhookUrl
connectedAccountWebhookUrl
stripeOnConnectionRedirectURL
id
createdAt
Date format: date-time
updatedAt
Date format: date-time
status
gatewayURL
gatewayAccountId
gatewayCredentials
stripeAcctId (optional)
stripeURLToConnectAccount
testMode

Partial_MerchantOutput_ - Up

Make all properties in T optional
status (optional)
gatewayURL (optional)
gatewayAccountId (optional)
gatewayCredentials (optional)
stripeAcctId (optional)
stripeURLToConnectAccount (optional)
testMode (optional)
drveUid (optional)
shopifyDomain (optional)
commissionPercentage (optional)
Double format: double
enabled (optional)
name (optional)
transactionWebhookUrl (optional)
connectedAccountWebhookUrl (optional)
stripeOnConnectionRedirectURL (optional)
id (optional)
createdAt (optional)
Date format: date-time
updatedAt (optional)
Date format: date-time

StatusModel - Up