--- swagger: "2.0" info: x-ibm-name: spg-business-mbway-sandbox title: MB Way ID Purchase (Sandbox) version: 2.0.0 description: "" schemes: - https basePath: /spgbusiness/v1/mbway consumes: - application/json - text/plain produces: - application/json - text/plain security: [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /payment: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/OutPayment' operationId: payment parameters: - name: input required: true in: body schema: $ref: '#/definitions/InPayment' - name: apim-oauth-token type: string required: false in: header definitions: ExtendedInfo: type: object properties: key: type: string value: type: string description: Key value tuple. Info: properties: extendedInfo: type: array items: $ref: '#/definitions/ExtendedInfo' description: Key Value tuple array. additionalProperties: false description: Object that defines the transaction additional information InPayment: properties: requestPayment: $ref: '#/definitions/RequestPayment' description: Object that defines the QR Code payment request parameters. Check the RequestPayment definition. additionalProperties: false Merchant: properties: terminalId: type: integer example: "21451" description: Number of the merchant pos Id. format: int32 channel: type: string description: Type of channel used by the merchant. example: web merchantTransactionId: type: string description: Unique id used by the merchant. example: 863b730df285443f9a60ca404e0085fd1234 additionalProperties: false description: Object that defines a Merchant. OutPayment: properties: responsePayment: description: Object that defines the QR Code payment response parameters. Check the ResponsePayment definition. $ref: '#/definitions/ResponsePayment' additionalProperties: false RequestPayment: properties: transactionToken: type: string description: Unique id identify of the transaction. example: 42f59038f3f14e618d091da8bf3b717e9999 customerPhone: type: string description: Customer's phone number. example: 351#912345678 info: $ref: '#/definitions/Info' description: Object that defines the aditional info provided by the merchant. Check the Info definition. additionalProperties: false description: Object that defines the payment operation request fields ResponsePayment: properties: returnStatus: description: Object that defines the Status of the transaction. Check the ReturnStatus definition. $ref: '#/definitions/ReturnStatus' transactionToken: type: string description: Unique id identify of the transaction. example: 42f59038f3f14e618d091da8bf3b717e9999 transactionID: type: string description: Unique identify of the transaction. example: 42f59038f3f14e618d091da8bf3b717e9999 merchant: description: Object that defines the Merchant. Check the Merchant definition. $ref: '#/definitions/Merchant' paymentType: type: string description: Payment type used additionalProperties: false description: Object that defines the payment operation return fields ReturnStatus: properties: statusCode: type: string description: Identifier code of the processed transaction status. example: "000" statusMsg: type: string description: Message of the processed transaction status. example: Success statusDescription: type: string description: Description of the processed transaction status. additionalProperties: false description: Object that defines the status of the processed transaction. tags: [] x-ibm-endpoints: - endpointUrl: https://site1.sibsapimarket.com:8445/sibs-qly/apimarket-sb type: - production - development - endpointUrl: https://site2.sibsapimarket.com:8445/sibs-qly/apimarket-sb type: - production - development ...