--- swagger: "2.0" info: x-ibm-name: psd2-cards-api title: Confirmation of funds API version: 1.0.0 description: "" schemes: - https basePath: /v1/psd2-cards-api consumes: - application/json produces: - application/json securityDefinitions: oauth-1: type: oauth2 description: "" flow: accessCode scopes: PSP_IC: "" authorizationUrl: https://api-sandbox.rbb.bg/psd2-cards-oauth2-api/oauth2/authorize tokenUrl: https://api-sandbox.rbb.bg/psd2-cards-oauth2-api/oauth2/token clientIdHeader: type: apiKey description: "" in: header name: X-IBM-Client-Id x-ibm-configuration: testable: true enforced: true phase: realized application-authentication: certificate: false paths: /funds-confirmations: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/XS2A_Berlin_Fund_Confirmation_Response' 400: description: 400 Bad Request schema: $ref: '#/definitions/XS2A_Berlin_Error' 401: description: 401 Unauthorized schema: $ref: '#/definitions/XS2A_Berlin_Error' parameters: - name: X-Request-ID type: string required: true in: header description: Request ID - name: body required: true in: body schema: $ref: '#/definitions/XS2A_Berlin_Fund_Confirmation_Request' description: CISP confirmation of funds body definitions: XS2A_Berlin_Fund_Confirmation_Request: properties: cardNumber: type: string description: Card Number of the card issued by the PIISP. Shouldbe delivered if available. example: "12345678901234" account: description: PSU account number $ref: '#/definitions/XS2A_Berlin_Fund_Confirmation_Account' payee: type: string description: The merchant where the card is accepted as an information to the PSU. instructedAmount: description: Transaction amount to be checked within the funds check mechanism. $ref: '#/definitions/XS2A_Berlin_Fund_Confirmation_InstructedAmount' additionalProperties: false required: - account - instructedAmount XS2A_Berlin_Fund_Confirmation_Account: properties: iban: type: string description: PSU account IBAN example: DE23100120020123456789 additionalProperties: false XS2A_Berlin_Fund_Confirmation_InstructedAmount: properties: currency: type: string description: Amount currency. example: EUR amount: type: string description: Amount to be checked. example: "123" additionalProperties: false XS2A_Berlin_Fund_Confirmation_Response: properties: fundsAvailable: type: boolean description: Equals true if sufficient funds are available at the time of the request, false otherwise. example: "true" additionalProperties: false XS2A_Berlin_Error: properties: errorCode: type: string description: Optional error code for reporting purposes. errorDescription: type: string description: The description of the error. additionalProperties: false tags: [] security: - clientIdHeader: [] oauth-1: - PSP_IC x-ibm-endpoints: - endpointUrl: https://apim-sandbox.rbb.bg type: - production - development ...