Skip to main content
Version: v3

Create new integration

POST 

/payments/custom-provider/provider

API to create a new association for an app and location

Request

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

Location id

application/json

Bodyrequired

    namestringrequired

    The name of the custom provider

    descriptionstringrequired

    Description of payment gateway. Shown on the payments integrations page as subtext

    paymentsUrlstringrequired

    This url will be loaded in iFrame to start a payment session.

    queryUrlstringrequired

    The url used for querying payments related events. Ex. verify, refund, subscription etc.

    imageUrlstringrequired

    Public image url for logo of the payment gateway displayed on the payments integrations page.

    supportsSubscriptionSchedulebooleanrequired

    Whether the config supports subscription schedule or not. true represents config supports subscription schedule

application/json

Successful response

Schema
    namestringrequired

    The name of the custom provider

    descriptionstringrequired

    Description of payment gateway. Shown on the payments integrations page as subtext

    paymentsUrlstringrequired

    This url will be loaded in iFrame to start a payment session.

    queryUrlstringrequired

    The url used for querying payments related events. Ex. verify, refund, subscription etc.

    imageUrlstringrequired

    Public image url for logo of the payment gateway displayed on the payments integrations page.

    _idstringrequired

    The unique identifier for the custom provider.

    locationIdstringrequired

    Location id

    marketplaceAppIdstringrequired

    The application id of marketplace

    paymentProviderobject

    Payment provider details.

    deletedbooleanrequired

    Whether the config is deleted or not. true represents config is deleted

    createdAtstring<date-time>required

    The creation timestamp of the custom provider.

    updatedAtstring<date-time>required

    The last update timestamp of the custom provider.

    traceIdstring

    Trace id of the custom provider.