Sorry, you need to enable JavaScript to visit this website.
Skip to main content
developer.sibsapimarket.com/sandbox

developer.sibsapimarket.com/sandbox

  • Getting started
  • API Documentation
  • Help
Register
  • Welcome
  • Sandbox
  • Test & Production

Attention!

This site isn't fully compatible with Edge and you may find some technical issues. For a better experience, we recommend using Chrome, Firefox or Safari.

  • SIBS Payment Gateway 1.0.0
  • APIs
  • Checkout 1.0.0
      • Operations
      • POST /payments
      • GET /payments/{id}/status
      • GET /payments/status
      • Definitions
      • Amount
      • Customer
      • CustomerInfo
      • Deviceinfo
      • ExtendedInfo
      • Info
      • OriginalTransaction
      • Merchant
      • RequestCheckout
      • TokenisationRequest
      • PaymentTokenItem
      • Tokenisation
      • RecurringTransaction
      • ResponseInquiry
      • ReturnCheckout
      • ReturnStatus
      • Transaction
      • Address
      • PaymentReference
      • PaymentInquiryReference
      • Token
      • TokenInquiry
      • Execution
      • RecurringTransactionOutput
      • RecurringTransactionInput
      • Schedule
  • CARD 1.0.0
  • TOKEN API 1.0.0
  • MB WAY 1.0.0
  • MB Service Reference 1.0.0
  • RECURRING API 1.0.0
  • REFUND API 1.0.0
  • CANCELLATION API 1.0.0
  • CAPTURE API 1.0.0

Checkout 1.0.0

1.68421
Average: 1.7 (19 votes)

The Checkout API includes two operations: Checkout Payment and Checkout Status. Checkout Payment performs a request to prepare the checkout required data and returns with the Payment Form. Checkout Status allows merchants to check the status of a specific payment.

  • cURL
  • Ruby
  • Python
  • PHP
  • Java
  • Node
  • Go
  • Swift
Subscribe
production
development
https://sandbox.sibspayments.com

Paths

/payments

post /payments
Authorization
Required in header
string

OAuth Token, the value starts with Bearer followed by the token

{
    "default": "Bearer VE9LRU4gREUgVEVTVEU="
}
input
Required in body
object
Content-Type
Optional in header
string
application/json
Accept
Optional in header
string
application/json
200

200 OK

ReturnCheckout
Example Request
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Example Response
POST https://sandbox.sibspayments.com/sibs/spg/v1/payments
Show more open_in_new
                                          
                                        

x
Try this operation
https://sandbox.sibspayments.com/sibs/spg/v1/payments
Login to test this API.
Login to test this API.
content-type
accept
Authorization

                        
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa. No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).

                            

/payments/{id}/status

get /payments/{id}/status
Authorization
Required in header
string

OAuth Token, the value starts with Bearer followed by the token

{
    "default": "Bearer VE9LRU4gREUgVEVTVEU="
}
id
Required in path
string
Accept
Optional in header
string
application/json
200

200 OK

ResponseInquiry
Example Request
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Example Response
GET https://sandbox.sibspayments.com/sibs/spg/v1/payments/{id}/status
Show more open_in_new
                                          
                                        

x
Try this operation
https://sandbox.sibspayments.com/sibs/spg/v1/payments/{id}/status
Login to test this API.
Login to test this API.
accept
Authorization
id

                        
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa. No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).

                            

/payments/status

get /payments/status
Authorization
Required in header
string

OAuth Token, the value starts with Bearer followed by the token

{
    "default": "Bearer VE9LRU4gREUgVEVTVEU="
}
merchantTransactionId
Optional in query
string
Accept
Optional in header
string
application/json
200

200 OK

ResponseInquiry
Example Request
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Show more open_in_new

x
Example Response
GET https://sandbox.sibspayments.com/sibs/spg/v1/payments/status
Show more open_in_new
                                          
                                        

x
Try this operation
https://sandbox.sibspayments.com/sibs/spg/v1/payments/status
Login to test this API.
Login to test this API.
accept
Authorization
merchantTransactionId

                        
No response. This is a mixed content call. It is not possible to test HTTP APIs from an HTTPS secured Portal site and vice versa. No response. This is a cross-origin call. Make sure the server accepts requests from this portal. Or if using self-signed SSL certificates then paste the URL above into your browser to accept the certificate before trying again (On Internet Explorer it must be the same browser tab.).

                            

Definitions

Object that defines an amount.

{
    "properties": {
        "value": {
            "type": "number",
            "format": "double",
            "example": 20.45
        },
        "currency": {
            "type": "string",
            "description": "Currency used in the transaction.",
            "example": "EUR"
        }
    },
    "additionalProperties": false
}
              

Object that defines a customer.

{
    "properties": {
        "customerInfo": {
            "description": "Object that defines the customer predefined information (name, age, etc). Check the CustomerInfo definition.",
            "example": "",
            "$ref": "#/definitions/CustomerInfo"
        },
        "extendedInfo": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/ExtendedInfo"
            },
            "description": "Key Value tuple array."
        }
    },
    "additionalProperties": false
}
              

Object that defines the predefined customer information.

{
    "properties": {
        "customerName": {
            "type": "string",
            "description": "Name of the customer.",
            "example": "John"
        },
        "shippingAddress": {
            "$ref": "#/definitions/Address",
            "description": "Object that defines the customers address. Check the Address definition."
        },
        "billingAddress": {
            "$ref": "#/definitions/Address",
            "description": "Object that defines the customers address. Check the Address definition."
        },
        "billingAddressSameAsShippingAddress": {
            "type": "boolean",
            "description": "Flag that identifies that the billing address is the same as the shipping address",
            "example": "true"
        }
    },
    "additionalProperties": false
}
              

Object that defines the customer device information.

{
    "properties": {
        "browserAcceptHeader": {
            "type": "string"
        },
        "browserJavaEnabled": {
            "type": "string"
        },
        "browserLanguage": {
            "type": "string"
        },
        "browserColorDepth": {
            "type": "string"
        },
        "browserScreenHeight": {
            "type": "string"
        },
        "browserScreenWidth": {
            "type": "string"
        },
        "browserTZ": {
            "type": "string"
        },
        "browserUserAgent": {
            "type": "string"
        },
        "systemFamily": {
            "type": "string"
        },
        "systemVersion": {
            "type": "string"
        },
        "systemArchitecture": {
            "type": "string"
        },
        "deviceManufacturer": {
            "type": "string"
        },
        "deviceModel": {
            "type": "string"
        },
        "deviceID": {
            "type": "string"
        },
        "applicationName": {
            "type": "string"
        },
        "applicationVersion": {
            "type": "string"
        },
        "geoLocalization": {
            "type": "string"
        },
        "ipAddress": {
            "type": "string"
        }
    },
    "additionalProperties": false
}
              

Key value tuple.

{
    "type": "object",
    "properties": {
        "key": {
            "type": "string"
        },
        "value": {
            "type": "string"
        }
    }
}
              

Object that defines the transaction additional information

{
    "properties": {
        "deviceInfo": {
            "$ref": "#/definitions/Deviceinfo",
            "description": "Object that defines the customers device predefined information. Check the DeviceInfo definition."
        },
        "customerInfo": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/ExtendedInfo"
            },
            "description": "Key Value tuple array."
        }
    },
    "additionalProperties": false
}
              
{
    "properties": {
        "id": {
            "type": "string"
        },
        "datetime": {
            "type": "string"
        },
        "recipientId": {
            "type": "string"
        }
    },
    "additionalProperties": false
}
              

Object that defines a 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
}
              

Object that defines the checkout operation request fields

{
    "properties": {
        "merchant": {
            "description": "Object that defines a Merchant. Check the Merchant definition.",
            "$ref": "#/definitions/Merchant"
        },
        "customer": {
            "description": "Object that defines a Customer. Check the Customer definition.",
            "$ref": "#/definitions/Customer"
        },
        "transaction": {
            "description": "Object that defines a Transaction. Check the Transaction definition.",
            "$ref": "#/definitions/Transaction"
        },
        "info": {
            "$ref": "#/definitions/Info",
            "description": "Object that defines the aditional info provided by the merchant. Check the Info definition."
        },
        "originalTransaction": {
            "$ref": "#/definitions/OriginalTransaction",
            "description": "Object that defines the original transaction."
        },
        "tokenisation": {
            "$ref": "#/definitions/Tokenisation",
            "description": "Tokenization Object."
        },
        "recurringTransaction": {
            "$ref": "#/definitions/RecurringTransactionInput",
            "description": "Object that defines a Recurring Transaction."
        }
    },
    "additionalProperties": false
}
              
{
    "properties": {
        "tokeniseCard": {
            "type": "boolean"
        }
    }
}
              

Token value tuple.

{
    "type": "object",
    "properties": {
        "tokenType": {
            "type": "string"
        },
        "value": {
            "type": "string"
        }
    }
}
              

Object that defines the tokenization field

{
    "properties": {
        "tokenisationRequest": {
            "$ref": "#/definitions/TokenisationRequest"
        },
        "paymentTokens": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/PaymentTokenItem"
            }
        }
    },
    "additionalProperties": false
}
              

Object that defines the recurring transaction

{
    "properties": {
        "validityDate": {
            "type": "string"
        }
    },
    "additionalProperties": false
}
              

Object that defines the inquiry operation return fields

{
    "properties": {
        "returnStatus": {
            "description": "Object that defines the Status of the transaction. Check the ReturnStatus definition.",
            "$ref": "#/definitions/ReturnStatus"
        },
        "paymentStatus": {
            "type": "string"
        },
        "paymentMethod": {
            "type": "string"
        },
        "transactionID": {
            "type": "string"
        },
        "amount": {
            "description": "Object that defines the amount. Check the Amount definition",
            "$ref": "#/definitions/Amount"
        },
        "merchant": {
            "$ref": "#/definitions/Merchant",
            "description": "Object that defines a Merchant. Check the Merchant definition."
        },
        "paymentType": {
            "type": "string"
        },
        "paymentReference": {
            "$ref": "#/definitions/PaymentInquiryReference"
        },
        "token": {
            "$ref": "#/definitions/TokenInquiry"
        },
        "recurringTransaction": {
            "description": "Object that defines a Recurring Transaction. Check the Recurring Transaction definition.",
            "$ref": "#/definitions/RecurringTransactionOutput"
        },
        "execution": {
            "description": "Object that defines an Execution. See the Execution definition.",
            "example": "",
            "$ref": "#/definitions/Execution"
        }
    },
    "additionalProperties": false
}
              

Object that defines the checkout operation return fields

{
    "properties": {
        "returnStatus": {
            "description": "Object that defines the Status of the transaction. Check the ReturnStatus definition.",
            "example": "",
            "$ref": "#/definitions/ReturnStatus"
        },
        "transactionID": {
            "type": "string",
            "description": "Unique identify of the transaction.",
            "example": "42f59038f3f14e618d091da8bf3b717e9999"
        },
        "transactionSignature": {
            "type": "string",
            "example": "42f59038f3f14e618d091da8bf3b717e9999"
        },
        "amount": {
            "description": "Object that defines the amount. Check the Amount definition",
            "$ref": "#/definitions/Amount"
        },
        "merchant": {
            "description": "Object that defines a Merchant. Check the Merchant definition.",
            "$ref": "#/definitions/Merchant"
        },
        "paymentMethodList": {
            "type": "array",
            "description": "Methods of payment accepted by the merchant.",
            "items": {
                "type": "string"
            },
            "example": ""
        },
        "tokenList": {
            "type": "array",
            "description": "Payment tokens.",
            "items": {
                "$ref": "#/definitions/Token"
            }
        },
        "formContext": {
            "type": "string",
            "description": "Form context base64 encoded."
        },
        "execution": {
            "description": "Description of an Execution, see the Execution definition.",
            "$ref": "#/definitions/Execution"
        }
    },
    "additionalProperties": false
}
              

Object that defines the status of the processed transaction.

{
    "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."
        },
        "execution": {
            "description": "Description of an Execution, see the Execution definition.",
            "$ref": "#/definitions/Execution"
        },
        "recurringTransaction": {
            "description": "Description of an Recurring Transaction outcome, see RecurringTransactionOutput definition.",
            "$ref": "#/definitions/RecurringTransactionOutput"
        }
    },
    "additionalProperties": false
}
              

Object that defines a transaction.

{
    "properties": {
        "transactionTimestamp": {
            "type": "string",
            "format": "date-time",
            "description": "Timestamp of the transaction.",
            "example": "2019-04-07T18:13:18.572+01:00"
        },
        "description": {
            "type": "string",
            "description": "Description of the transaction."
        },
        "moto": {
            "type": "boolean",
            "description": "Mail Order Telephone Order",
            "example": "true"
        },
        "paymentType": {
            "type": "string",
            "example": "PURS",
            "description": "Type of payment used by the client."
        },
        "paymentMethod": {
            "type": "string",
            "description": "Method of payment used by the client.",
            "example": "QRCODE"
        },
        "amount": {
            "example": "",
            "description": "Object that defines the amount. Check the Amount definition.",
            "$ref": "#/definitions/Amount"
        },
        "paymentReference": {
            "description": "Object that defines the payment reference. Check the PaymentReference definition.",
            "$ref": "#/definitions/PaymentReference"
        }
    },
    "additionalProperties": false
}
              
{
    "properties": {
        "street1": {
            "type": "string",
            "example": "First street"
        },
        "street2": {
            "type": "string"
        },
        "city": {
            "type": "string",
            "example": "Lisbon"
        },
        "postcode": {
            "type": "string",
            "example": "1700-123"
        },
        "country": {
            "type": "string",
            "example": "PT"
        }
    },
    "additionalProperties": true
}
              
{
    "properties": {
        "entity": {
            "type": "string",
            "description": "Payment Reference Entity"
        },
        "minAmount": {
            "description": "Object that defines the amount. Check the Amount definition.",
            "$ref": "#/definitions/Amount"
        },
        "maxAmount": {
            "description": "Object that defines the amount. Check the Amount definition.",
            "$ref": "#/definitions/Amount"
        },
        "initialDatetime": {
            "type": "string",
            "format": "date-time",
            "example": "2019-04-07T18:13:18.572+01:00",
            "description": "Timestamp for the payment reference start."
        },
        "finalDatetime": {
            "type": "string",
            "format": "date-time",
            "example": "2019-04-07T18:13:18.572+01:00",
            "description": "Timestamp for the payment reference end."
        }
    },
    "additionalProperties": false
}
              
{
    "properties": {
        "reference": {
            "type": "string",
            "description": "Payment Reference"
        },
        "entity": {
            "type": "string",
            "description": "Payment Reference Entity"
        },
        "paymentEntity": {
            "type": "string",
            "description": "Payment Reference Entity"
        },
        "amount": {
            "description": "Object that defines the amount. Check the Amount definition.",
            "$ref": "#/definitions/Amount"
        },
        "status": {
            "type": "string",
            "description": "Payment Reference Status"
        }
    },
    "additionalProperties": false
}
              
{
    "properties": {
        "tokenName": {
            "type": "string"
        },
        "tokenType": {
            "type": "string"
        },
        "value": {
            "type": "string"
        },
        "maskedPAN": {
            "type": "string"
        },
        "expireDate": {
            "type": "string",
            "example": "PT"
        }
    },
    "additionalProperties": false
}
              
{
    "properties": {
        "tokenName": {
            "type": "string"
        },
        "tokenType": {
            "type": "string"
        },
        "value": {
            "type": "string"
        },
        "maskedPAN": {
            "type": "string"
        },
        "expireDate": {
            "type": "string",
            "example": "PT"
        }
    }
}
              

Object that encapsulates technical execution information.

{
    "properties": {
        "startTime": {
            "type": "string",
            "description": "Time of the acceptance of the request by the API.",
            "format": "date-time",
            "example": "2020-07-15T12:10:49.131+01:00"
        },
        "endTime": {
            "type": "string",
            "description": "Time of the response to the request by the API.",
            "format": "date-time",
            "example": "2020-07-15T12:10:49.131+01:00"
        }
    },
    "additionalProperties": false
}
              
{
    "properties": {
        "status": {
            "type": "string",
            "description": "Recurring Transaction outcome.",
            "example": "Success"
        }
    },
    "additionalProperties": false
}
              

Object that defines a recurring transaction request.

{
    "properties": {
        "validityDate": {
            "type": "string",
            "description": "Date of the validity of the recurring transaction.",
            "format": "date-time",
            "example": "2020-07-15T12:10:49.131+01:00"
        },
        "amountQualifier": {
            "type": "string",
            "description": "Qualifier of the recurring transaction amount.",
            "example": "ESTIMATED"
        },
        "schedule": {
            "$ref": "#/definitions/Schedule",
            "description": "Schedule of the recurring transaction"
        }
    },
    "additionalProperties": false
}
              
{
    "properties": {
        "initialDate": {
            "type": "string",
            "format": "date-time",
            "example": "2020-07-15T12:10:49.131+01:00"
        },
        "finalDate": {
            "type": "string",
            "format": "date-time",
            "example": "2020-07-15T12:10:49.131+01:00"
        },
        "interval": {
            "type": "string",
            "enum": [
                "DAILY",
                "WEEKLY",
                "BIWEEKLY",
                "MONTHLY",
                "QUARTERLY",
                "SEMIANNUAL",
                "ANNUAL"
            ],
            "default": "DAILY"
        }
    },
    "additionalProperties": false
}
              
  • Share this

WELCOME

API Products
API Providers
About Us
PSD2

 

SANDBOX

Getting Started
API Documentation

TEST & PRODUCTION

Getting Started

FAQS & SUPPORT

Developers Forum
FAQs
Contact Us
Check out our LinkedIn


Find more about SIBS
www.sibs.com

©SIBS API Market

Login

User login

Use your developer.sibsapimarket.com/sandbox account ...

  • Create new account
  • Request new password