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.

  • Accounts 4.0.1
  • APIs
  • Account Information 4.0.0
  • Consent 4.0.0
  • Availability of Funds 4.0.0
      • Operations
      • POST /{aspsp-cde}/v1-0-4/funds-confirmations
      • Definitions
      • AccountReference
      • Amount
      • ErrorMessage
      • ErrorMessageWithStatus
      • FundsConfirmationRequestResource
      • FundsConfirmationResponseResource
      • MessageCode
      • TransactionStatusType
      • TppMessage
      • TppMessageArray
  • Consent Authorisation 4.0.0
  • Card Accounts 4.0.1

Availability of Funds 4.0.0

0
No votes yet

Confirmation on the availability of funds API enables to check in real time if your clients have enough available funds to honor a purchase they are doing with the card you issued to them.

With this API you may reduce the risk of being unable to recover the funds from your clients, after having guaranteed a payment to an acquirer or merchant.

This API intends to provide an interface to access PSD2 Availability of Funds service.

The API is designed on a REST model using JSON structures.

  • 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

/{aspsp-cde}/v1-0-4/funds-confirmations

post /{aspsp-cde}/v1-0-4/funds-confirmations
Confirmation of Funds Request

Confirmation of Funds Request

Creates a confirmation of funds request at the ASPSP.

x-ibm-client-id
X-IBM-Client-Id
(apiKey located in header)
X-Request-ID
Required in header
string / uuid

ID of the transaction as determined by the initiating party.

{
    "default": ""
}
Consent-ID
Required in header
string

Shall be contained since “Establish Consent Transaction” was performed via this API before.

{
    "default": ""
}
Signature
Required in header
string

A signature of the request by the TPP on application level. This might be mandated by ASPSP.

{
    "default": ""
}
Digest
Required in header
string

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

{
    "default": ""
}
TPP-Signature-Certificate
Required in header
string

The certificate used for signing the request, in base64 encoding. Shall be contained if the signature is used.

{
    "default": ""
}
Date
Required in header
string / date-time

Request date

aspsp-cde
Required in path
string

Identification of the aspsp

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

Funds Confirmation Request

{
    "schema": {
        "description": "Creates a confirmation of funds request at the ASPSP.",
        "type": "object",
        "required": [
            "account",
            "instructedAmount"
        ],
        "properties": {
            "cardNumber": {
                "description": "Card Number of the card issued by the PIISP. Must be delivered if available.",
                "type": "string",
                "maxLength": 70
            },
            "account": {
                "description": "PSU's account number",
                "$ref": "#\/definitions\/AccountReference"
            },
            "payee": {
                "description": "The merchant where the card is accepted as an information to the PSU.",
                "type": "string",
                "maxLength": 70
            },
            "instructedAmount": {
                "description": "Transaction amount to be checked within the funds check mechanism.",
                "$ref": "#\/definitions\/Amount"
            }
        },
        "additionalProperties": false
    }
}
Content-Type
Optional in header
string
application/json
Accept
Optional in header
string
application/json; charset=utf-8
200

Ok

FundsConfirmationResponseResource
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/{aspsp-cde}/v1-0-4/funds-confirmations
Show more open_in_new
                                          
                                        

x
Try this operation
https://site1.sibsapimarket.com:8445/sibs/apimarket-sb/{aspsp-cde}/v1-0-4/funds-confirmations
Login to test this API.
Login to test this API.
content-type
accept
X-Request-ID
Consent-ID
Signature
Digest
TPP-Signature-Certificate
Date
aspsp-cde

                        
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

PSU's account number

{
    "type": "object",
    "properties": {
        "iban": {
            "description": "International Bank Account Number",
            "type": "string",
            "pattern": "^[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}$",
            "default": "PT0000"
        },
        "bban": {
            "description": "This data elements is used for payment accounts which have no IBAN.",
            "type": "string",
            "default": ""
        },
        "pan": {
            "description": "Primary Account Number.",
            "type": "string",
            "maxLength": 35,
            "pattern": "^[0-9]{1,28}$",
            "default": "1111111111111111111111111111"
        },
        "maskedPan": {
            "description": "Primary Account Number in a masked form.",
            "type": "string",
            "maxLength": 35,
            "pattern": "^[0-9]{6,6}([^\\d]{18,18})[0-9]{4,4}$",
            "default": "111111******************1111"
        },
        "msisdn": {
            "description": "An alias to access a payment account via a registered mobile phone number",
            "type": "string",
            "maxLength": 35,
            "default": ""
        },
        "currency": {
            "description": "ISO 4217 Alpha 3 currency code.",
            "type": "string",
            "default": ""
        }
    },
    "additionalProperties": false
}
              

Transaction amount to be checked within the funds check mechanism.

{
    "type": "object",
    "required": [
        "currency",
        "amount"
    ],
    "properties": {
        "currency": {
            "description": "ISO 4217 Alpha 3 currency code.",
            "type": "string",
            "pattern": "^[A-Z]{3,3}$",
            "default": "AAA"
        },
        "amount": {
            "description": "The amount given with fractional digits, where fractions must be compliant to the currency definition.\n\nThe decimal separator is a dot.\n",
            "type": "string",
            "pattern": "^\\-{0,1}[0-9]{1,9}(\\.[0-9]{0,2}){0,1}$",
            "default": "00000"
        }
    },
    "additionalProperties": false
}
              

Error Information.

{
    "type": "object",
    "properties": {
        "tppMessages": {
            "$ref": "#/definitions/TppMessageArray",
            "description": "Messages to the TPP on operational issues."
        }
    },
    "additionalProperties": false
}
              

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
}
              

Creates a confirmation of funds request at the ASPSP.

{
    "type": "object",
    "required": [
        "account",
        "instructedAmount"
    ],
    "properties": {
        "cardNumber": {
            "description": "Card Number of the card issued by the PIISP. Must be delivered if available.",
            "type": "string",
            "maxLength": 70
        },
        "account": {
            "description": "PSU's account number",
            "$ref": "#/definitions/AccountReference"
        },
        "payee": {
            "description": "The merchant where the card is accepted as an information to the PSU.",
            "type": "string",
            "maxLength": 70
        },
        "instructedAmount": {
            "description": "Transaction amount to be checked within the funds check mechanism.",
            "$ref": "#/definitions/Amount"
        }
    },
    "additionalProperties": false
}
              

Inform TPP about confirmation of funds request.

{
    "type": "object",
    "required": [
        "fundsAvailable"
    ],
    "properties": {
        "fundsAvailable": {
            "description": "Equals 'true' if sufficient funds are available at the time of the request, 'false' otherwise.",
            "type": "boolean",
            "default": false
        }
    },
    "additionalProperties": false
}
              

Message error codes.

{
    "type": "string",
    "enum": [
        "SERVICE_BLOCKED",
        "CORPORATE_ID_IVALID",
        "CONSENT_UNKNOWN",
        "CONSENT_INVALID",
        "CONSENT_EXPIRED",
        "RESOURCE_UNIKNOWN",
        "RESOURCE_EXPIRED",
        "TIMESTAMP_INVALID",
        "PERIOD_INVALID",
        "SCA_METHOD_UNKKNOWN",
        "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": "SERVICE_BLOCKED",
    "additionalProperties": false
}
              

ISO20022: The transaction status is filled with value of the ISO20022 data table. ACTC : ACCEPTED TECHNICAL VALIDATION RJCT : REJECTED

{
    "type": "string",
    "enum": [
        "ACTC",
        "RJCT"
    ],
    "default": "RJCT",
    "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
}
              
  • 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