Skip to content

Terminal

his page provides information about the APIs for creating and deleting a terminal.

Utwórz terminal

Aby móc wykonywać inne operacje sklepu i terminala, proszę sprawdzić poniżej dostępne punkty końcowe środowiska:”

ŚrodowiskoURLMetoda działania i endpointyOpis działania
PRODapi.sibsgateway.comPOST /sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}/terminalutwórz zasób Merchant Establishment Terminal
CERstargate-cer.qly.site1.sibs.ptPOST /sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}/terminalutwórz zasób Merchant Establishment Terminal
Sandboxsandbox.sibsgateway.comPOST /sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}/terminalutwórz zasób Merchant Establishment Terminal

Musisz wykonać żadanie POST z nasępującymi danymi:

Patametry
ParametrTypStanRequiredOpis
Typ zawartościCiągWymaganeNagłowekapplication/json
Merchant-IDCiągWymaganeŚcieżkaMerchant ID
Shop-IDCiągWymaganeŚcieżkaEstablishment ID
X-Request-IDCiągWymaganeNagłowekŻadanie indentyfikatora ID, unikalne do połączenia, określony przez stronę inicjującą.
x-ibm-client-idCiągWymaganeNagłowekToken identyfikujący organizację klienta. It is provided during onboarding process and must be used in every call

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

Kod statusuWiadomośćTransactionStatus
000Sukces“ACT” (Accepted Technical Validation)
999Unexpected Error“RJT” (Rejected)
Info

Więcej informacji na temat komunikatów o błędach można znaleźć w sekcji Obsługa błędów na stronie Sprzedawca.

Cancel terminal

To cancel an existing terminal, you can execute a DELETE operation. For this action, utilize the following endpoints:

EnvironmentURLOperation Method & EndpointDescription
PRODapi.sibsgateway.comDELETE /sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}/teminalDelete a Terminal resource
CERstargate-cer.qly.site1.sibs.ptDELETE
/sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}/teminal
Delete a Terminal resource
Sandboxsandbox.sibsgateway.comDELETE /sibs/onboarding/v1/sponsored-merchant/{merchant-id}/shop/{shop-id}/teminalDelete a Terminal resource

You need to perform a CANCEL request with the following data:

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

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)