Skip to content

Shop

This page provides all the details you need to manage your shop through the API. You can create, update, or cancel your shop, and add or remove payment methods.

Create shop

To create new establishment resource, please refer to the list of available environment endpoints provided below:

EnvironmentURLOperation Method & EndpointOperation Description
PRODapi.sibsgateway.comPOST /sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shopCreate a new merchant shop resource
TESTstargate.qly.site1.sibs.ptPOST /sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shopCreate a new merchant shop resource

You need to perform a POST request including the following header and path parameters:

Parameters
ParameterTypeConditionRequiredDescription
Content-typeStringMandatoryHeaderapplication/json
X-Request-IDStringMandatoryHeaderID of the request, unique to the call, as determined by the initiating party
merchant-idStringMandatoryPathID of Sponsored Merchant
x-ibm-client-idStringMandatoryHeaderToken that identifies a client organization. It is provided during onboarding process and must be used in every call

You need to perform a POST request with the following parameters:

Request parameters
Data ElementType
Length
ConditionDescription
ShopObjectMandatoryMain object containing shop details
Shop.nameString
<=40
OptionalName of the shop
If this field is left empty, the system will default to using the value specified at the Merchant level.
Shop.addressObjectOptionalShop address details
Shop.address.streetString
<=100
OptionalStreet name of the shop
If this field is left empty, the system will default to using the value specified at the Merchant level.
Shop.address.postalCodeString
<=25
OptionalPostal code of the shop
If this field is left empty, the system will default to using the value specified at the Merchant level.
Shop.address.localityString
<=20
OptionalCity/locality of the shop
If this field is left empty, the system will default to using the value specified at the Merchant level.
Shop.address.countryString
3-3
OptionalShop Country code
(Format ISO 3166, Number 3 code — ex: Poland – 616)
If this field is left empty, the system will default to using the value specified at the Merchant level.
Shop.emailString
<=55
OptionalEmail address of the shop
Shop.phoneNumberString
<=16
OptionalPhone number of the shop
Shop.typeEnumMandatoryShop type
Allowed Values:
“Banks”
“Wholesale“
“Supermarket“
“Retail“
“Gas Stations“
“Restaurants“
“Hotels“
“Others”
“Virtual Establishment“
“Foreign“
“Service Provider“
“Service Entity“
“EMV Tolls“
Shop.mccString
4-4
MandatoryMerchant Category Code
Shop.pkdString
7-7
MandatoryPolish Classification of Activities code
The format of this parameter will be as Follows: 00.00.A
Shop.invoiceIndicatorEnumMandatoryShop Invoice Indicator type
Allowed value:
“Payment Facilitator”
Shop.productsArray of ObjectsMandatoryList of products accepted in the shop
Shop.products[].productIdEnumMandatoryPayment methods to be activated.
Allowed values:
“INTP-BLIK-0-0” InterPay-BLIK-Domestic
“INTP-BLIK-1-0” – InterPay-BLIK-OneClick
“BLMD-PYBL-0-0” BlueMedia-PayByLink-Domestic
“MRKP-CRTB-0-0” – Cartes Bancaires
“SIBS-MBWY-0-0” – MB WAY
“SPDD-BTOB-0-0” – SEPA DD B2B
“SPDD-CORE-0-0” – SEPA DD Core
“XPAY-APPL-0-0” – ApplePay
“XPAY-GGLE-0-0” – GooglePay
“MCC-1-C” – Mastercard-Mastercard-Consumer-Credit
“MCC-1-D” – Mastercard-Mastercard-Consumer-Debit
“MCC-1-P” – Mastercard-Mastercard-Consumer-Prepaid
“MCC-2-C” – Mastercard-Mastercard-Commercial-Credit
“MCC-2-P” – Mastercard-Mastercard-Commercial-Prepaid
“MCC-4-C” – Mastercard-Mastercard-Other-Credit
“MCC-4-D” – Mastercard-Mastercard-Other-Debit
“MCC-4-P” – Mastercard-Mastercard-Other-Prepaid
“MSI-1-D” – Mastercard-Maestro-Consumer-Debit
“MSI-1-P” – Mastercard-Maestro-Consumer-Prepaid
“MSI-2-D” – Mastercard-Maestro-Commercial-Debit
“MSI-2-P” – Mastercard-Maestro-Commercial-Prepaid
“VIS-02-C” – VISA-VISA-Commercial-Credit
“VIS-02-D” – VISA-VISA-Commercial-Debit
“VIS-02-P” – VISA-VISA-Commercial-Prepaid
“VIS-01-C” – VISA-VISA-Consumer-Credit
“VIS-01-D” – VISA-VISA-Consumer-Debit
“VIS-01-P” – VISA-VISA-Consumer-Prepaid
“VPY-03-D” – VISA-VPAY-VPAY-Debit
“VPY-03-P” – VISA-VPAY-VPAY-Prepaid
“VSL-01-C” – VISA-VISA Electron-Consumer-Credit
“VSL-01-D” – VISA-VISA Electron-Consumer-Debit
“VSL-01-P” – VISA-VISA Electron-Consumer-Prepaid
Shop.products[].productInvoiceIndicatorEnumMandatoryProduct Invoice Indicator
Allowed Value:
“Payment Facilitator”
Shop.typeOfIntegrationEnumMandatoryMerchant type of integration
Allowed Values:
“S2S”
“SDK”
“Plugin”
Default “S2S”
Shop.webhookNotificationObjectConditionalConfiguration for webhook notifications
Mandatory if typeOfIntegration is “Plugin”
Shop.webhookNotification.typeEnumConditionalType of webhook notifications.
Allowed values:
“URL”
“Email”
Mandatory if typeOfIntegration is “Plugin”.
If “Plugin”, the value must be “URL”
Shop.webhookNotification.valueStringConditionalWebhook endpoint or value
Mandatory if typeOfIntegration is “Plugin”
Shop.supportEmailString
<=55
ConditionalAn email address to where all failed SPG Webhook calls will be reported by the end-of-day
Mandatory if typeOfIntegration is “Plugin”
Shop.securityKeyString
>=32
OptionalA pseudo-random symmetric key that will be used to cipher the webhook content

Below is an example of a POST request:

{
  "Shop": {
    "name": "Example Shop",
    "address": {
      "street": "Main Street 123",
      "postalCode": "00-001",
      "locality": "Warsaw",
      "country": "616"
    },
    "email": "shop@example.com",
    "phoneNumber": "351912345678",
    "type": "Retail",
    "mcc": "5411",
    "pkd": "47.11.Z",
    "invoiceIndicator": "Payment Facilitator",
    "products": [
      {
        "productId": "XPAY-APPL-0-0",
        "productInvoiceIndicator": "Payment Facilitator"
      },
      {
        "productId": "VIS-01-D",
        "productInvoiceIndicator": "Payment Facilitator"
      }
    ],
    "typeOfIntegration": "S2S",
    "webhookNotification": {
      "type": "URL",
      "value": "https://merchant.example.com/webhook"
    },
    "supportEmail": "support@example.com",
    "securityKey": "8a93f83e0a89485f912374fe0cb458bc"
  }
}

Update shop

To update of shop details, kindly refer to the list of available environment endpoints below:

EnvironmentURLOperation Method & EndpointOperation Description
PRODapi.sibsgateway.comPUT sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}Update a Merchant Shop resource.
TESTstargate.qly.site1.sibs.ptPUT sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}Update a Merchant Shop resource.

You need to perform a PUT request including the following header and path parameters:

Parameters
ParameterTypeConditionRequiredDescription
Content-typeStringMandatoryHeaderapplication/json
X-Request-IDStringMandatoryHeaderID of the request, unique to the call, as determined by the initiating party
merchant-idStringMandatoryPathID of Sponsored Merchant
shop-idStringMandatoryPathID of Establishment
x-ibm-client-idStringMandatoryHeaderToken that identifies a client organization. It is provided during onboarding process and must be used in every call

The table below details the parameters that can be utilized in the request message to update shop information:

Request parameters
Data ElementType
Length
ConditionDescription
ShopObjectMandatoryMain object containing shop details
Shop.addressObjectOptionalShop address details
Shop.address.streetString
<=100
OptionalStreet name of the shop
If this field is left empty, the system will default to using the value specified at the Merchant level.
Shop.address.postalCodeString
<=25
OptionalPostal code of the shop
If this field is left empty, the system will default to using the value specified at the Merchant level.
Shop.address.localityString
<=20
OptionalCity/locality of the shop
If this field is left empty, the system will default to using the value specified at the Merchant level.
Shop.emailString
<=55
OptionalEmail address of the shop
If this field is left empty, the system will default to using the value specified at the Merchant level.
Shop.phoneNumberString
<=16
OptionalPhone number of the shop
If this field is left empty, the system will default to using the value specified at the Merchant level.
Shop.typeEnumMandatoryShop type
Allowed Values:
“Banks”
“Wholesale“
“Supermarket“
“Retail“
“Gas Stations“
“Restaurants“
“Hotels“
“Others”
“Virtual Establishment“
“Foreign“
“Service Provider“
“Service Entity“
“EMV Tolls“

Find below a PUT request example:

{
  "Shop": {
    "address": {
      "street": "Behsu Road",
      "postalCode": "K8D 1C8",
      "locality": "aparuma"
    },
    "email": "johndoe@johndoe.pl",
    "phoneNumber": "987654321",
    "type": "Banks"
  }
}

Cancel shop

To remove a shop from the system based on its unique identifier, you can execute a DELETE operation. For this action, please utilize the following endpoints:

EnvironmentURLOperation Method & EndpointOperation Description
PRODapi.sibsgateway.comDELETE sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}Cancel a Merchant Shop resource.
TESTstargate.qly.site1.sibs.ptDELETE sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}Cancel a Merchant Shop resource.

Find below the request headers and path:

Parameters
ParameterTypeConditionRequiredDescription
Content-typeStringMandatoryHeaderapplication/json
X-Request-IDStringMandatoryHeaderID of the request, unique to the call, as determined by the initiating party
merchant-idStringMandatoryPathID of Sponsored Merchant
shop-idStringMandatoryPathID of Establishment
x-ibm-client-idStringMandatoryHeaderToken that identifies a client organization. It is provided during onboarding process and must be used in every call
Info

For more information related to the error messages, please refer to the page Onboarding API > Merchant, section Error handling.

Add payment method

Our API enables seamless integration of new financial products into an existing store. To add a new payment method, please refer to the list of available environment endpoints provided below:

EnvironmentURLOperation Method & EndpointDescription
PRODapi.sibsgateway.comPOST sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}/productsAdd new Financial Product
TESTstargate.qly.site1.sibs.ptPOST sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}/productsAdd new Financial Product

You need to perform a POST request including the following header and path parameters:

Parameters
ParameterTypeConditionRequiredDescription
Content-typeStringMandatoryHeaderapplication/json
X-Request-IDStringMandatoryHeaderID of the request, unique to the call, as determined by the initiating party
merchant-idStringMandatoryPathID of Sponsored Merchant (required in the path)
shop-idStringMandatoryPathID of Establishment (required in the path)
x-ibm-client-idStringMandatoryHeaderToken that identifies a client organization. It is provided during onboarding process and must be used in every call

The table below details the parameters that should be included in the request message to add a financial product:

Request Parameters
Data ElementType
Length
ConditionDescription
productsArray of ObjectsMandatoryList of products to be configured
products[].productIdEnumMandatoryPayment methods to be activated.
Allowed values:
“INTP-BLIK-0-0” InterPay-BLIK-Domestic
“INTP-BLIK-1-0” – InterPay-BLIK-OneClick
“BLMD-PYBL-0-0” BlueMedia-PayByLink-Domestic
“MRKP-CRTB-0-0” – Cartes Bancaires
“SIBS-MBWY-0-0” – MB WAY
“SPDD-BTOB-0-0” – SEPA DD B2B
“SPDD-CORE-0-0” – SEPA DD Core
“XPAY-APPL-0-0” – ApplePay
“XPAY-GGLE-0-0” – GooglePay
“MCC-1-C” – Mastercard-Mastercard-Consumer-Credit
“MCC-1-D” – Mastercard-Mastercard-Consumer-Debit
“MCC-1-P” – Mastercard-Mastercard-Consumer-Prepaid
“MCC-2-C” – Mastercard-Mastercard-Commercial-Credit
“MCC-2-P” – Mastercard-Mastercard-Commercial-Prepaid
“MCC-4-C” – Mastercard-Mastercard-Other-Credit
“MCC-4-D” – Mastercard-Mastercard-Other-Debit
“MCC-4-P” – Mastercard-Mastercard-Other-Prepaid
“MSI-1-D” – Mastercard-Maestro-Consumer-Debit
“MSI-1-P” – Mastercard-Maestro-Consumer-Prepaid
“MSI-2-D” – Mastercard-Maestro-Commercial-Debit
“MSI-2-P” – Mastercard-Maestro-Commercial-Prepaid
“VIS-02-C” – VISA-VISA-Commercial-Credit
“VIS-02-D” – VISA-VISA-Commercial-Debit
“VIS-02-P” – VISA-VISA-Commercial-Prepaid
“VIS-01-C” – VISA-VISA-Consumer-Credit
“VIS-01-D” – VISA-VISA-Consumer-Debit
“VIS-01-P” – VISA-VISA-Consumer-Prepaid
“VPY-03-D” – VISA-VPAY-VPAY-Debit
“VPY-03-P” – VISA-VPAY-VPAY-Prepaid
“VSL-01-C” – VISA-VISA Electron-Consumer-Credit
“VSL-01-D” – VISA-VISA Electron-Consumer-Debit
“VSL-01-P” – VISA-VISA Electron-Consumer-Prepaid
products[].productInvoiceIndicatorEnumMandatoryProduct Invoice Indicator
Allowed Value:
“Payment Facilitator”

Find below a POST request example:

{
  "products" : [ {
    "productId" : "MCC-1-C",
    "productInvoiceIndicator" : "Payment Facilitator"
  } ]
}

After the request, the API will respond with one of the two status codes:

Status CodeMessageTransactionStatus
000Success“ACT” (Accepted Technical Validation)
999Unexpected Error“RJT” (Rejected)

Delete payment method

To remove a financial product/payment method from an existing establishment, you can execute a DELETE operation. For this action, please utilize the following endpoints:

EnvironmentURLOperation Method & EndpointDescription
PRODapi.sibsgateway.comDELETE sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}/productsDelete a Payment Method/Financial Product from a Shop
TESTstargate.qly.site1.sibs.ptDELETE sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}/productsDelete a Payment Method/Financial Product from a Shop

You need to perform a DELETE request including the following header and path parameters:

Parameters
ParameterTypeConditionRequiredDescription
Content-typeStringMandatoryHeaderapplication/json
X-Request-IDStringMandatoryHeaderID of the request, unique to the call, as determined by the initiating party
merchant-idStringMandatoryPathID of Sponsored Merchant (required in the path)
shop-idStringMandatoryPathID of Establishment (required in the path)
x-ibm-client-idStringMandatoryHeaderToken that identifies a client organization. It is provided during onboarding process and must be used in every call

The table below details the parameters that should be included in the request message to add a financial product:

Request Parameters
Data ElementType
Length
ConditionDescription
productsArray of ObjectsMandatoryObject that defines the Shop Products
products[].productIdEnumMandatoryPayment methods to be activated.
Allowed values:
“INTP-BLIK-0-0” InterPay-BLIK-Domestic
“INTP-BLIK-1-0” – InterPay-BLIK-OneClick
“BLMD-PYBL-0-0” BlueMedia-PayByLink-Domestic
“MRKP-CRTB-0-0” – Cartes Bancaires
“SIBS-MBWY-0-0” – MB WAY
“SPDD-BTOB-0-0” – SEPA DD B2B
“SPDD-CORE-0-0” – SEPA DD Core
“XPAY-APPL-0-0” – ApplePay
“XPAY-GGLE-0-0” – GooglePay
“MCC-1-C” – Mastercard-Mastercard-Consumer-Credit
“MCC-1-D” – Mastercard-Mastercard-Consumer-Debit
“MCC-1-P” – Mastercard-Mastercard-Consumer-Prepaid
“MCC-2-C” – Mastercard-Mastercard-Commercial-Credit
“MCC-2-P” – Mastercard-Mastercard-Commercial-Prepaid
“MCC-4-C” – Mastercard-Mastercard-Other-Credit
“MCC-4-D” – Mastercard-Mastercard-Other-Debit
“MCC-4-P” – Mastercard-Mastercard-Other-Prepaid
“MSI-1-D” – Mastercard-Maestro-Consumer-Debit
“MSI-1-P” – Mastercard-Maestro-Consumer-Prepaid
“MSI-2-D” – Mastercard-Maestro-Commercial-Debit
“MSI-2-P” – Mastercard-Maestro-Commercial-Prepaid
“VIS-02-C” – VISA-VISA-Commercial-Credit
“VIS-02-D” – VISA-VISA-Commercial-Debit
“VIS-02-P” – VISA-VISA-Commercial-Prepaid
“VIS-01-C” – VISA-VISA-Consumer-Credit
“VIS-01-D” – VISA-VISA-Consumer-Debit
“VIS-01-P” – VISA-VISA-Consumer-Prepaid
“VPY-03-D” – VISA-VPAY-VPAY-Debit
“VPY-03-P” – VISA-VPAY-VPAY-Prepaid
“VSL-01-C” – VISA-VISA Electron-Consumer-Credit
“VSL-01-D” – VISA-VISA Electron-Consumer-Debit
“VSL-01-P” – VISA-VISA Electron-Consumer-Prepaid
products[].productInvoiceIndicatorEnumMandatoryProduct Invoice Indicator
Allowed Value:
“Payment Facilitator”

Find below a DELETE request example:

{
  "products" : [ {
    "productId" : "MCC-1-C",
    "productInvoiceIndicator" : "Payment Facilitator"
  } ]
}

After the request, the API will respond with one of the two status codes:

Status CodeMessageTransactionStatus
000Success“ACT” (Accepted Technical Validation)
999Unexpected Error“RJT” (Rejected)
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.