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.

  • MULTIBANCO Loyalty Program 1.0.6
  • APIs
  • API MB WAY Loyalty Onboarding 1.0.6
      • Operations
      • POST /sibs/v1-0-0/loyalty-program-association
      • GET /sibs/v1-0-0/loyalty-program-association/{association-id}/status
      • Definitions
      • ErrorMessageWithStatus
      • TppMessage
      • TppMessageArray
      • MessageCode
      • TransactionStatusType
      • AssociationStatusType
      • Payload
      • PayloadReferenceArray
      • PayloadReference
      • LoyaltyProgramAssociationRequestResource
      • LoyaltyProgramAssociationResponseResource
      • LoyaltyProgramAssociationStatusResponseResource

API MB WAY Loyalty Onboarding 1.0.6

0
No votes yet

API MB WAY Loyalty Onboarding allows you to provide fully digital onboarding experience to your Loyalty Program Customers.

  • cURL
  • Ruby
  • Python
  • PHP
  • Java
  • Node
  • Go
  • Swift
Subscribe
production
development
https://site1.sibsapimarket.com:8445/sibs/apimarket-sb
production
development
https://site2.sibsapimarket.com:8445/sibs/apimarket-sb

Paths

/sibs/v1-0-0/loyalty-program-association

post /sibs/v1-0-0/loyalty-program-association
Loyalty Program Association Request

Creates a Loyalty Program Association resource at the SIBS API Management.

Creates a Loyalty Program Association resource at the SIBS API Management.

x-ibm-client-id
X-IBM-Client-Id
(apiKey located in header)
Digest
Optional in header
string

Hash of the message body. Should be present when Request body exists

TPP-Transaction-ID
Required in header
string

ID of the transaction as determined by the initiating party.

TPP-Request-ID
Required in header
string

ID of the request, unique to the call, as determined by the initiating party.

PSU-Agent
Optional in header
string

The forwarded Agent header field of the http request between PSU and TPP.

{
    "default": ""
}
PSU-IP-Address
Required in header
string

The forwarded IP Address header field consists of the corresponding HTTP request IP Address field between PSU and TPP. If not available, the TPP shall use the IP Address used by the TPP when submitting this request. Do not fill in Direct Debit context. Reserved for future use.

PSU-Geo-Location
Optional in header
string

The forwarded Geo Location of the corresponding http request between PSU and TPP if available.

{
    "pattern": "^GEO:[-?+?(\\d){1,3}.(\\d){6}]{8,11};[-?+?(\\d){1,3}.(\\d){6}]{8,11}$",
    "default": "GEO:1.111111;-1.111111"
}
PSU-Device-ID
Optional in header
string

UUID (Universally Unique Identifier) for a device, which is used by the PSU, if available. UUID identifies either a device or a device dependant application installation. In case of an installation identification this ID need to be unaltered until removal from device.

{
    "default": ""
}
PSU-Device-Fingerprint
Optional in header
string

Fingerprint of the device used in the request between PSU and TPP, if available.

{
    "default": ""
}
LoyaltyProgramAssociationRequest
Required in body
object

Loyalty Program Association Request

Content-Type
Optional in header
string
application/json
Accept
Optional in header
string
application/json
201

Created

LoyaltyProgramAssociationResponseResource
400

Bad Request.

ErrorMessageWithStatus
401

Unauthorized.

ErrorMessageWithStatus
403

Forbidden.

ErrorMessageWithStatus
404

Not Found.

ErrorMessageWithStatus
405

Method Not Allowed.

ErrorMessageWithStatus
406

Not Acceptable.

ErrorMessageWithStatus
408

Request Timeout.

ErrorMessageWithStatus
415

Unsupported Media Type.

ErrorMessageWithStatus
429

Too Many Requests.

ErrorMessageWithStatus
500

Internal Server Error.

ErrorMessageWithStatus
503

Service Unavailable.

ErrorMessageWithStatus
504

Gatewaty Timeout.

ErrorMessageWithStatus
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://site1.sibsapimarket.com:8445/sibs/apimarket-sb/sibs/v1-0-0/loyalty-program-association
Show more open_in_new
                                          
                                        

x
Try this operation
https://site1.sibsapimarket.com:8445/sibs/apimarket-sb/sibs/v1-0-0/loyalty-program-association
Login to test this API.
Login to test this API.
content-type
accept
Digest
TPP-Transaction-ID
TPP-Request-ID
PSU-Agent
PSU-IP-Address
PSU-Geo-Location
PSU-Device-ID
PSU-Device-Fingerprint

                        
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.).

                            

/sibs/v1-0-0/loyalty-program-association/{association-id}/status

get /sibs/v1-0-0/loyalty-program-association/{association-id}/status
Get Association Status Request

Request the status of an association loyalty program resource.

Request the status of an association loyalty program resource.

x-ibm-client-id
X-IBM-Client-Id
(apiKey located in header)
association-id
Required in path
string

Identification of the association resource as it is used in the API structure. Shall be contained, if a na authentication resource was generated.

TPP-Transaction-ID
Required in header
string

ID of the transaction as determined by the initiating party.

TPP-Request-ID
Required in header
string

ID of the request, unique to the call, as determined by the initiating party.

PSU-Agent
Optional in header
string

The forwarded Agent header field of the http request between PSU and TPP.

{
    "default": ""
}
PSU-IP-Address
Required in header
string

The forwarded IP Address header field consists of the corresponding HTTP request IP Address field between PSU and TPP. If not available, the TPP shall use the IP Address used by the TPP when submitting this request. Do not fill in Direct Debit context. Reserved for future use.

PSU-Geo-Location
Optional in header
string

The forwarded Geo Location of the corresponding http request between PSU and TPP if available.

{
    "pattern": "^GEO:[-?+?(\\d){1,3}.(\\d){6}]{8,11};[-?+?(\\d){1,3}.(\\d){6}]{8,11}$",
    "default": "GEO:1.111111;-1.111111"
}
PSU-Device-ID
Optional in header
string

UUID (Universally Unique Identifier) for a device, which is used by the PSU, if available. UUID identifies either a device or a device dependant application installation. In case of an installation identification this ID need to be unaltered until removal from device.

{
    "default": ""
}
PSU-Device-Fingerprint
Optional in header
string

Fingerprint of the device used in the request between PSU and TPP, if available.

{
    "default": ""
}
Accept
Optional in header
string
application/json
200

200 OK

LoyaltyProgramAssociationStatusResponseResource
400

Bad Request.

ErrorMessageWithStatus
401

Unauthorized.

ErrorMessageWithStatus
403

Forbidden.

ErrorMessageWithStatus
404

Not Found.

ErrorMessageWithStatus
405

Method Not Allowed.

ErrorMessageWithStatus
406

Not Acceptable.

ErrorMessageWithStatus
408

Request Timeout.

ErrorMessageWithStatus
415

Unsupported Media Type.

ErrorMessageWithStatus
429

Too Many Requests.

ErrorMessageWithStatus
500

Internal Server Error.

ErrorMessageWithStatus
503

Service Unavailable.

ErrorMessageWithStatus
504

Gatewaty Timeout.

ErrorMessageWithStatus
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://site1.sibsapimarket.com:8445/sibs/apimarket-sb/sibs/v1-0-0/loyalty-program-association/{association-id}/status
Show more open_in_new
                                          
                                        

x
Try this operation
https://site1.sibsapimarket.com:8445/sibs/apimarket-sb/sibs/v1-0-0/loyalty-program-association/{association-id}/status
Login to test this API.
Login to test this API.
accept
TPP-Transaction-ID
TPP-Request-ID
PSU-Agent
PSU-IP-Address
PSU-Geo-Location
PSU-Device-ID
PSU-Device-Fingerprint
association-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.).

                            

Definitions

Error and status Information.

{
    "type": "object",
    "properties": {
        "transactionStatus": {
            "$ref": "#/definitions/TransactionStatusType",
            "description": "The transaction status is filled with codes of the ISO 20022 corresponding element."
        },
        "tppMessages": {
            "$ref": "#/definitions/TppMessageArray",
            "description": "Messages to the TPP on operational issues."
        }
    },
    "additionalProperties": false
}
              

Transports additional error information.

{
    "required": [
        "category",
        "code"
    ],
    "properties": {
        "category": {
            "type": "string",
            "default": "",
            "description": "Category of the error. Only \"ERROR\" or \"WARNING\" permitted."
        },
        "code": {
            "$ref": "#/definitions/MessageCode",
            "description": "Message error code."
        },
        "path": {
            "type": "string",
            "default": "",
            "description": "Path of the element of the request message which provoked this error message."
        },
        "text": {
            "type": "string",
            "maxLength": 512,
            "default": "",
            "description": "Additional explaining text."
        }
    },
    "additionalProperties": false
}
              

Messages to the TPP on operational issues.

{
    "type": "array",
    "items": {
        "$ref": "#/definitions/TppMessage",
        "description": "Transports additional error information."
    },
    "additionalProperties": false
}
              

Message error codes.

{
    "type": "string",
    "enum": [
        "CERTIFICATE_INVALID",
        "CERTIFICATE_EXPIRED",
        "CERTIFICATE_BLOCKED",
        "CERTIFICATE_REVOKED",
        "CERTIFICATE_MISSING",
        "SIGNATURE_INVALID",
        "SIGNATURE_MISSING",
        "FORMAT_ERROR",
        "PSU_CREDENTIALS_INVALID",
        "SERVICE_INVALID",
        "SERVICE_BLOCKED",
        "CORPORATE_ID_INVALID",
        "CONSENT_UNKNOWN",
        "CONSENT_INVALID",
        "CONSENT_EXPIRED",
        "TOKEN_UNKNOWN",
        "TOKEN_INVALID",
        "TOKEN_EXPIRED",
        "RESOURCE_UNKNOWN",
        "RESOURCE_EXPIRED",
        "TIMESTAMP_INVALID",
        "PERIOD_INVALID",
        "SCA_METHOD_UNKNOWN",
        "TRANSACTION_ID_INVALID",
        "PRODUCT_INVALID",
        "PRODUCT_UNKNOWN",
        "PAYMENT_FAILED",
        "REQUIRED_KID_MISSING",
        "SESSIONS_NOT_SUPPORTED",
        "ACCESS_EXCEEDED",
        "REQUESTED_FORMATS_INVALID",
        "CARD_INVALID",
        "NO_PIIS_ACTIVATION"
    ],
    "default": "CONSENT_INVALID",
    "additionalProperties": false
}
              

ISO20022: The transaction status.

{
    "type": "string",
    "enum": [
        "ACCP",
        "ACTC",
        "RCVD",
        "RJCT"
    ],
    "default": "ACCP",
    "additionalProperties": false
}
              

Loyalty Programme Enrollment Status Code. \n Possible values are: \n "ACTV" - "Active"; \n "CANC" - "Cancelled"; \n "SUSP" - "Suspended"; \n "APEX" - "Activation Processing Expired"; \n "APRC" - "Activation Processing Rejected by Client"; \n "APRP" - "Activation Processing Rejected by Processor".

{
    "type": "string",
    "enum": [
        "ACTV",
        "CANC",
        "SUSP",
        "APEX",
        "APRC",
        "APRP"
    ],
    "default": "CANC",
    "additionalProperties": false
}
              

Payload.

{
    "type": "object",
    "properties": {
        "payloadDescription": {
            "description": "Description of payload purpose (TPP free text used to transportation of relevant data to be given to PSU).",
            "type": "string"
        },
        "authenticationPayload": {
            "description": "Is asking for detailed payload information. The following structure cannot be less than one (1) and greater than three (3).",
            "$ref": "#/definitions/PayloadReferenceArray"
        }
    },
    "additionalProperties": false,
    "required": [
        "authenticationPayload"
    ]
}
              

Array of Payload Reference

{
    "type": "array",
    "items": {
        "$ref": "#/definitions/PayloadReference",
        "description": "Payload Reference.",
        "additionalProperties": false
    },
    "additionalProperties": false
}
              
{
    "type": "object",
    "properties": {
        "identification": {
            "description": "It identifies the token (as token identification).",
            "type": "string"
        },
        "value": {
            "description": "It identifies the value related to token identification. This value will be shown to PSU.",
            "type": "string"
        },
        "priority": {
            "description": "It identifies the token identification (and corresponding value) presentation priority to PSU. It must be fulfilled with na integer between 1 and 3.",
            "type": "integer"
        }
    },
    "additionalProperties": false
}
              
{
    "properties": {
        "msisdn": {
            "type": "string",
            "maxLength": 35,
            "description": "An alias to guarantee PSU authentication and authorisation processes via a registered mobile phone number in MBWAY service."
        },
        "loyaltyProgram": {
            "type": "integer",
            "description": "Loyalty Program Code"
        },
        "endToEndIdentification": {
            "type": "string",
            "maxLength": 35,
            "description": "Unique identification as assigned by the sending party to unambiguously identify this payment."
        },
        "payload": {
            "$ref": "#/definitions/Payload"
        }
    },
    "additionalProperties": false,
    "required": [
        "msisdn",
        "loyaltyProgram",
        "payload"
    ]
}
              
{
    "properties": {
        "transactionStatus": {
            "description": "",
            "$ref": "#/definitions/TransactionStatusType"
        },
        "associationId": {
            "type": "string",
            "description": "Identification of the association resource as it is used in the API structure. Shall be contained, if a na authentication resource was generated."
        },
        "tppMessages": {
            "description": "Messages to the TPP on operational issues.",
            "$ref": "#/definitions/TppMessageArray"
        }
    },
    "additionalProperties": false,
    "required": [
        "transactionStatus"
    ]
}
              

Loyalty Program Association Status Response Resource

{
    "properties": {
        "transactionStatus": {
            "$ref": "#/definitions/TransactionStatusType"
        },
        "associationStatus": {
            "$ref": "#/definitions/AssociationStatusType"
        },
        "loyaltyProgramPriority": {
            "type": "integer",
            "description": "Loyalty Programme Priority in Card Associations."
        },
        "loyaltyProgramName": {
            "type": "string",
            "maxLength": 16,
            "description": "Loyalty Programme Name."
        },
        "promoterReference": {
            "type": "string",
            "maxLength": 40,
            "description": "Loyalty Programme Promoter Channel Reference."
        },
        "promoterName": {
            "type": "string",
            "maxLength": 40,
            "description": "Loyalty Programme Promoter Name."
        },
        "maskedPan": {
            "type": "string",
            "description": "Card Masked Primary Account Number"
        },
        "panExpiryDate": {
            "type": "string",
            "format": "date",
            "description": "Expiry Date of informed Card Masked Primary Account Number (PAN). It must be fulfilled in YYYY-MM format."
        },
        "tppMessages": {
            "description": "Messages to the TPP on operational issues.",
            "$ref": "#/definitions/TppMessageArray"
        }
    },
    "additionalProperties": false,
    "required": [
        "transactionStatus"
    ]
}
              
  • 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