openapi: 3.0.1
servers:
  - description: Sandbox Server
    url: https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5
  - description: Production Server
    url: https://services.nbg.gr/apis/open-banking/v3.1.5/aisp
info:
  contact:
    email: developer@nbg.gr
    name: NBG
    url: https://developer.nbg.gr/
  description: "## Functionality at a glance\r

    \r

    The NBG \"UK OPB - Account and Transaction v3.1.5\" API follows the [UK
    Open Banking Specification\r

    \    v3.1.5](https://openbankinguk.github.io/read-write-api-site3/v3.1.\
    5/profiles/account-and-transaction-api-profile.html)\r

    \r

    This Account and Transaction API Specification describes the flows and
    payloads for retrieving a list of accounts and their transactions.\r

    \r

    The API endpoints described here allow a AISP to:  \r

    \r

    * Create the Consent with the appropriate permissions in order to be
    able to access the API Endpoints\r

    \r

    * Retrieve the list of accounts\r

    \r

    * Retrieve an account's details\r

    \r

    * Retrieve an account's balances\r

    \r

    * Retrieve an account's transactions\r

    \r

    * Retrieve an account's beneficiaries\r

    \r

    * Retrieve an account's standing orders\r

    \r

    * Retrieve an account's party\r

    \r

    * Retrieve an account's scheduled payments\r

    \r

    * Retrieve an account's statements\r

    \r

    \r

    \r

    ## Quick Getting Started\r

    \r

    \r

    1. **Login/Register** to the NBG Technology HUB\r

    \r

    2. Go to **\"APPS\"**\r

    \r

    3. Select your Organization and go to step 4. If you want to create a
    new Organization click **\\\"CREATE AN ORGANIZATION\\\"** and follow the
    steps below:\r

    \t1. Enter the title of your Organization\r

    \t2. Enter a short description of your Organization (optional)\r

    \t3. Click **\"SUBMIT\"**\r

    \r

    4. Select the Organization of choice and click **\"ADD AN
    APPLICATION\"** \r

    \t  1. Fill in the forms (title and short description)\r

    \t  2. Check **\\\"Authorization Code\\\" and \\\"Client
    Credentials\\\"** \r

    \t  3. Enter the **OAuth Redirect and Post Logout URIs** (these are the
    URIs that we will redirect the user upon logging in and logging out
    respectively)\r

    \t\t  \r

    \t\t  You can use the following redirect URL to easily test the API
    through the portal: *https://developer.nbg.gr/oauth2/redoc-callback*\r

    \t  4. Click **\"SUBMIT\"**\r

    \t  5. Store the APPs **\"Client ID\"** and **\"Client Secret\"**\r

    5. Go to **\"API PRODUCTS\"** and select the **ACCOUNT INFORMATION - UK
    OPEN BANKING API**\r

    \r

    6. Click **\\\"START USING THIS API\\\"**, choose your app and click\r

    **\"SUBSCRIBE\"**\r

    \r

    7. Get an Access Token using the Access Token Flow and the API scopes
    provided in the Authentication and Authorization (OAuth2) section below\r

    \r

    8. Create a Sandbox\r

    \r

    9. Play with the API \r

    \r

    \r

    ### Sandbox Flow\r

    \r

    The Sandbox Flow matches the Production Flow. The difference lies into
    the Data used. Instead of live\r

    data, the Sandbox flow uses mocked data.\r

    \r

    \r

    ### Production Flow  \r

    \r

    The Production Flow is described in the [UK Open Banking v3.1.5\r

    Specification](https://openbankinguk.github.io/read-write-api-site3/v3.\
    1.5/profiles/account-and-transaction-api-profile.html)\r

    \r

    More details about the implementation specifics followed, please visit
    section **UK OPB Implementation\r

    Specifics**\r

    \r

    \r

    ## Authentication and Authorization (OAuth2)\r

    \r

    This API version uses the OAuth2 protocol for authentication and
    authorization, which means that a\r

    Bearer (access token) should be acquired. An access token can be
    retrieved using the client_id and\r

    client_secret of the APP that you created and subscribed in this API,
    and your own credentials\r

    (username, password) that you use to sign in the NBG Technology HUB. The
    scopes are defined below:\r

    \r

    **Authorization Endpoint:** \r

    \r

    \t  https://my.nbg.gr/identity/connect/authorize\r

    \r

    \r

    **Token Endpoint:** \r

    \r

    \t  https://my.nbg.gr/identity/connect/token\r

    \r

    ### Authorization Code ###\r

    \r

    **Sandbox Scopes:** \r

    \r

    \t  sandbox-uk-account-info-api-v1 offline_access\r

    \r

    \r

    **Production Scopes:** \r

    \r

    \t  accounts offline_access\r

    \r

    ### Client Credentials ###\r

    \r

    **Sandbox Scopes:** \r

    \r

    \t  sandbox-uk-account-info-api-v1\r

    \r

    \r

    **Production Scopes:** \r

    \r

    \t  accounts\r

    \r

    \r

    See more [here](https://developer.nbg.gr/oauth-document)\r

    \r

    ## QWAC Certificates\r

    \r

    TPPs are required to present a QWAC certificate during API consumption.
    The API checks that this certificate has been provided and is valid. In
    sandbox mode the certificate validations are optional. To validate your
    certificate in sandbox implementation, please send us your QWAC certificate
    at developer@nbg.gr and set the HTTP Header
    **\\\"x-sandbox-qwac-certificate-check\\\"** with the value **\\\"true\\\"**
    in your requests. \r

    \r

    ## SMS Challenge (One Time Password)\r

    \r

    In order to successfully authorize an Accounts Access you will need to
    provide the SMS OTP (One Time Password) in the corresponding Accounts
    Consent UI Screen.\r

    \r

    By default the SMS OTP will be sent to the mobile number declared upon
    singing up in the NBG Technology HUB. \r

    \r

    \r

    \r

    ## Create your Sandbox\r

    \r

    Create a new Sandbox application by invoking the POST /sandbox. This
    call will generate a new Sandbox\r

    with a unique sandbox-id.\r

    \r

    \r

    __Important!__ Before proceeding save the sandbox id you just created.\r

    \r

    \r

    When you create a sandbox, users and sandbox specific data are generated
    as sample data.\r

    \r

    \r

    ## Start Testing\r

    \r

    Once you have your sandbox-id, you can start invoking the rest of the
    operations by providing the\r

    mandatory http header **sandbox-id**  and the http headers described
    below.\r

    \r

    \r

    ## Important notes\r

    \r

    \r

    **Request headers**\r

    \r

    \r

    The following HTTP header parameters are required for every call:\r

    \r

    \r

    1. Authorization. The Auth2 Token\r

    \r

    2. sandbox-id. Your Sandbox ID\r

    \r

    \r

    **Consent**\r

    \r

    \r

    In order to be able to effectively start using the Endpoints the
    appropriate Consent needs to be\r

    created and set to the 'Authorised' status. \r

    \r

    \r

    In order to create the Consent you need to at least set the required
    **permissions** and the **Risk**\r

    sections. \r

    \r

    \r

    Optionally you may set the \r

    \r

    \r

    1. ExpirationDateTime. When the Consent expires \r

    \r

    \r

    2. TransactionFromDateTime. Start Date to retrieve the transactions \r

    \r

    \r

    3. TransactionToDateTime. End Date to retrieve the transactions \r

    \r

    **Not Implemented Endpoints**\r

    \r

    The following endpoints are not implemented in the API\r

    \r

    1. GET /balances\r

    2. GET /transactions\r

    3. GET /beneficiaries\r

    4. GET /accounts/\\{AccountId\\}/direct-debits\r

    5. GET /direct-debits\r

    6. GET /standing-orders\r

    7. GET /accounts/\\{AccountId\\}/product\r

    8. GET /products\r

    9. GET /accounts/\\{AccountId\\}/offers\r

    10. GET /offers\r

    11. GET /scheduled-payments\r

    12. GET /statements\r

    \r

    \r

    ## Error Codes\r

    \r

    The error codes and their description can be found\r

    [here](https://openbankinguk.github.io/read-write-api-site3/v3.1.5/prof\
    iles/read-write-data-api-profile.html#error-response-structure)\r

    \r

    \r

    # UK OPB Implementation Specifics \r

    \r

    Below you may find more specific information &amp; limitations regarding
    the implementation followed in the Production API.\r

    \r

    \r

    ## Token Endpoint Client Authentication\r

    \r

    At this point the supported __Client Authentication__ method is
    \"__Client Secret Basic__\" - usage of \"Client ID\" &amp; \"Client
    Secret\".\r

    \r

    \r

    ## Consent Authorization\r

    \r

    For a PSU to Authorize a Consent, they need to be redirected to the
    appropriate Consent UI.\r

    \r

    For this redirection to take place the TPP needs to follow the
    Authorization Endpoint by amending the generated \"Consent ID\", like this:
    https://my.nbg.gr/identity/connect/authorize?consent_id={{consent_id}}&amp;\
    client_id={{client_id}}&amp;scope={{scope}}&amp;redirect_uri={{redirect_uri\
    }}&amp;response_type=code\r

    \r

    Once the PSU is redirected to the Consent Authorization Screen, they
    need to enter their IBank (Production) or Developer Portal (Sandbox)
    Credentials and either Authorize or Reject the Consent.\r

    \r

    At this point the Consent is binded with the PSU.\r

    \r

    \r

    ## Debtor Account\r

    Currently, only the \"UK.OBIE.IBAN\" scheme is supported.\r

    \r

    \r

    \r

    # Feedback and Questions\r

    \r

    We would love to hear your feedback and answer your questions. Send us
    at\r

    [developer@nbg.gr](developer@nbg.gr)\r

    \r

    \r

    Check out our [Sandbox Postman\r

    Collection](https://github.com/NBG-Developer-Portal/Account-Information\
    -UK-Open-Banking)!\r

    \r

    \r

    ________________________________________\r

    \r

    Created by [**NBG**](https://www.nbg.gr/).


    \ # Entities\ 


    \ Below, the main entities are documented.

    \ &lt;a name=OBExternalPermissions1Code&gt;&lt;/a&gt;\ 

    ## OBExternalPermissions1Code\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| Specifies the Open Banking account access data types. This is a
    list of the data clusters being consented by the PSU, and requested for
    authorisation with the ASPSP.| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;ReadAccountsBasic&lt;/li&gt;&lt;li&gt;ReadAccountsDetail&l\
    t;/li&gt;&lt;li&gt;ReadBalances&lt;/li&gt;&lt;li&gt;ReadBeneficiariesBasic&\
    lt;/li&gt;&lt;li&gt;ReadBeneficiariesDetail&lt;/li&gt;&lt;li&gt;ReadDirectD\
    ebits&lt;/li&gt;&lt;li&gt;ReadOffers&lt;/li&gt;&lt;li&gt;ReadPAN&lt;/li&gt;\
    &lt;li&gt;ReadParty&lt;/li&gt;&lt;li&gt;ReadPartyPSU&lt;/li&gt;&lt;li&gt;Re\
    adProducts&lt;/li&gt;&lt;li&gt;ReadScheduledPaymentsBasic&lt;/li&gt;&lt;li&\
    gt;ReadScheduledPaymentsDetail&lt;/li&gt;&lt;li&gt;ReadStandingOrdersBasic&\
    lt;/li&gt;&lt;li&gt;ReadStandingOrdersDetail&lt;/li&gt;&lt;li&gt;ReadStatem\
    entsBasic&lt;/li&gt;&lt;li&gt;ReadStatementsDetail&lt;/li&gt;&lt;li&gt;Read\
    TransactionsBasic&lt;/li&gt;&lt;li&gt;ReadTransactionsCredits&lt;/li&gt;&lt\
    ;li&gt;ReadTransactionsDebits&lt;/li&gt;&lt;li&gt;ReadTransactionsDetail&lt\
    ;/li&gt;&lt;/ul&gt;|


    \ &lt;a name=OBReadData1&gt;&lt;/a&gt;\ 

    ## OBReadData1\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Permissions| Specifies the Open Banking account access data types.
    This is a list of the data clusters being consented by the PSU, and
    requested for authorisation with the ASPSP.|
    array[[OBExternalPermissions1Code](#OBExternalPermissions1Code)]|

    | ExpirationDateTime| Specified date and time the permissions will
    expire. If this is not populated, the permissions will be open ended. All
    dates in the JSON payloads are represented in ISO 8601 date-time
    format.  All date-time fields in responses must include the timezone. An
    example is below: 2017-04-05T10:43:07+00:00| string|

    | TransactionFromDateTime| Specified start date and time for the
    transaction query period. If this is not populated, the start date will be
    open ended, and data will be returned from the earliest available
    transaction. All dates in the JSON payloads are represented in ISO 8601
    date-time format.  All date-time fields in responses must include the
    timezone. An example is below: 2017-04-05T10:43:07+00:00| string|

    | TransactionToDateTime| Specified end date and time for the transaction
    query period. If this is not populated, the end date will be open ended, and
    data will be returned to the latest available transaction. All dates in the
    JSON payloads are represented in ISO 8601 date-time format.  All date-time
    fields in responses must include the timezone. An example is below:
    2017-04-05T10:43:07+00:00| string|


    \ &lt;a name=OBRisk2&gt;&lt;/a&gt;\ 

    ## OBRisk2\ 

    The Risk section is sent by the initiating party to the ASPSP. It is
    used to specify additional details for risk scoring for Account Info.\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|


    \ &lt;a name=OBReadConsent1&gt;&lt;/a&gt;\ 

    ## OBReadConsent1\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Data | Entity |
    &lt;details&gt;&lt;summary&gt;[OBReadData1](#OBReadData1)&lt;/summary&gt;&l\
    t;ul&gt;&lt;li&gt;Permissions
    [array[[OBExternalPermissions1Code](#OBExternalPermissions1Code)]]&lt;/li&g\
    t; &lt;li&gt;ExpirationDateTime [string]&lt;/li&gt;
    &lt;li&gt;TransactionFromDateTime [string]&lt;/li&gt;
    &lt;li&gt;TransactionToDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | Risk | Entity |
    &lt;details&gt;&lt;summary&gt;[OBRisk2](#OBRisk2)&lt;/summary&gt;&lt;ul&gt;\
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=ErrorCode&gt;&lt;/a&gt;\ 

    ## ErrorCode\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| This is Data Type gives a low level textual error code to help
    categorise an error response. The applicable HTTP response code is also
    given.| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;UK.OBIE.Field.Expected&lt;/li&gt;&lt;li&gt;UK.OBIE.Field.I\
    nvalid&lt;/li&gt;&lt;li&gt;UK.OBIE.Field.InvalidDate&lt;/li&gt;&lt;li&gt;UK\
    .OBIE.Field.Missing&lt;/li&gt;&lt;li&gt;UK.OBIE.Field.Unexpected&lt;/li&gt;\
    &lt;li&gt;UK.OBIE.Header.Invalid&lt;/li&gt;&lt;li&gt;UK.OBIE.Header.Missing\
    &lt;/li&gt;&lt;li&gt;UK.OBIE.Resource.ConsentMismatch&lt;/li&gt;&lt;li&gt;U\
    K.OBIE.Resource.InvalidConsentStatus&lt;/li&gt;&lt;li&gt;UK.OBIE.Resource.I\
    nvalidFormat&lt;/li&gt;&lt;li&gt;UK.OBIE.Resource.NotFound&lt;/li&gt;&lt;li\
    &gt;UK.OBIE.Rules.AfterCutOffDateTime&lt;/li&gt;&lt;li&gt;UK.OBIE.Rules.Dup\
    licateReference&lt;/li&gt;&lt;li&gt;UK.OBIE.Signature.Invalid&lt;/li&gt;&lt\
    ;li&gt;UK.OBIE.Signature.InvalidClaim&lt;/li&gt;&lt;li&gt;UK.OBIE.Signature\
    .MissingClaim&lt;/li&gt;&lt;li&gt;UK.OBIE.Signature.Malformed&lt;/li&gt;&lt\
    ;li&gt;UK.OBIE.Signature.Missing&lt;/li&gt;&lt;li&gt;UK.OBIE.Signature.Unex\
    pected&lt;/li&gt;&lt;li&gt;UK.OBIE.Unsupported.AccountIdentifier&lt;/li&gt;\
    &lt;li&gt;UK.OBIE.Unsupported.AccountSecondaryIdentifier&lt;/li&gt;&lt;li&g\
    t;UK.OBIE.Unsupported.Currency&lt;/li&gt;&lt;li&gt;UK.OBIE.Unsupported.Even\
    tType&lt;/li&gt;&lt;li&gt;UK.OBIE.Unsupported.Frequency&lt;/li&gt;&lt;li&gt\
    ;UK.OBIE.Unsupported.LocalInstrument&lt;/li&gt;&lt;li&gt;UK.OBIE.Unsupporte\
    d.Scheme&lt;/li&gt;&lt;li&gt;UK.OBIE.Reauthenticate&lt;/li&gt;&lt;li&gt;UK.\
    OBIE.Rules.ResourceAlreadyExists&lt;/li&gt;&lt;li&gt;UK.OBIE.UnexpectedErro\
    r&lt;/li&gt;&lt;/ul&gt;|


    \ &lt;a name=OBError1&gt;&lt;/a&gt;\ 

    ## OBError1\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | ErrorCode | Entity |
    &lt;details&gt;&lt;summary&gt;[ErrorCode](#ErrorCode)&lt;/summary&gt;&lt;ul\
    &gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | Message| A description of the error that occurred. e.g., 'A mandatory
    field isn't supplied' or 'RequestedExecutionDateTime must be in future'OBIE
    doesn't standardise this field| string|

    | Path| Recommended but optional reference to the JSON Path of the field
    with error, e.g., Data.Initiation.InstructedAmount.Currency| string|


    \ &lt;a name=OBErrorResponse1&gt;&lt;/a&gt;\ 

    ## OBErrorResponse1\ 

    An array of detail error codes, and messages, and URLs to documentation
    to help remediation.\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Code| High level textual error code, to help categorize the errors.|
    string|

    | Id| A unique reference for the error instance, for audit purposes, in
    case of unknown/unclassified errors.| string|

    | Message| Brief Error message, e.g., 'There is something wrong with the
    request parameters provided'| string|

    | Errors| Gets or Sets Errors| array[[OBError1](#OBError1)]|


    \ &lt;a name=OBExternalRequestStatus1Code&gt;&lt;/a&gt;\ 

    ## OBExternalRequestStatus1Code\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| Specifies the status of consent resource in code form.| &lt;ul
    style=\"padding-left:
    0\"&gt;&lt;li&gt;Authorised&lt;/li&gt;&lt;li&gt;AwaitingAuthorisation&lt;/l\
    i&gt;&lt;li&gt;Rejected&lt;/li&gt;&lt;li&gt;Revoked&lt;/li&gt;&lt;/ul&gt;|


    \ &lt;a name=OBReadDataConsentResponse1&gt;&lt;/a&gt;\ 

    ## OBReadDataConsentResponse1\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | ConsentId| Unique identification as assigned to identify the account
    access consent resource.| string|

    | CreationDateTime| Date and time at which the resource was created. All
    dates in the JSON payloads are represented in ISO 8601 date-time
    format.  All date-time fields in responses must include the timezone. An
    example is below: 2017-04-05T10:43:07+00:00| string|

    | Status | Entity |
    &lt;details&gt;&lt;summary&gt;[OBExternalRequestStatus1Code](#OBExternalReq\
    uestStatus1Code)&lt;/summary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | StatusUpdateDateTime| Date and time at which the resource status was
    updated. All dates in the JSON payloads are represented in ISO 8601
    date-time format.  All date-time fields in responses must include the
    timezone. An example is below: 2017-04-05T10:43:07+00:00| string|

    | Permissions| Specifies the Open Banking account access data types.
    This is a list of the data clusters being consented by the PSU, and
    requested for authorisation with the ASPSP.|
    array[[OBExternalPermissions1Code](#OBExternalPermissions1Code)]|

    | ExpirationDateTime| Specified date and time the permissions will
    expire. If this is not populated, the permissions will be open ended. All
    dates in the JSON payloads are represented in ISO 8601 date-time
    format.  All date-time fields in responses must include the timezone. An
    example is below: 2017-04-05T10:43:07+00:00| string|

    | TransactionFromDateTime| Specified start date and time for the
    transaction query period. If this is not populated, the start date will be
    open ended, and data will be returned from the earliest available
    transaction. All dates in the JSON payloads are represented in ISO 8601
    date-time format.  All date-time fields in responses must include the
    timezone. An example is below: 2017-04-05T10:43:07+00:00| string|

    | TransactionToDateTime| Specified end date and time for the transaction
    query period. If this is not populated, the end date will be open ended, and
    data will be returned to the latest available transaction. All dates in the
    JSON payloads are represented in ISO 8601 date-time format.  All date-time
    fields in responses must include the timezone. An example is below:
    2017-04-05T10:43:07+00:00| string|


    \ &lt;a name=Links&gt;&lt;/a&gt;\ 

    ## Links\ 

    Links relevant to the payload\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Self| -| string|

    | First| -| string|

    | Prev| -| string|

    | Next| -| string|

    | Last| -| string|


    \ &lt;a name=Meta&gt;&lt;/a&gt;\ 

    ## Meta\ 

    Meta Data relevant to the payload\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | TotalPages| -| integer|

    | FirstAvailableDateTime| All dates in the JSON payloads are represented
    in ISO 8601 date-time format. All date-time fields in responses must include
    the timezone.An example is below: 2017-04-05T10:43:07+00:00| string|

    | LastAvailableDateTime| All dates in the JSON payloads are represented
    in ISO 8601 date-time format. All date-time fields in responses must include
    the timezone.An example is below: 2017-04-05T10:43:07+00:00| string|


    \ &lt;a name=OBReadConsentResponse1&gt;&lt;/a&gt;\ 

    ## OBReadConsentResponse1\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Data | Entity |
    &lt;details&gt;&lt;summary&gt;[OBReadDataConsentResponse1](#OBReadDataConse\
    ntResponse1)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;ConsentId
    [string]&lt;/li&gt; &lt;li&gt;CreationDateTime [string]&lt;/li&gt;
    &lt;li&gt;&lt;details&gt;&lt;summary&gt;Status
    [[OBExternalRequestStatus1Code](#OBExternalRequestStatus1Code)]&lt;/summary\
    &gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt;&lt;/li&gt;&lt;li&gt;StatusUpdateD\
    ateTime [string]&lt;/li&gt; &lt;li&gt;Permissions
    [array[[OBExternalPermissions1Code](#OBExternalPermissions1Code)]]&lt;/li&g\
    t; &lt;li&gt;ExpirationDateTime [string]&lt;/li&gt;
    &lt;li&gt;TransactionFromDateTime [string]&lt;/li&gt;
    &lt;li&gt;TransactionToDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | Risk | Entity |
    &lt;details&gt;&lt;summary&gt;[OBRisk2](#OBRisk2)&lt;/summary&gt;&lt;ul&gt;\
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | Links | Entity |
    &lt;details&gt;&lt;summary&gt;[Links](#Links)&lt;/summary&gt;&lt;ul&gt;&lt;\
    li&gt;Self [string]&lt;/li&gt; &lt;li&gt;First [string]&lt;/li&gt;
    &lt;li&gt;Prev [string]&lt;/li&gt; &lt;li&gt;Next [string]&lt;/li&gt;
    &lt;li&gt;Last [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | Meta | Entity |
    &lt;details&gt;&lt;summary&gt;[Meta](#Meta)&lt;/summary&gt;&lt;ul&gt;&lt;li\
    &gt;TotalPages [integer]&lt;/li&gt; &lt;li&gt;FirstAvailableDateTime
    [string]&lt;/li&gt; &lt;li&gt;LastAvailableDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBExternalAccountType1Code&gt;&lt;/a&gt;\ 

    ## OBExternalAccountType1Code\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| -| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;Business&lt;/li&gt;&lt;li&gt;Personal&lt;/li&gt;&lt;/ul&gt\
    ;|


    \ &lt;a name=OBExternalAccountSubType1Code&gt;&lt;/a&gt;\ 

    ## OBExternalAccountSubType1Code\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| -| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;ChargeCard&lt;/li&gt;&lt;li&gt;CreditCard&lt;/li&gt;&lt;li\
    &gt;CurrentAccount&lt;/li&gt;&lt;li&gt;EMoney&lt;/li&gt;&lt;li&gt;Loan&lt;/\
    li&gt;&lt;li&gt;Mortgage&lt;/li&gt;&lt;li&gt;PrePaidCard&lt;/li&gt;&lt;li&g\
    t;Savings&lt;/li&gt;&lt;/ul&gt;|


    \ &lt;a name=OBCashAccount5&gt;&lt;/a&gt;\ 

    ## OBCashAccount5\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | SchemeName| Name of the identification scheme, in a coded form as
    published in an external list.| string|

    | Identification| Identification assigned by an institution to identify
    an account. This identification is known by the account owner.| string|

    | Name| The account name is the name or names of the account owner(s)
    represented at an account level, as displayed by the ASPSP's online
    channels. Note, the account name is not the product name or the nickname of
    the account.| string|

    | SecondaryIdentification| This is secondary identification of the
    account, as assigned by the account servicing institution. This can be used
    by building societies to additionally identify accounts with a roll
    number(in addition to a sort code and account number combination).| string|


    \ &lt;a
    name=OBBranchAndFinancialInstitutionIdentification5&gt;&lt;/a&gt;\ 

    ## OBBranchAndFinancialInstitutionIdentification5\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | SchemeName| Name of the identification scheme, in a coded form as
    published in an external list.| string|

    | Identification| Unique and unambiguous identification of the servicing
    institution.| string|


    \ &lt;a name=OBAccount6&gt;&lt;/a&gt;\ 

    ## OBAccount6\ 

    Unambiguous identification of the account to which credit and debit
    entries are made.\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | AccountId| A unique and immutable identifier used to identify the
    account resource. This identifier has no meaning to the account owner.|
    string|

    | Currency| Identification of the currency in which the account is
    held.  Usage: Currency should only be used in case one and the same account
    number covers several currencies and the initiating party needs to identify
    which currency needs to be used for settlement on the account.| string|

    | AccountType | Entity |
    &lt;details&gt;&lt;summary&gt;[OBExternalAccountType1Code](#OBExternalAccou\
    ntType1Code)&lt;/summary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | AccountSubType | Entity |
    &lt;details&gt;&lt;summary&gt;[OBExternalAccountSubType1Code](#OBExternalAc\
    countSubType1Code)&lt;/summary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | Description| Specifies the description of the account type.| string|

    | Nickname| The nickname of the account, assigned by the account owner
    in order to provide an additional means of identification of the account.|
    string|

    | OpeningDate| Date on which the account and related basic services are
    effectively operational for the account owner.All dates in the JSON payloads
    are represented in ISO 8601 date-time format.  All date-time fields in
    responses must include the timezone. An example is below:
    2017-04-05T10:43:07+00:00| string|

    | Account| Provides the details to identify an account.|
    array[[OBCashAccount5](#OBCashAccount5)]|

    | Servicer | Entity |
    &lt;details&gt;&lt;summary&gt;[OBBranchAndFinancialInstitutionIdentificatio\
    n5](#OBBranchAndFinancialInstitutionIdentification5)&lt;/summary&gt;&lt;ul&\
    gt;&lt;li&gt;SchemeName [string]&lt;/li&gt; &lt;li&gt;Identification
    [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBReadDataAccount5&gt;&lt;/a&gt;\ 

    ## OBReadDataAccount5\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Account| Unambiguous identification of the account to which credit and
    debit entries are made.| array[[OBAccount6](#OBAccount6)]|


    \ &lt;a name=OBReadAccount5&gt;&lt;/a&gt;\ 

    ## OBReadAccount5\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Data | Entity |
    &lt;details&gt;&lt;summary&gt;[OBReadDataAccount5](#OBReadDataAccount5)&lt;\
    /summary&gt;&lt;ul&gt;&lt;li&gt;Account
    [array[[OBAccount6](#OBAccount6)]]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt;
    |\ 

    | Links | Entity |
    &lt;details&gt;&lt;summary&gt;[Links](#Links)&lt;/summary&gt;&lt;ul&gt;&lt;\
    li&gt;Self [string]&lt;/li&gt; &lt;li&gt;First [string]&lt;/li&gt;
    &lt;li&gt;Prev [string]&lt;/li&gt; &lt;li&gt;Next [string]&lt;/li&gt;
    &lt;li&gt;Last [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | Meta | Entity |
    &lt;details&gt;&lt;summary&gt;[Meta](#Meta)&lt;/summary&gt;&lt;ul&gt;&lt;li\
    &gt;TotalPages [integer]&lt;/li&gt; &lt;li&gt;FirstAvailableDateTime
    [string]&lt;/li&gt; &lt;li&gt;LastAvailableDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBCreditDebitCode&gt;&lt;/a&gt;\ 

    ## OBCreditDebitCode\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| -| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;Credit&lt;/li&gt;&lt;li&gt;Debit&lt;/li&gt;&lt;/ul&gt;|


    \ &lt;a name=OBBalanceType1Code&gt;&lt;/a&gt;\ 

    ## OBBalanceType1Code\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| -| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;ClosingAvailable&lt;/li&gt;&lt;li&gt;ClosingBooked&lt;/li&\
    gt;&lt;li&gt;ClosingCleared&lt;/li&gt;&lt;li&gt;Expected&lt;/li&gt;&lt;li&g\
    t;ForwardAvailable&lt;/li&gt;&lt;li&gt;Information&lt;/li&gt;&lt;li&gt;Inte\
    rimAvailable&lt;/li&gt;&lt;li&gt;InterimBooked&lt;/li&gt;&lt;li&gt;InterimC\
    leared&lt;/li&gt;&lt;li&gt;OpeningAvailable&lt;/li&gt;&lt;li&gt;OpeningBook\
    ed&lt;/li&gt;&lt;li&gt;OpeningCleared&lt;/li&gt;&lt;li&gt;PreviouslyClosedB\
    ooked&lt;/li&gt;&lt;/ul&gt;|


    \ &lt;a name=OBActiveOrHistoricCurrencyAndAmount&gt;&lt;/a&gt;\ 

    ## OBActiveOrHistoricCurrencyAndAmount\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Amount| A number of monetary units specified in an active currency
    where the unit of currency is explicit and compliant with ISO 4217.| string|

    | Currency| A code allocated to a currency by a Maintenance Agency under
    an international identification scheme, as described in the latest edition
    of the international standard ISO 4217 \"Codes for the representation of
    currencies and funds\".| string|


    \ &lt;a name=OBExternalLimitType1Code&gt;&lt;/a&gt;\ 

    ## OBExternalLimitType1Code\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| -| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;Available&lt;/li&gt;&lt;li&gt;Credit&lt;/li&gt;&lt;li&gt;E\
    mergency&lt;/li&gt;&lt;li&gt;Pre-Agreed&lt;/li&gt;&lt;li&gt;Temporary&lt;/l\
    i&gt;&lt;/ul&gt;|


    \ &lt;a name=OBCreditLine1&gt;&lt;/a&gt;\ 

    ## OBCreditLine1\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Included| Indicates whether or not the credit line is included in the
    balance of the account. Usage: If not present, credit line is not included
    in the balance amount of the account.| boolean|

    | Type | Entity |
    &lt;details&gt;&lt;summary&gt;[OBExternalLimitType1Code](#OBExternalLimitTy\
    pe1Code)&lt;/summary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | Amount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBActiveOrHistoricCurrencyAndAmount](#OBActi\
    veOrHistoricCurrencyAndAmount)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Amount
    [string]&lt;/li&gt; &lt;li&gt;Currency [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBCashBalance1&gt;&lt;/a&gt;\ 

    ## OBCashBalance1\ 

    Set of elements used to define the balance details.\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | AccountId| A unique and immutable identifier used to identify the
    account resource. This identifier has no meaning to the account owner.|
    string|

    | CreditDebitIndicator | Entity |
    &lt;details&gt;&lt;summary&gt;[OBCreditDebitCode](#OBCreditDebitCode)&lt;/s\
    ummary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | Type | Entity |
    &lt;details&gt;&lt;summary&gt;[OBBalanceType1Code](#OBBalanceType1Code)&lt;\
    /summary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | DateTime| Indicates the date (and time) of the balance.All dates in
    the JSON payloads are represented in ISO 8601 date-time format.  All
    date-time fields in responses must include the timezone. An example is
    below: 2017-04-05T10:43:07+00:00| string|

    | Amount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBActiveOrHistoricCurrencyAndAmount](#OBActi\
    veOrHistoricCurrencyAndAmount)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Amount
    [string]&lt;/li&gt; &lt;li&gt;Currency [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | CreditLine| Set of elements used to provide details on the credit
    line.| array[[OBCreditLine1](#OBCreditLine1)]|


    \ &lt;a name=OBReadDataBalance1&gt;&lt;/a&gt;\ 

    ## OBReadDataBalance1\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Balance| Set of elements used to define the balance details.|
    array[[OBCashBalance1](#OBCashBalance1)]|


    \ &lt;a name=OBReadBalance1&gt;&lt;/a&gt;\ 

    ## OBReadBalance1\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Data | Entity |
    &lt;details&gt;&lt;summary&gt;[OBReadDataBalance1](#OBReadDataBalance1)&lt;\
    /summary&gt;&lt;ul&gt;&lt;li&gt;Balance
    [array[[OBCashBalance1](#OBCashBalance1)]]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | Links | Entity |
    &lt;details&gt;&lt;summary&gt;[Links](#Links)&lt;/summary&gt;&lt;ul&gt;&lt;\
    li&gt;Self [string]&lt;/li&gt; &lt;li&gt;First [string]&lt;/li&gt;
    &lt;li&gt;Prev [string]&lt;/li&gt; &lt;li&gt;Next [string]&lt;/li&gt;
    &lt;li&gt;Last [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | Meta | Entity |
    &lt;details&gt;&lt;summary&gt;[Meta](#Meta)&lt;/summary&gt;&lt;ul&gt;&lt;li\
    &gt;TotalPages [integer]&lt;/li&gt; &lt;li&gt;FirstAvailableDateTime
    [string]&lt;/li&gt; &lt;li&gt;LastAvailableDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBBeneficiaryType1Code&gt;&lt;/a&gt;\ 

    ## OBBeneficiaryType1Code\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| Specifies the Beneficiary Type.| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;Trusted&lt;/li&gt;&lt;li&gt;Ordinary&lt;/li&gt;&lt;/ul&gt;|


    \ &lt;a name=OBBeneficiary5&gt;&lt;/a&gt;\ 

    ## OBBeneficiary5\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | AccountId| A unique and immutable identifier used to identify the
    account resource. This identifier has no meaning to the account owner.|
    string|

    | BeneficiaryType | Entity |
    &lt;details&gt;&lt;summary&gt;[OBBeneficiaryType1Code](#OBBeneficiaryType1C\
    ode)&lt;/summary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | CreditorAccount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBCashAccount5](#OBCashAccount5)&lt;/summary\
    &gt;&lt;ul&gt;&lt;li&gt;SchemeName [string]&lt;/li&gt;
    &lt;li&gt;Identification [string]&lt;/li&gt; &lt;li&gt;Name
    [string]&lt;/li&gt; &lt;li&gt;SecondaryIdentification [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBReadDataBeneficiary5&gt;&lt;/a&gt;\ 

    ## OBReadDataBeneficiary5\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Beneficiary| -| array[[OBBeneficiary5](#OBBeneficiary5)]|


    \ &lt;a name=OBReadBeneficiary5&gt;&lt;/a&gt;\ 

    ## OBReadBeneficiary5\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Data | Entity |
    &lt;details&gt;&lt;summary&gt;[OBReadDataBeneficiary5](#OBReadDataBeneficia\
    ry5)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Beneficiary
    [array[[OBBeneficiary5](#OBBeneficiary5)]]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | Links | Entity |
    &lt;details&gt;&lt;summary&gt;[Links](#Links)&lt;/summary&gt;&lt;ul&gt;&lt;\
    li&gt;Self [string]&lt;/li&gt; &lt;li&gt;First [string]&lt;/li&gt;
    &lt;li&gt;Prev [string]&lt;/li&gt; &lt;li&gt;Next [string]&lt;/li&gt;
    &lt;li&gt;Last [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | Meta | Entity |
    &lt;details&gt;&lt;summary&gt;[Meta](#Meta)&lt;/summary&gt;&lt;ul&gt;&lt;li\
    &gt;TotalPages [integer]&lt;/li&gt; &lt;li&gt;FirstAvailableDateTime
    [string]&lt;/li&gt; &lt;li&gt;LastAvailableDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBParty2&gt;&lt;/a&gt;\ 

    ## OBParty2\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | PartyId| A unique and immutable identifier used to identify the
    customer resource. This identifier has no meaning to the account owner.|
    string|

    | Name| Name by which a party is known and which is usually used to
    identify that party.| string|


    \ &lt;a name=OBReadDataParty2&gt;&lt;/a&gt;\ 

    ## OBReadDataParty2\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Party | Entity |
    &lt;details&gt;&lt;summary&gt;[OBParty2](#OBParty2)&lt;/summary&gt;&lt;ul&g\
    t;&lt;li&gt;PartyId [string]&lt;/li&gt; &lt;li&gt;Name [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBReadParty2&gt;&lt;/a&gt;\ 

    ## OBReadParty2\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Data | Entity |
    &lt;details&gt;&lt;summary&gt;[OBReadDataParty2](#OBReadDataParty2)&lt;/sum\
    mary&gt;&lt;ul&gt;&lt;li&gt;&lt;details&gt;&lt;summary&gt;Party
    [[OBParty2](#OBParty2)]&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;PartyId
    [string]&lt;/li&gt; &lt;li&gt;Name [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | Links | Entity |
    &lt;details&gt;&lt;summary&gt;[Links](#Links)&lt;/summary&gt;&lt;ul&gt;&lt;\
    li&gt;Self [string]&lt;/li&gt; &lt;li&gt;First [string]&lt;/li&gt;
    &lt;li&gt;Prev [string]&lt;/li&gt; &lt;li&gt;Next [string]&lt;/li&gt;
    &lt;li&gt;Last [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | Meta | Entity |
    &lt;details&gt;&lt;summary&gt;[Meta](#Meta)&lt;/summary&gt;&lt;ul&gt;&lt;li\
    &gt;TotalPages [integer]&lt;/li&gt; &lt;li&gt;FirstAvailableDateTime
    [string]&lt;/li&gt; &lt;li&gt;LastAvailableDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBReadDataParty3&gt;&lt;/a&gt;\ 

    ## OBReadDataParty3\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Party| -| array[[OBParty2](#OBParty2)]|


    \ &lt;a name=OBReadParty3&gt;&lt;/a&gt;\ 

    ## OBReadParty3\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Data | Entity |
    &lt;details&gt;&lt;summary&gt;[OBReadDataParty3](#OBReadDataParty3)&lt;/sum\
    mary&gt;&lt;ul&gt;&lt;li&gt;Party [array[[OBParty2](#OBParty2)]]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | Links | Entity |
    &lt;details&gt;&lt;summary&gt;[Links](#Links)&lt;/summary&gt;&lt;ul&gt;&lt;\
    li&gt;Self [string]&lt;/li&gt; &lt;li&gt;First [string]&lt;/li&gt;
    &lt;li&gt;Prev [string]&lt;/li&gt; &lt;li&gt;Next [string]&lt;/li&gt;
    &lt;li&gt;Last [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | Meta | Entity |
    &lt;details&gt;&lt;summary&gt;[Meta](#Meta)&lt;/summary&gt;&lt;ul&gt;&lt;li\
    &gt;TotalPages [integer]&lt;/li&gt; &lt;li&gt;FirstAvailableDateTime
    [string]&lt;/li&gt; &lt;li&gt;LastAvailableDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=SandboxRequest&gt;&lt;/a&gt;\ 

    ## SandboxRequest\ 

    Request to create a new sandbox\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | sandboxId| Sandbox Id| string|


    \ &lt;a name=ErrorResponse&gt;&lt;/a&gt;\ 

    ## ErrorResponse\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | errorMessage| -| string|


    \ &lt;a name=SandboxRetryCacheEntry&gt;&lt;/a&gt;\ 

    ## SandboxRetryCacheEntry\ 

    Keeps the number of calls without x-fapi-customer-ip-address header
    present\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | cacheKey| Cache key| string|

    | count| Number of retries ( up to 4 )| integer|

    | expirationTimestamp| Expiration timestamp of the entry| string|


    \ &lt;a name=SandboxBankAccountInfo&gt;&lt;/a&gt;\ 

    ## SandboxBankAccountInfo\ 

    General account information\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | currency| Currency (EUR, USD ...)| string|

    | iban| Account's IBAN| string|

    | accountType| Account's type (Business, Personal)| string|

    | accountSubType| Account's sub-type (ChargeCard, CreditCard,
    CurrentAccount ...)| string|

    | description| Account's description| string|

    | alias| Account's alias| string|

    | openingDate| Account's opening date| string|

    | availableBalance| Account's available balance| number|

    | ledgerBalance| Account's ledger balance| number|

    | overdraftLimit| Account's overdraft limit| number|


    \ &lt;a name=SandboxParty&gt;&lt;/a&gt;\ 

    ## SandboxParty\ 

    Connected party information\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | id| Party id| string|

    | name| Name| string|


    \ &lt;a name=SandboxBeneficiary&gt;&lt;/a&gt;\ 

    ## SandboxBeneficiary\ 

    Beneficiary information\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | name| Beneficiary name| string|


    \ &lt;a name=SandboxStandingOrder&gt;&lt;/a&gt;\ 

    ## SandboxStandingOrder\ 

    Standing order information\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | description| Standing order short description| string|

    | frequency| Standing order frequency| string|

    | firstPaymentDate| Standing order first collection date| string|

    | nextPaymentDate| Standing order next collection date| string|

    | finalPaymentDate| Standing order final collection date| string|

    | lastPaymentDate| Standing order last executed payment date| string|

    | status| Standing order status (Active, Inactive)| string|

    | amount| Standing order amount| number|


    \ &lt;a name=SandboxScheduledPayment&gt;&lt;/a&gt;\ 

    ## SandboxScheduledPayment\ 

    Scheduled payment information\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | description| Scheduled payment's short description| string|

    | executionDate| Scheduled payment's execution date| string|

    | amount| Amount| number|

    | senderReference| Debtor / Sender reference| string|


    \ &lt;a name=SandboxStatement&gt;&lt;/a&gt;\ 

    ## SandboxStatement\ 

    Statement information\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | number| Statement number| string|

    | year| Statement year| integer|

    | month| Statement month| integer|


    \ &lt;a name=SandboxTransaction&gt;&lt;/a&gt;\ 

    ## SandboxTransaction\ 

    Transaction information\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | reference| Transaction reference| string|

    | amount| Amount| number|

    | currency| Currency (EUR, USD ...)| string|

    | creditDebit| Credit / Debit indicator| string|

    | valueDateTime| Valeur| string|

    | bookingDateTime| Booking date time| string|

    | description| Description| string|

    | accountingBalance| Balance| number|

    | relatedAccount| Related account| string|

    | relatedName| Related account| string|

    | transactionCode| Transaction code| string|


    \ &lt;a name=SandboxBankAccount&gt;&lt;/a&gt;\ 

    ## SandboxBankAccount\ 

    Sandbox bank account\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | info | Entity |
    &lt;details&gt;&lt;summary&gt;[SandboxBankAccountInfo](#SandboxBankAccountI\
    nfo)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;currency [string]&lt;/li&gt;
    &lt;li&gt;iban [string]&lt;/li&gt; &lt;li&gt;accountType [string]&lt;/li&gt;
    &lt;li&gt;accountSubType [string]&lt;/li&gt; &lt;li&gt;description
    [string]&lt;/li&gt; &lt;li&gt;alias [string]&lt;/li&gt;
    &lt;li&gt;openingDate [string]&lt;/li&gt; &lt;li&gt;availableBalance
    [number]&lt;/li&gt; &lt;li&gt;ledgerBalance [number]&lt;/li&gt;
    &lt;li&gt;overdraftLimit [number]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | party | Entity |
    &lt;details&gt;&lt;summary&gt;[SandboxParty](#SandboxParty)&lt;/summary&gt;\
    &lt;ul&gt;&lt;li&gt;id [string]&lt;/li&gt; &lt;li&gt;name
    [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | beneficiaries| List of account's beneficiaries|
    array[[SandboxBeneficiary](#SandboxBeneficiary)]|

    | standingOrders| List of account's standing orders|
    array[[SandboxStandingOrder](#SandboxStandingOrder)]|

    | scheduledPayments| List of account's scheduled payments|
    array[[SandboxScheduledPayment](#SandboxScheduledPayment)]|

    | statements| List of account's statements|
    array[[SandboxStatement](#SandboxStatement)]|

    | transactions| List of account's transactions|
    array[[SandboxTransaction](#SandboxTransaction)]|


    \ &lt;a name=SandboxCardInfo&gt;&lt;/a&gt;\ 

    ## SandboxCardInfo\ 

    Sandbox card information\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | number| Card number| string|

    | description| Description| string|

    | holderName| Holder name| string|

    | expiration| Expiration date (05/2022)| string|

    | type| Type| string|

    | subType| Sub type| string|

    | availableBalance| Available balance| number|

    | ledgerBalance| Ledger balance| number|

    | creditLimit| Credit limit ( applicable to credit cards )| number|


    \ &lt;a name=SandboxCard&gt;&lt;/a&gt;\ 

    ## SandboxCard\ 

    Sandbox card\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | info | Entity |
    &lt;details&gt;&lt;summary&gt;[SandboxCardInfo](#SandboxCardInfo)&lt;/summa\
    ry&gt;&lt;ul&gt;&lt;li&gt;number [string]&lt;/li&gt; &lt;li&gt;description
    [string]&lt;/li&gt; &lt;li&gt;holderName [string]&lt;/li&gt;
    &lt;li&gt;expiration [string]&lt;/li&gt; &lt;li&gt;type [string]&lt;/li&gt;
    &lt;li&gt;subType [string]&lt;/li&gt; &lt;li&gt;availableBalance
    [number]&lt;/li&gt; &lt;li&gt;ledgerBalance [number]&lt;/li&gt;
    &lt;li&gt;creditLimit [number]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | party | Entity |
    &lt;details&gt;&lt;summary&gt;[SandboxParty](#SandboxParty)&lt;/summary&gt;\
    &lt;ul&gt;&lt;li&gt;id [string]&lt;/li&gt; &lt;li&gt;name
    [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | statements| Card statements|
    array[[SandboxStatement](#SandboxStatement)]|

    | transactions| Card transactions|
    array[[SandboxTransaction](#SandboxTransaction)]|


    \ &lt;a name=SandboxUser&gt;&lt;/a&gt;\ 

    ## SandboxUser\ 

    User data\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | userId| Connected user id| string|

    | retryCacheEntries| Retry cache entries|
    array[[SandboxRetryCacheEntry](#SandboxRetryCacheEntry)]|

    | accounts| List of accounts|
    array[[SandboxBankAccount](#SandboxBankAccount)]|

    | cards| List of cards| array[[SandboxCard](#SandboxCard)]|


    \ &lt;a name=Sandbox&gt;&lt;/a&gt;\ 

    ## Sandbox\ 

    Sandbox model\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | sandboxId| Sandbox id| string|

    | users| List of users| array[[SandboxUser](#SandboxUser)]|


    \ &lt;a name=OBExternalScheduleType1Code&gt;&lt;/a&gt;\ 

    ## OBExternalScheduleType1Code\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| -| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;Arrival&lt;/li&gt;&lt;li&gt;Execution&lt;/li&gt;&lt;/ul&gt\
    ;|


    \ &lt;a name=OBScheduledPayment3&gt;&lt;/a&gt;\ 

    ## OBScheduledPayment3\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | AccountId| A unique and immutable identifier used to identify the
    account resource. This identifier has no meaning to the account owner.|
    string|

    | ScheduledPaymentId| A unique and immutable identifier used to identify
    the scheduled payment resource. This identifier has no meaning to the
    account owner.| string|

    | ScheduledPaymentDateTime| The date on which the scheduled payment will
    be made.All dates in the JSON payloads are represented in ISO 8601 date-time
    format. All date-time fields in responses must include the timezone.An
    example is below: 2017-04-05T10:43:07+00:00| string|

    | ScheduledType | Entity |
    &lt;details&gt;&lt;summary&gt;[OBExternalScheduleType1Code](#OBExternalSche\
    duleType1Code)&lt;/summary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | Reference| Unique reference, as assigned by the creditor, to
    unambiguously refer to the payment transaction. Usage: If available, the
    initiating party should provide this reference in the structured remittance
    information, to enable reconciliation by the creditor upon receipt of the
    amount of money. If the business context requires the use of a creditor
    reference or a payment remit identification, and only one identifier can be
    passed through the end-to-end chain, the creditor's reference or payment
    remittance identification should be quoted in the end-to-end transaction
    identification.| string|

    | DebtorReference| A reference value provided by the PSU to the PISP
    while setting up the scheduled payment.| string|

    | InstructedAmount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBActiveOrHistoricCurrencyAndAmount](#OBActi\
    veOrHistoricCurrencyAndAmount)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Amount
    [string]&lt;/li&gt; &lt;li&gt;Currency [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | CreditorAccount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBCashAccount5](#OBCashAccount5)&lt;/summary\
    &gt;&lt;ul&gt;&lt;li&gt;SchemeName [string]&lt;/li&gt;
    &lt;li&gt;Identification [string]&lt;/li&gt; &lt;li&gt;Name
    [string]&lt;/li&gt; &lt;li&gt;SecondaryIdentification [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBReadDataScheduledPayment3&gt;&lt;/a&gt;\ 

    ## OBReadDataScheduledPayment3\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | ScheduledPayment| -|
    array[[OBScheduledPayment3](#OBScheduledPayment3)]|


    \ &lt;a name=OBReadScheduledPayment3&gt;&lt;/a&gt;\ 

    ## OBReadScheduledPayment3\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Data | Entity |
    &lt;details&gt;&lt;summary&gt;[OBReadDataScheduledPayment3](#OBReadDataSche\
    duledPayment3)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;ScheduledPayment
    [array[[OBScheduledPayment3](#OBScheduledPayment3)]]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | Links | Entity |
    &lt;details&gt;&lt;summary&gt;[Links](#Links)&lt;/summary&gt;&lt;ul&gt;&lt;\
    li&gt;Self [string]&lt;/li&gt; &lt;li&gt;First [string]&lt;/li&gt;
    &lt;li&gt;Prev [string]&lt;/li&gt; &lt;li&gt;Next [string]&lt;/li&gt;
    &lt;li&gt;Last [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | Meta | Entity |
    &lt;details&gt;&lt;summary&gt;[Meta](#Meta)&lt;/summary&gt;&lt;ul&gt;&lt;li\
    &gt;TotalPages [integer]&lt;/li&gt; &lt;li&gt;FirstAvailableDateTime
    [string]&lt;/li&gt; &lt;li&gt;LastAvailableDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBExternalStandingOrderStatus1Code&gt;&lt;/a&gt;\ 

    ## OBExternalStandingOrderStatus1Code\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| -| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;Active&lt;/li&gt;&lt;li&gt;Inactive&lt;/li&gt;&lt;/ul&gt;|


    \ &lt;a name=OBStandingOrder5&gt;&lt;/a&gt;\ 

    ## OBStandingOrder5\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | AccountId| A unique and immutable identifier used to identify the
    account resource. This identifier has no meaning to the account owner.|
    string|

    | StandingOrderId| A unique and immutable identifier used to identify
    the standing order resource. This identifier has no meaning to the account
    owner.| string|

    | Frequency| Individual Definitions: IntrvlMnthDay - An interval
    specified in months(between 01, 02, 03, 04, 06, 12, 24), specifying the day
    within the month(01 to 31) Full Regular Expression:
    ^(IntrvlMnthDay:(0[1,2,3,4,6]|12|24):(0[1-9]|[12] [0-9]|3[01]))$| string|

    | Reference| Unique reference, as assigned by the creditor, to
    unambiguously refer to the payment transaction. Usage: If available, the
    initiating party should provide this reference in the structured remittance
    information, to enable reconciliation by the creditor upon receipt of the
    amount of money. If the business context requires the use of a creditor
    reference or a payment remit identification, and only one identifier can be
    passed through the end-to-end chain, the creditor's reference or payment
    remittance identification should be quoted in the end-to-end transaction
    identification.| string|

    | FirstPaymentDateTime| The date on which the first payment for a
    Standing Order schedule will be made.All dates in the JSON payloads are
    represented in ISO 8601 date-time format. All date-time fields in responses
    must include the timezone.An example is below: 2017-04-05T10:43:07+00:00|
    string|

    | NextPaymentDateTime| The date on which the next payment for a Standing
    Order schedule will be made.All dates in the JSON payloads are represented
    in ISO 8601 date-time format. All date-time fields in responses must include
    the timezone.An example is below: 2017-04-05T10:43:07+00:00| string|

    | LastPaymentDateTime| The date on which the last (most recent) payment
    for a Standing Order schedule was made.All dates in the JSON payloads are
    represented in ISO 8601 date-time format. All date-time fields in responses
    must include the timezone.An example is below: 2017-04-05T10:43:07+00:00|
    string|

    | FinalPaymentDateTime| The date on which the final payment for a
    Standing Order schedule will be made.All dates in the JSON payloads are
    represented in ISO 8601 date-time format. All date-time fields in responses
    must include the timezone.An example is below: 2017-04-05T10:43:07+00:00|
    string|

    | StandingOrderStatusCode | Entity |
    &lt;details&gt;&lt;summary&gt;[OBExternalStandingOrderStatus1Code](#OBExter\
    nalStandingOrderStatus1Code)&lt;/summary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/detai\
    ls&gt; |\ 

    | FirstPaymentAmount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBActiveOrHistoricCurrencyAndAmount](#OBActi\
    veOrHistoricCurrencyAndAmount)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Amount
    [string]&lt;/li&gt; &lt;li&gt;Currency [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | NextPaymentAmount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBActiveOrHistoricCurrencyAndAmount](#OBActi\
    veOrHistoricCurrencyAndAmount)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Amount
    [string]&lt;/li&gt; &lt;li&gt;Currency [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | LastPaymentAmount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBActiveOrHistoricCurrencyAndAmount](#OBActi\
    veOrHistoricCurrencyAndAmount)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Amount
    [string]&lt;/li&gt; &lt;li&gt;Currency [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | FinalPaymentAmount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBActiveOrHistoricCurrencyAndAmount](#OBActi\
    veOrHistoricCurrencyAndAmount)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Amount
    [string]&lt;/li&gt; &lt;li&gt;Currency [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | CreditorAccount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBCashAccount5](#OBCashAccount5)&lt;/summary\
    &gt;&lt;ul&gt;&lt;li&gt;SchemeName [string]&lt;/li&gt;
    &lt;li&gt;Identification [string]&lt;/li&gt; &lt;li&gt;Name
    [string]&lt;/li&gt; &lt;li&gt;SecondaryIdentification [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBReadDataStandingOrder5&gt;&lt;/a&gt;\ 

    ## OBReadDataStandingOrder5\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | StandingOrder| -| array[[OBStandingOrder5](#OBStandingOrder5)]|


    \ &lt;a name=OBReadStandingOrder6&gt;&lt;/a&gt;\ 

    ## OBReadStandingOrder6\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Data | Entity |
    &lt;details&gt;&lt;summary&gt;[OBReadDataStandingOrder5](#OBReadDataStandin\
    gOrder5)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;StandingOrder
    [array[[OBStandingOrder5](#OBStandingOrder5)]]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | Links | Entity |
    &lt;details&gt;&lt;summary&gt;[Links](#Links)&lt;/summary&gt;&lt;ul&gt;&lt;\
    li&gt;Self [string]&lt;/li&gt; &lt;li&gt;First [string]&lt;/li&gt;
    &lt;li&gt;Prev [string]&lt;/li&gt; &lt;li&gt;Next [string]&lt;/li&gt;
    &lt;li&gt;Last [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | Meta | Entity |
    &lt;details&gt;&lt;summary&gt;[Meta](#Meta)&lt;/summary&gt;&lt;ul&gt;&lt;li\
    &gt;TotalPages [integer]&lt;/li&gt; &lt;li&gt;FirstAvailableDateTime
    [string]&lt;/li&gt; &lt;li&gt;LastAvailableDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBExternalStatementType1Code&gt;&lt;/a&gt;\ 

    ## OBExternalStatementType1Code\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| -| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;AccountClosure&lt;/li&gt;&lt;li&gt;AccountOpening&lt;/li&g\
    t;&lt;li&gt;Annual&lt;/li&gt;&lt;li&gt;Interim&lt;/li&gt;&lt;li&gt;RegularP\
    eriodic&lt;/li&gt;&lt;/ul&gt;|


    \ &lt;a name=OBStatement2&gt;&lt;/a&gt;\ 

    ## OBStatement2\ 

    Provides further details on a statement resource.\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | AccountId| A unique and immutable identifier used to identify the
    account resource. This identifier has no meaning to the account owner.|
    string|

    | StatementId| Unique identifier for the statement resource within an
    servicing institution. This identifier is both unique and immutable.|
    string|

    | StatementReference| Unique reference for the statement. This reference
    may be optionally populated if available.| string|

    | Type | Entity |
    &lt;details&gt;&lt;summary&gt;[OBExternalStatementType1Code](#OBExternalSta\
    tementType1Code)&lt;/summary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | StartDateTime| Date and time at which the statement period starts.All
    dates in the JSON payloads are represented in ISO 8601 date-time format. All
    date-time fields in responses must include the timezone.An example is below:
    2017-04-05T10:43:07+00:00| string|

    | EndDateTime| Date and time at which the statement period starts.All
    dates in the JSON payloads are represented in ISO 8601 date-time format. All
    date-time fields in responses must include the timezone.An example is below:
    2017-04-05T10:43:07+00:00| string|

    | CreationDateTime| Date and time at which the statement period
    starts.All dates in the JSON payloads are represented in ISO 8601 date-time
    format. All date-time fields in responses must include the timezone.An
    example is below: 2017-04-05T10:43:07+00:00| string|


    \ &lt;a name=OBReadDataStatement2&gt;&lt;/a&gt;\ 

    ## OBReadDataStatement2\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Statement| Provides further details on a statement resource.|
    array[[OBStatement2](#OBStatement2)]|


    \ &lt;a name=OBReadStatement2&gt;&lt;/a&gt;\ 

    ## OBReadStatement2\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Data | Entity |
    &lt;details&gt;&lt;summary&gt;[OBReadDataStatement2](#OBReadDataStatement2)\
    &lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Statement
    [array[[OBStatement2](#OBStatement2)]]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | Links | Entity |
    &lt;details&gt;&lt;summary&gt;[Links](#Links)&lt;/summary&gt;&lt;ul&gt;&lt;\
    li&gt;Self [string]&lt;/li&gt; &lt;li&gt;First [string]&lt;/li&gt;
    &lt;li&gt;Prev [string]&lt;/li&gt; &lt;li&gt;Next [string]&lt;/li&gt;
    &lt;li&gt;Last [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | Meta | Entity |
    &lt;details&gt;&lt;summary&gt;[Meta](#Meta)&lt;/summary&gt;&lt;ul&gt;&lt;li\
    &gt;TotalPages [integer]&lt;/li&gt; &lt;li&gt;FirstAvailableDateTime
    [string]&lt;/li&gt; &lt;li&gt;LastAvailableDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBEntryStatus1Code&gt;&lt;/a&gt;\ 

    ## OBEntryStatus1Code\ 

    ### Attributes\ 


    | Type| Description| Example| Values|

    | -----| -----| -----| -----|

    | enum| -| &lt;ul style=\"padding-left:
    0\"&gt;&lt;li&gt;Booked&lt;/li&gt;&lt;li&gt;Pending&lt;/li&gt;&lt;/ul&gt;|


    \ &lt;a name=ProprietaryBankTransactionCodeStructure1&gt;&lt;/a&gt;\ 

    ## ProprietaryBankTransactionCodeStructure1\ 

    Set of elements to fully identify a proprietary bank transaction code.\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Code| Proprietary bank transaction code to identify the underlying
    transaction.| string|

    | Issuer| Identification of the issuer of the proprietary bank
    transaction code.| string|


    \ &lt;a name=OBTransactionCashBalance&gt;&lt;/a&gt;\ 

    ## OBTransactionCashBalance\ 

    Set of elements used to define the balance as a numerical representation
    of the net increases and decreases in an account after a transaction entry
    is applied to the account.\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | CreditDebitIndicator | Entity |
    &lt;details&gt;&lt;summary&gt;[OBCreditDebitCode](#OBCreditDebitCode)&lt;/s\
    ummary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | Type | Entity |
    &lt;details&gt;&lt;summary&gt;[OBBalanceType1Code](#OBBalanceType1Code)&lt;\
    /summary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | Amount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBActiveOrHistoricCurrencyAndAmount](#OBActi\
    veOrHistoricCurrencyAndAmount)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Amount
    [string]&lt;/li&gt; &lt;li&gt;Currency [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBCashAccount6&gt;&lt;/a&gt;\ 

    ## OBCashAccount6\ 

    Unambiguous identification of the account of the creditor, in the case
    of a debit transaction.\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | SchemeName| Name of the identification scheme, in a coded form as
    published in an external list.| string|

    | Identification| Identification assigned by an institution to identify
    an account. This identification is known by the account owner.| string|

    | Name| The account name is the name or names of the account owner(s)
    represented at an account level, as displayed by the ASPSP's online
    channels. Note, the account name is not the product name or the nickname of
    the account.| string|


    \ &lt;a name=OBTransaction6&gt;&lt;/a&gt;\ 

    ## OBTransaction6\ 

    Provides further details on an entry in the report.\ 


    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | AccountId| A unique and immutable identifier used to identify the
    account resource. This identifier has no meaning to the account owner.|
    string|

    | TransactionReference| Unique reference for the transaction. This
    reference is optionally populated, and may as an example be the FPID in the
    Faster Payments context.| string|

    | CreditDebitIndicator | Entity |
    &lt;details&gt;&lt;summary&gt;[OBCreditDebitCode](#OBCreditDebitCode)&lt;/s\
    ummary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | Status | Entity |
    &lt;details&gt;&lt;summary&gt;[OBEntryStatus1Code](#OBEntryStatus1Code)&lt;\
    /summary&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | BookingDateTime| Date and time when a transaction entry is posted to
    an account on the account servicer's books. Usage: Booking date is the
    expected booking date, unless the status is booked, in which case it is the
    actual booking date.All dates in the JSON payloads are represented in ISO
    8601 date-time format. All date-time fields in responses must include the
    timezone.An example is below: 2017-04-05T10:43:07+00:00| string|

    | ValueDateTime| Date and time at which assets become available to the
    account owner in case of a credit entry, or cease to be available to the
    account owner in case of a debit transaction entry. Usage: If transaction
    entry status is pending and value date is present, then the value date
    refers to an expected/requested value date. For transaction entries subject
    to availability/float and for which availability information is provided,
    the value date must not be used.In this case the availability component
    identifies the number of availability days.All dates in the JSON payloads
    are represented in ISO 8601 date-time format. All date-time fields in
    responses must include the timezone.An example is below:
    2017-04-05T10:43:07+00:00| string|

    | TransactionInformation| Further details of the transaction. This is
    the transaction narrative, which is unstructured text.| string|

    | Amount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBActiveOrHistoricCurrencyAndAmount](#OBActi\
    veOrHistoricCurrencyAndAmount)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Amount
    [string]&lt;/li&gt; &lt;li&gt;Currency [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | ProprietaryBankTransactionCode | Entity |
    &lt;details&gt;&lt;summary&gt;[ProprietaryBankTransactionCodeStructure1](#P\
    roprietaryBankTransactionCodeStructure1)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt\
    ;Code [string]&lt;/li&gt; &lt;li&gt;Issuer [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | Balance | Entity |
    &lt;details&gt;&lt;summary&gt;[OBTransactionCashBalance](#OBTransactionCash\
    Balance)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;&lt;details&gt;&lt;summary&gt;C\
    reditDebitIndicator
    [[OBCreditDebitCode](#OBCreditDebitCode)]&lt;/summary&gt;&lt;ul&gt;&lt;/ul&\
    gt;&lt;/details&gt;&lt;/li&gt;&lt;li&gt;&lt;details&gt;&lt;summary&gt;Type
    [[OBBalanceType1Code](#OBBalanceType1Code)]&lt;/summary&gt;&lt;ul&gt;&lt;/u\
    l&gt;&lt;/details&gt;&lt;/li&gt;&lt;li&gt;&lt;details&gt;&lt;summary&gt;Amo\
    unt
    [[OBActiveOrHistoricCurrencyAndAmount](#OBActiveOrHistoricCurrencyAndAmount\
    )]&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Amount [string]&lt;/li&gt;
    &lt;li&gt;Currency [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/details&gt; |\ 

    | CreditorAccount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBCashAccount6](#OBCashAccount6)&lt;/summary\
    &gt;&lt;ul&gt;&lt;li&gt;SchemeName [string]&lt;/li&gt;
    &lt;li&gt;Identification [string]&lt;/li&gt; &lt;li&gt;Name
    [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | DebtorAccount | Entity |
    &lt;details&gt;&lt;summary&gt;[OBCashAccount6](#OBCashAccount6)&lt;/summary\
    &gt;&lt;ul&gt;&lt;li&gt;SchemeName [string]&lt;/li&gt;
    &lt;li&gt;Identification [string]&lt;/li&gt; &lt;li&gt;Name
    [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 


    \ &lt;a name=OBReadDataTransaction6&gt;&lt;/a&gt;\ 

    ## OBReadDataTransaction6\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Transaction| Provides further details on an entry in the report.|
    array[[OBTransaction6](#OBTransaction6)]|


    \ &lt;a name=OBReadTransaction6&gt;&lt;/a&gt;\ 

    ## OBReadTransaction6\ 



    ### Attributes\ 


    | Name| Description| Values|

    | -----| -----| -----|

    | Data | Entity |
    &lt;details&gt;&lt;summary&gt;[OBReadDataTransaction6](#OBReadDataTransacti\
    on6)&lt;/summary&gt;&lt;ul&gt;&lt;li&gt;Transaction
    [array[[OBTransaction6](#OBTransaction6)]]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 

    | Links | Entity |
    &lt;details&gt;&lt;summary&gt;[Links](#Links)&lt;/summary&gt;&lt;ul&gt;&lt;\
    li&gt;Self [string]&lt;/li&gt; &lt;li&gt;First [string]&lt;/li&gt;
    &lt;li&gt;Prev [string]&lt;/li&gt; &lt;li&gt;Next [string]&lt;/li&gt;
    &lt;li&gt;Last [string]&lt;/li&gt; &lt;/ul&gt;&lt;/details&gt; |\ 

    | Meta | Entity |
    &lt;details&gt;&lt;summary&gt;[Meta](#Meta)&lt;/summary&gt;&lt;ul&gt;&lt;li\
    &gt;TotalPages [integer]&lt;/li&gt; &lt;li&gt;FirstAvailableDateTime
    [string]&lt;/li&gt; &lt;li&gt;LastAvailableDateTime [string]&lt;/li&gt;
    &lt;/ul&gt;&lt;/details&gt; |\ 


    # Authentication


    &lt;!-- ReDoc-Inject: &lt;security-definitions&gt; --&gt;"
  title: Account and Transaction API Specification - UK
  version: v3.1.5
  x-apisguru-categories:
    - financial
  x-origin:
    - format: openapi
      url: https://developer.nbg.gr/api.gateway/publicportal/sites/default/files/2020-09/NBGSwagger-account-and_transaction_api_specification_uk-v3.1.5-swagger%20%284%29.yaml
      version: "3.0"
  x-providerName: nbg.gr
paths:
  /account-access-consents:
    post:
      description: Create Account Access Consents
      parameters:
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/OBReadConsent1"
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/OBReadConsent1"
        description: Default
      responses:
        "201":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadConsentResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadConsentResponse1"
          description: Account Access Consents Created
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Client-Credentials-Token:
            - sandbox-uk-account-info-api-v1
            - accounts
          Client-Id: []
      summary: Create Account Access Consents
      tags:
        - AccountAccess
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            headers = curl_slist_append(headers, "accept: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\"Data\":{\"Permissions\":[\"ReadAccountsBasic\"],\"ExpirationDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionFromDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionToDateTime\":\"&lt;ADD STRING VALUE&gt;\"},\"Risk\":{}}");


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents");

            var request = new RestRequest(Method.POST);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            request.AddHeader("accept", "application/json");

            request.AddParameter("application/json", "{\"Data\":{\"Permissions\":[\"ReadAccountsBasic\"],\"ExpirationDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionFromDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionToDateTime\":\"&lt;ADD STRING VALUE&gt;\"},\"Risk\":{}}", ParameterType.RequestBody);

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"strings"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents"

            	payload := strings.NewReader("{\"Data\":{\"Permissions\":[\"ReadAccountsBasic\"],\"ExpirationDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionFromDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionToDateTime\":\"&lt;ADD STRING VALUE&gt;\"},\"Risk\":{}}")

            	req, _ := http.NewRequest("POST", url, payload)

            	req.Header.Add("accept", "application/json")
            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            MediaType mediaType = MediaType.parse("application/json");

            RequestBody body = RequestBody.create(mediaType, "{\"Data\":{\"Permissions\":[\"ReadAccountsBasic\"],\"ExpirationDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionFromDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionToDateTime\":\"&lt;ADD STRING VALUE&gt;\"},\"Risk\":{}}");

            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents")
              .post(body)
              .addHeader("accept", "application/json")
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'POST',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json',
                 accept: 'application/json' },
              body:
               { Data:
                  { Permissions: [ 'ReadAccountsBasic' ],
                    ExpirationDateTime: '&lt;ADD STRING VALUE&gt;',
                    TransactionFromDateTime: '&lt;ADD STRING VALUE&gt;',
                    TransactionToDateTime: '&lt;ADD STRING VALUE&gt;' },
                 Risk: {} },
              json: true };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "POST",
              CURLOPT_POSTFIELDS =&gt; "{\"Data\":{\"Permissions\":[\"ReadAccountsBasic\"],\"ExpirationDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionFromDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionToDateTime\":\"&lt;ADD STRING VALUE&gt;\"},\"Risk\":{}}",
              CURLOPT_HTTPHEADER =&gt; array(
                "accept: application/json",
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            payload = "{\"Data\":{\"Permissions\":[\"ReadAccountsBasic\"],\"ExpirationDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionFromDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionToDateTime\":\"&lt;ADD STRING VALUE&gt;\"},\"Risk\":{}}"


            headers = {
                'accept': "application/json",
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("POST", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents", payload, headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Post.new(url)

            request["accept"] = 'application/json'

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'

            request.body = "{\"Data\":{\"Permissions\":[\"ReadAccountsBasic\"],\"ExpirationDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionFromDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"TransactionToDateTime\":\"&lt;ADD STRING VALUE&gt;\"},\"Risk\":{}}"


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request POST \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents \
              --header 'accept: application/json' \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE' \
              --data '{"Data":{"Permissions":["ReadAccountsBasic"],"ExpirationDateTime":"&lt;ADD STRING VALUE&gt;","TransactionFromDateTime":"&lt;ADD STRING VALUE&gt;","TransactionToDateTime":"&lt;ADD STRING VALUE&gt;"},"Risk":{}}'
  "/account-access-consents/{consentId}":
    delete:
      description: Delete Account Access Consents by Consent ID
      parameters:
        - description: ConsentId
          in: path
          name: consentId
          required: true
          schema:
            description: ConsentId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "204":
          description: Account Access Consents Deleted
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Client-Credentials-Token:
            - sandbox-uk-account-info-api-v1
            - accounts
          Client-Id: []
      summary: Delete Account Access Consents
      tags:
        - AccountAccess
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "DELETE");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D");

            var request = new RestRequest(Method.DELETE);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D"

            	req, _ := http.NewRequest("DELETE", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D")
              .delete(null)
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'DELETE',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "DELETE",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("DELETE", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Delete.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request DELETE \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
    get:
      description: Get Account Access Consents by Consent ID
      parameters:
        - description: ConsentId
          in: path
          name: consentId
          required: true
          schema:
            description: ConsentId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadConsentResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadConsentResponse1"
          description: Account Access Consents Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Client-Credentials-Token:
            - sandbox-uk-account-info-api-v1
            - accounts
          Client-Id: []
      summary: Get Account Access Consents
      tags:
        - AccountAccess
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/account-access-consents/%7BconsentId%7D \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  /accounts:
    get:
      description: Get Accounts
      parameters:
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadAccount5"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadAccount5"
          description: Accounts Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Accounts
      tags:
        - Accounts
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}":
    get:
      description: Get Accounts by Account ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadAccount5"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadAccount5"
          description: Accounts Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Accounts
      tags:
        - Accounts
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}/balances":
    get:
      description: Get Balances by Account ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadBalance1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadBalance1"
          description: Balances Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Balances
      tags:
        - Balances
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/balances");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/balances");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/balances"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/balances")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/balances',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/balances",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/balances", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/balances")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/balances \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}/beneficiaries":
    get:
      description: Get Beneficiaries by Account ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadBeneficiary5"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadBeneficiary5"
          description: Beneficiaries Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Beneficiaries
      tags:
        - Beneficiaries
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/beneficiaries");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/beneficiaries");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/beneficiaries"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/beneficiaries")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/beneficiaries',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/beneficiaries",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/beneficiaries", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/beneficiaries")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/beneficiaries \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}/parties":
    get:
      description: Get Parties by Account ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadParty3"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadParty3"
          description: Party Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Parties
      tags:
        - Parties
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/parties");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/parties");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/parties"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/parties")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/parties',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/parties",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/parties", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/parties")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/parties \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}/party":
    get:
      description: Get Party by Account ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadParty2"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadParty2"
          description: Party Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Party
      tags:
        - Parties
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/party");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/party");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/party"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/party")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/party',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/party",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/party", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/party")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/party \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}/scheduled-payments":
    get:
      description: Get Scheduled Payments by Account ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadScheduledPayment3"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadScheduledPayment3"
          description: Scheduled Payments Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Scheduled Payments
      tags:
        - ScheduledPayments
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/scheduled-payments");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/scheduled-payments");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/scheduled-payments"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/scheduled-payments")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/scheduled-payments',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/scheduled-payments",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/scheduled-payments", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/scheduled-payments")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/scheduled-payments \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}/standing-orders":
    get:
      description: Get Standing Orders by Account ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadStandingOrder6"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadStandingOrder6"
          description: Standing Orders Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Standing Orders
      tags:
        - StandingOrders
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/standing-orders");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/standing-orders");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/standing-orders"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/standing-orders")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/standing-orders',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/standing-orders",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/standing-orders", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/standing-orders")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/standing-orders \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}/statements":
    get:
      description: Get Statements by Account ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: The UTC ISO 8601 Date Time to filter statements FROM NB Time
            component is optional - set to 00:00:00 for just Date. If the Date
            Time contains a timezone, the ASPSP must ignore the timezone
            component.
          in: query
          name: fromStatementDateTime
          schema:
            description: The UTC ISO 8601 Date Time to filter statements FROM NB Time
              component is optional - set to 00:00:00 for just Date. If the Date
              Time contains a timezone, the ASPSP must ignore the timezone
              component.
            format: date-time
            nullable: true
            type: string
        - description: The UTC ISO 8601 Date Time to filter statements TO NB Time
            component is optional - set to 00:00:00 for just Date. If the Date
            Time contains a timezone, the ASPSP must ignore the timezone
            component.
          in: query
          name: toStatementDateTime
          schema:
            description: The UTC ISO 8601 Date Time to filter statements TO NB Time
              component is optional - set to 00:00:00 for just Date. If the Date
              Time contains a timezone, the ASPSP must ignore the timezone
              component.
            format: date-time
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadStatement2"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadStatement2"
          description: Statements Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Statements
      tags:
        - Statements
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements?fromStatementDateTime=SOME_STRING_VALUE&amp;toStatementDateTime=SOME_STRING_VALUE");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements?fromStatementDateTime=SOME_STRING_VALUE&amp;toStatementDateTime=SOME_STRING_VALUE");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements?fromStatementDateTime=SOME_STRING_VALUE&amp;toStatementDateTime=SOME_STRING_VALUE"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements?fromStatementDateTime=SOME_STRING_VALUE&amp;toStatementDateTime=SOME_STRING_VALUE")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements',
              qs:
               { fromStatementDateTime: 'SOME_STRING_VALUE',
                 toStatementDateTime: 'SOME_STRING_VALUE' },
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements?fromStatementDateTime=SOME_STRING_VALUE&amp;toStatementDateTime=SOME_STRING_VALUE",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements?fromStatementDateTime=SOME_STRING_VALUE&amp;toStatementDateTime=SOME_STRING_VALUE", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements?fromStatementDateTime=SOME_STRING_VALUE&amp;toStatementDateTime=SOME_STRING_VALUE")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url 'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements?fromStatementDateTime=SOME_STRING_VALUE&amp;toStatementDateTime=SOME_STRING_VALUE' \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}/statements/{statementId}":
    get:
      description: Get Statements by Account ID and Statement ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: StatementId
          in: path
          name: statementId
          required: true
          schema:
            description: StatementId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadStatement2"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadStatement2"
          description: Statements Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Statements
      tags:
        - Statements
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}/statements/{statementId}/file":
    get:
      description: Get Statement PDF File by Account ID and Statement ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: StatementId
          in: path
          name: statementId
          required: true
          schema:
            description: StatementId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/pdf:
              schema:
                format: binary
                type: string
          description: Statements Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/pdf:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/pdf:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/pdf:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Statements
      tags:
        - Statements
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/file");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/pdf");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/file");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/pdf");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/file"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/pdf")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/file")
              .get()
              .addHeader("content-type", "application/pdf")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/file',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/pdf' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/file",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/pdf",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/pdf",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/file", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/file")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/pdf'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/file \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/pdf' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}/statements/{statementId}/transactions":
    get:
      description: Get Transactions by Account ID and Statement ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: StatementId
          in: path
          name: statementId
          required: true
          schema:
            description: StatementId
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadTransaction6"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadTransaction6"
          description: Transactions Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Transactions
      tags:
        - Transactions
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/transactions");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/transactions");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/transactions"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/transactions")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/transactions',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/transactions",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/transactions", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/transactions")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/statements/%7BstatementId%7D/transactions \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  "/accounts/{accountId}/transactions":
    get:
      description: Get Transactions by Account ID
      parameters:
        - description: AccountId
          in: path
          name: accountId
          required: true
          schema:
            description: AccountId
            nullable: true
            type: string
        - description: The UTC ISO 8601 Date Time to filter transactions FROM NB Time
            component is optional - set to 00:00:00 for just Date. If the Date
            Time contains a timezone, the ASPSP must ignore the timezone
            component.
          in: query
          name: fromBookingDateTime
          schema:
            description: The UTC ISO 8601 Date Time to filter transactions FROM NB Time
              component is optional - set to 00:00:00 for just Date. If the Date
              Time contains a timezone, the ASPSP must ignore the timezone
              component.
            format: date-time
            nullable: true
            type: string
        - description: The UTC ISO 8601 Date Time to filter transactions TO NB Time
            component is optional - set to 00:00:00 for just Date. If the Date
            Time contains a timezone, the ASPSP must ignore the timezone
            component.
          in: query
          name: toBookingDateTime
          schema:
            description: The UTC ISO 8601 Date Time to filter transactions TO NB Time
              component is optional - set to 00:00:00 for just Date. If the Date
              Time contains a timezone, the ASPSP must ignore the timezone
              component.
            format: date-time
            nullable: true
            type: string
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadTransaction6"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadTransaction6"
          description: Transactions Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Transactions
      tags:
        - Transactions
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/transactions?fromBookingDateTime=SOME_STRING_VALUE&amp;toBookingDateTime=SOME_STRING_VALUE");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/transactions?fromBookingDateTime=SOME_STRING_VALUE&amp;toBookingDateTime=SOME_STRING_VALUE");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/transactions?fromBookingDateTime=SOME_STRING_VALUE&amp;toBookingDateTime=SOME_STRING_VALUE"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/transactions?fromBookingDateTime=SOME_STRING_VALUE&amp;toBookingDateTime=SOME_STRING_VALUE")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/transactions',
              qs:
               { fromBookingDateTime: 'SOME_STRING_VALUE',
                 toBookingDateTime: 'SOME_STRING_VALUE' },
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/transactions?fromBookingDateTime=SOME_STRING_VALUE&amp;toBookingDateTime=SOME_STRING_VALUE",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/transactions?fromBookingDateTime=SOME_STRING_VALUE&amp;toBookingDateTime=SOME_STRING_VALUE", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/transactions?fromBookingDateTime=SOME_STRING_VALUE&amp;toBookingDateTime=SOME_STRING_VALUE")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url 'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/accounts/%7BaccountId%7D/transactions?fromBookingDateTime=SOME_STRING_VALUE&amp;toBookingDateTime=SOME_STRING_VALUE' \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  /party:
    get:
      description: Get Party
      parameters:
        - description: "The time when the PSU last logged in with the TPP.\r

            All dates in the HTTP headers are represented as RFC
            7231 Full Dates. An example is below:\r

            Sun, 10 Sep 2017 19:43:31 UTC"
          in: header
          name: x-fapi-auth-date
          schema:
            type: string
        - description: The PSU's IP address if the PSU is currently logged in with the TPP.
          in: header
          name: x-fapi-customer-ip-address
          schema:
            type: string
        - description: An RFC4122 UID used as a correlation id.
          in: header
          name: x-fapi-interaction-id
          schema:
            type: string
        - description: Indicates the user-agent that the PSU is using.
          in: header
          name: x-customer-user-agent
          schema:
            type: string
        - description: The unique id of the sandbox to be used
          in: header
          name: sandbox-id
          required: true
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBReadParty2"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBReadParty2"
          description: Party Read
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/OBErrorResponse1"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Get Party
      tags:
        - Parties
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/party");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "sandbox-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-customer-user-agent: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-interaction-id: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-customer-ip-address: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "x-fapi-auth-date: SOME_STRING_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/party");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("sandbox-id", "SOME_STRING_VALUE");

            request.AddHeader("x-customer-user-agent", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-interaction-id", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE");

            request.AddHeader("x-fapi-auth-date", "SOME_STRING_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/party"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("x-fapi-auth-date", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
            	req.Header.Add("x-fapi-interaction-id", "SOME_STRING_VALUE")
            	req.Header.Add("x-customer-user-agent", "SOME_STRING_VALUE")
            	req.Header.Add("sandbox-id", "SOME_STRING_VALUE")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/party")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("x-fapi-auth-date", "SOME_STRING_VALUE")
              .addHeader("x-fapi-customer-ip-address", "SOME_STRING_VALUE")
              .addHeader("x-fapi-interaction-id", "SOME_STRING_VALUE")
              .addHeader("x-customer-user-agent", "SOME_STRING_VALUE")
              .addHeader("sandbox-id", "SOME_STRING_VALUE")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/party',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'sandbox-id': 'SOME_STRING_VALUE',
                 'x-customer-user-agent': 'SOME_STRING_VALUE',
                 'x-fapi-interaction-id': 'SOME_STRING_VALUE',
                 'x-fapi-customer-ip-address': 'SOME_STRING_VALUE',
                 'x-fapi-auth-date': 'SOME_STRING_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/party",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json",
                "sandbox-id: SOME_STRING_VALUE",
                "x-customer-user-agent: SOME_STRING_VALUE",
                "x-fapi-auth-date: SOME_STRING_VALUE",
                "x-fapi-customer-ip-address: SOME_STRING_VALUE",
                "x-fapi-interaction-id: SOME_STRING_VALUE"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'x-fapi-auth-date': "SOME_STRING_VALUE",
                'x-fapi-customer-ip-address': "SOME_STRING_VALUE",
                'x-fapi-interaction-id': "SOME_STRING_VALUE",
                'x-customer-user-agent': "SOME_STRING_VALUE",
                'sandbox-id': "SOME_STRING_VALUE",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/party", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/party")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["x-fapi-auth-date"] = 'SOME_STRING_VALUE'

            request["x-fapi-customer-ip-address"] = 'SOME_STRING_VALUE'

            request["x-fapi-interaction-id"] = 'SOME_STRING_VALUE'

            request["x-customer-user-agent"] = 'SOME_STRING_VALUE'

            request["sandbox-id"] = 'SOME_STRING_VALUE'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/party \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --header 'sandbox-id: SOME_STRING_VALUE' \
              --header 'x-customer-user-agent: SOME_STRING_VALUE' \
              --header 'x-fapi-auth-date: SOME_STRING_VALUE' \
              --header 'x-fapi-customer-ip-address: SOME_STRING_VALUE' \
              --header 'x-fapi-interaction-id: SOME_STRING_VALUE'
  /sandbox:
    post:
      description: Create Sandbox
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/SandboxRequest"
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/SandboxRequest"
        description: SandboxRequest
      responses:
        "201":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Sandbox"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/Sandbox"
          description: Created
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Create Sandbox
      tags:
        - Sandbox
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "POST");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            headers = curl_slist_append(headers, "accept: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\"}");


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox");

            var request = new RestRequest(Method.POST);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("content-type", "application/json");

            request.AddHeader("accept", "application/json");

            request.AddParameter("application/json", "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\"}", ParameterType.RequestBody);

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"strings"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox"

            	payload := strings.NewReader("{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\"}")

            	req, _ := http.NewRequest("POST", url, payload)

            	req.Header.Add("accept", "application/json")
            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            MediaType mediaType = MediaType.parse("application/json");

            RequestBody body = RequestBody.create(mediaType, "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\"}");

            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox")
              .post(body)
              .addHeader("accept", "application/json")
              .addHeader("content-type", "application/json")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'POST',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'content-type': 'application/json',
                 accept: 'application/json' },
              body: { sandboxId: '&lt;ADD STRING VALUE&gt;' },
              json: true };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "POST",
              CURLOPT_POSTFIELDS =&gt; "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\"}",
              CURLOPT_HTTPHEADER =&gt; array(
                "accept: application/json",
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            payload = "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\"}"


            headers = {
                'accept': "application/json",
                'content-type': "application/json",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("POST", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox", payload, headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Post.new(url)

            request["accept"] = 'application/json'

            request["content-type"] = 'application/json'

            request["client-id"] = 'SOME_APIKEY_VALUE'

            request.body = "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\"}"


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request POST \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox \
              --header 'accept: application/json' \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --data '{"sandboxId":"&lt;ADD STRING VALUE&gt;"}'
    put:
      description: Import Sandbox
      requestBody:
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/Sandbox"
          application/json; charset=utf-8:
            schema:
              $ref: "#/components/schemas/Sandbox"
        description: Sandbox
      responses:
        "204":
          description: No Content
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "415":
          description: Unsupported Media Type
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Import Sandbox
      tags:
        - Sandbox
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "PUT");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            headers = curl_slist_append(headers, "accept: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\",\"users\":[{\"userId\":\"&lt;ADD STRING VALUE&gt;\",\"retryCacheEntries\":[{\"cacheKey\":\"&lt;ADD STRING VALUE&gt;\",\"count\":0,\"expirationTimestamp\":\"&lt;ADD STRING VALUE&gt;\"}],\"accounts\":[{\"info\":{\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"iban\":\"&lt;ADD STRING VALUE&gt;\",\"accountType\":\"&lt;ADD STRING VALUE&gt;\",\"accountSubType\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"alias\":\"&lt;ADD STRING VALUE&gt;\",\"openingDate\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"overdraftLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"beneficiaries\":[{\"name\":\"&lt;ADD STRING VALUE&gt;\"}],\"standingOrders\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"frequency\":\"&lt;ADD STRING VALUE&gt;\",\"firstPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"nextPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"finalPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"lastPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"status\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0}],\"scheduledPayments\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"executionDate\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"senderReference\":\"&lt;ADD STRING VALUE&gt;\"}],\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}],\"cards\":[{\"info\":{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"holderName\":\"&lt;ADD STRING VALUE&gt;\",\"expiration\":\"&lt;ADD STRING VALUE&gt;\",\"type\":\"&lt;ADD STRING VALUE&gt;\",\"subType\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"creditLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}]}]}");


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox");

            var request = new RestRequest(Method.PUT);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("content-type", "application/json");

            request.AddHeader("accept", "application/json");

            request.AddParameter("application/json", "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\",\"users\":[{\"userId\":\"&lt;ADD STRING VALUE&gt;\",\"retryCacheEntries\":[{\"cacheKey\":\"&lt;ADD STRING VALUE&gt;\",\"count\":0,\"expirationTimestamp\":\"&lt;ADD STRING VALUE&gt;\"}],\"accounts\":[{\"info\":{\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"iban\":\"&lt;ADD STRING VALUE&gt;\",\"accountType\":\"&lt;ADD STRING VALUE&gt;\",\"accountSubType\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"alias\":\"&lt;ADD STRING VALUE&gt;\",\"openingDate\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"overdraftLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"beneficiaries\":[{\"name\":\"&lt;ADD STRING VALUE&gt;\"}],\"standingOrders\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"frequency\":\"&lt;ADD STRING VALUE&gt;\",\"firstPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"nextPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"finalPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"lastPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"status\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0}],\"scheduledPayments\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"executionDate\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"senderReference\":\"&lt;ADD STRING VALUE&gt;\"}],\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}],\"cards\":[{\"info\":{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"holderName\":\"&lt;ADD STRING VALUE&gt;\",\"expiration\":\"&lt;ADD STRING VALUE&gt;\",\"type\":\"&lt;ADD STRING VALUE&gt;\",\"subType\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"creditLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}]}]}", ParameterType.RequestBody);

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"strings"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox"

            	payload := strings.NewReader("{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\",\"users\":[{\"userId\":\"&lt;ADD STRING VALUE&gt;\",\"retryCacheEntries\":[{\"cacheKey\":\"&lt;ADD STRING VALUE&gt;\",\"count\":0,\"expirationTimestamp\":\"&lt;ADD STRING VALUE&gt;\"}],\"accounts\":[{\"info\":{\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"iban\":\"&lt;ADD STRING VALUE&gt;\",\"accountType\":\"&lt;ADD STRING VALUE&gt;\",\"accountSubType\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"alias\":\"&lt;ADD STRING VALUE&gt;\",\"openingDate\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"overdraftLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"beneficiaries\":[{\"name\":\"&lt;ADD STRING VALUE&gt;\"}],\"standingOrders\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"frequency\":\"&lt;ADD STRING VALUE&gt;\",\"firstPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"nextPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"finalPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"lastPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"status\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0}],\"scheduledPayments\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"executionDate\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"senderReference\":\"&lt;ADD STRING VALUE&gt;\"}],\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}],\"cards\":[{\"info\":{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"holderName\":\"&lt;ADD STRING VALUE&gt;\",\"expiration\":\"&lt;ADD STRING VALUE&gt;\",\"type\":\"&lt;ADD STRING VALUE&gt;\",\"subType\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"creditLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}]}]}")

            	req, _ := http.NewRequest("PUT", url, payload)

            	req.Header.Add("accept", "application/json")
            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            MediaType mediaType = MediaType.parse("application/json");

            RequestBody body = RequestBody.create(mediaType, "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\",\"users\":[{\"userId\":\"&lt;ADD STRING VALUE&gt;\",\"retryCacheEntries\":[{\"cacheKey\":\"&lt;ADD STRING VALUE&gt;\",\"count\":0,\"expirationTimestamp\":\"&lt;ADD STRING VALUE&gt;\"}],\"accounts\":[{\"info\":{\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"iban\":\"&lt;ADD STRING VALUE&gt;\",\"accountType\":\"&lt;ADD STRING VALUE&gt;\",\"accountSubType\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"alias\":\"&lt;ADD STRING VALUE&gt;\",\"openingDate\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"overdraftLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"beneficiaries\":[{\"name\":\"&lt;ADD STRING VALUE&gt;\"}],\"standingOrders\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"frequency\":\"&lt;ADD STRING VALUE&gt;\",\"firstPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"nextPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"finalPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"lastPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"status\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0}],\"scheduledPayments\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"executionDate\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"senderReference\":\"&lt;ADD STRING VALUE&gt;\"}],\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}],\"cards\":[{\"info\":{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"holderName\":\"&lt;ADD STRING VALUE&gt;\",\"expiration\":\"&lt;ADD STRING VALUE&gt;\",\"type\":\"&lt;ADD STRING VALUE&gt;\",\"subType\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"creditLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}]}]}");

            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox")
              .put(body)
              .addHeader("accept", "application/json")
              .addHeader("content-type", "application/json")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'PUT',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'content-type': 'application/json',
                 accept: 'application/json' },
              body:
               { sandboxId: '&lt;ADD STRING VALUE&gt;',
                 users:
                  [ { userId: '&lt;ADD STRING VALUE&gt;',
                      retryCacheEntries:
                       [ { cacheKey: '&lt;ADD STRING VALUE&gt;',
                           count: 0,
                           expirationTimestamp: '&lt;ADD STRING VALUE&gt;' } ],
                      accounts:
                       [ { info:
                            { currency: '&lt;ADD STRING VALUE&gt;',
                              iban: '&lt;ADD STRING VALUE&gt;',
                              accountType: '&lt;ADD STRING VALUE&gt;',
                              accountSubType: '&lt;ADD STRING VALUE&gt;',
                              description: '&lt;ADD STRING VALUE&gt;',
                              alias: '&lt;ADD STRING VALUE&gt;',
                              openingDate: '&lt;ADD STRING VALUE&gt;',
                              availableBalance: 0,
                              ledgerBalance: 0,
                              overdraftLimit: 0 },
                           party: { id: '&lt;ADD STRING VALUE&gt;', name: '&lt;ADD STRING VALUE&gt;' },
                           beneficiaries: [ { name: '&lt;ADD STRING VALUE&gt;' } ],
                           standingOrders:
                            [ { description: '&lt;ADD STRING VALUE&gt;',
                                frequency: '&lt;ADD STRING VALUE&gt;',
                                firstPaymentDate: '&lt;ADD STRING VALUE&gt;',
                                nextPaymentDate: '&lt;ADD STRING VALUE&gt;',
                                finalPaymentDate: '&lt;ADD STRING VALUE&gt;',
                                lastPaymentDate: '&lt;ADD STRING VALUE&gt;',
                                status: '&lt;ADD STRING VALUE&gt;',
                                amount: 0 } ],
                           scheduledPayments:
                            [ { description: '&lt;ADD STRING VALUE&gt;',
                                executionDate: '&lt;ADD STRING VALUE&gt;',
                                amount: 0,
                                senderReference: '&lt;ADD STRING VALUE&gt;' } ],
                           statements: [ { number: '&lt;ADD STRING VALUE&gt;', year: 0, month: 0 } ],
                           transactions:
                            [ { reference: '&lt;ADD STRING VALUE&gt;',
                                amount: 0,
                                currency: '&lt;ADD STRING VALUE&gt;',
                                creditDebit: '&lt;ADD STRING VALUE&gt;',
                                valueDateTime: '&lt;ADD STRING VALUE&gt;',
                                bookingDateTime: '&lt;ADD STRING VALUE&gt;',
                                description: '&lt;ADD STRING VALUE&gt;',
                                accountingBalance: 0,
                                relatedAccount: '&lt;ADD STRING VALUE&gt;',
                                relatedName: '&lt;ADD STRING VALUE&gt;',
                                transactionCode: '&lt;ADD STRING VALUE&gt;' } ] } ],
                      cards:
                       [ { info:
                            { number: '&lt;ADD STRING VALUE&gt;',
                              description: '&lt;ADD STRING VALUE&gt;',
                              holderName: '&lt;ADD STRING VALUE&gt;',
                              expiration: '&lt;ADD STRING VALUE&gt;',
                              type: '&lt;ADD STRING VALUE&gt;',
                              subType: '&lt;ADD STRING VALUE&gt;',
                              availableBalance: 0,
                              ledgerBalance: 0,
                              creditLimit: 0 },
                           party: { id: '&lt;ADD STRING VALUE&gt;', name: '&lt;ADD STRING VALUE&gt;' },
                           statements: [ { number: '&lt;ADD STRING VALUE&gt;', year: 0, month: 0 } ],
                           transactions:
                            [ { reference: '&lt;ADD STRING VALUE&gt;',
                                amount: 0,
                                currency: '&lt;ADD STRING VALUE&gt;',
                                creditDebit: '&lt;ADD STRING VALUE&gt;',
                                valueDateTime: '&lt;ADD STRING VALUE&gt;',
                                bookingDateTime: '&lt;ADD STRING VALUE&gt;',
                                description: '&lt;ADD STRING VALUE&gt;',
                                accountingBalance: 0,
                                relatedAccount: '&lt;ADD STRING VALUE&gt;',
                                relatedName: '&lt;ADD STRING VALUE&gt;',
                                transactionCode: '&lt;ADD STRING VALUE&gt;' } ] } ] } ] },
              json: true };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "PUT",
              CURLOPT_POSTFIELDS =&gt; "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\",\"users\":[{\"userId\":\"&lt;ADD STRING VALUE&gt;\",\"retryCacheEntries\":[{\"cacheKey\":\"&lt;ADD STRING VALUE&gt;\",\"count\":0,\"expirationTimestamp\":\"&lt;ADD STRING VALUE&gt;\"}],\"accounts\":[{\"info\":{\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"iban\":\"&lt;ADD STRING VALUE&gt;\",\"accountType\":\"&lt;ADD STRING VALUE&gt;\",\"accountSubType\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"alias\":\"&lt;ADD STRING VALUE&gt;\",\"openingDate\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"overdraftLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"beneficiaries\":[{\"name\":\"&lt;ADD STRING VALUE&gt;\"}],\"standingOrders\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"frequency\":\"&lt;ADD STRING VALUE&gt;\",\"firstPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"nextPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"finalPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"lastPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"status\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0}],\"scheduledPayments\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"executionDate\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"senderReference\":\"&lt;ADD STRING VALUE&gt;\"}],\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}],\"cards\":[{\"info\":{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"holderName\":\"&lt;ADD STRING VALUE&gt;\",\"expiration\":\"&lt;ADD STRING VALUE&gt;\",\"type\":\"&lt;ADD STRING VALUE&gt;\",\"subType\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"creditLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}]}]}",
              CURLOPT_HTTPHEADER =&gt; array(
                "accept: application/json",
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            payload = "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\",\"users\":[{\"userId\":\"&lt;ADD STRING VALUE&gt;\",\"retryCacheEntries\":[{\"cacheKey\":\"&lt;ADD STRING VALUE&gt;\",\"count\":0,\"expirationTimestamp\":\"&lt;ADD STRING VALUE&gt;\"}],\"accounts\":[{\"info\":{\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"iban\":\"&lt;ADD STRING VALUE&gt;\",\"accountType\":\"&lt;ADD STRING VALUE&gt;\",\"accountSubType\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"alias\":\"&lt;ADD STRING VALUE&gt;\",\"openingDate\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"overdraftLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"beneficiaries\":[{\"name\":\"&lt;ADD STRING VALUE&gt;\"}],\"standingOrders\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"frequency\":\"&lt;ADD STRING VALUE&gt;\",\"firstPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"nextPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"finalPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"lastPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"status\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0}],\"scheduledPayments\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"executionDate\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"senderReference\":\"&lt;ADD STRING VALUE&gt;\"}],\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}],\"cards\":[{\"info\":{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"holderName\":\"&lt;ADD STRING VALUE&gt;\",\"expiration\":\"&lt;ADD STRING VALUE&gt;\",\"type\":\"&lt;ADD STRING VALUE&gt;\",\"subType\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"creditLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}]}]}"


            headers = {
                'accept': "application/json",
                'content-type': "application/json",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("PUT", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox", payload, headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Put.new(url)

            request["accept"] = 'application/json'

            request["content-type"] = 'application/json'

            request["client-id"] = 'SOME_APIKEY_VALUE'

            request.body = "{\"sandboxId\":\"&lt;ADD STRING VALUE&gt;\",\"users\":[{\"userId\":\"&lt;ADD STRING VALUE&gt;\",\"retryCacheEntries\":[{\"cacheKey\":\"&lt;ADD STRING VALUE&gt;\",\"count\":0,\"expirationTimestamp\":\"&lt;ADD STRING VALUE&gt;\"}],\"accounts\":[{\"info\":{\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"iban\":\"&lt;ADD STRING VALUE&gt;\",\"accountType\":\"&lt;ADD STRING VALUE&gt;\",\"accountSubType\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"alias\":\"&lt;ADD STRING VALUE&gt;\",\"openingDate\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"overdraftLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"beneficiaries\":[{\"name\":\"&lt;ADD STRING VALUE&gt;\"}],\"standingOrders\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"frequency\":\"&lt;ADD STRING VALUE&gt;\",\"firstPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"nextPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"finalPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"lastPaymentDate\":\"&lt;ADD STRING VALUE&gt;\",\"status\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0}],\"scheduledPayments\":[{\"description\":\"&lt;ADD STRING VALUE&gt;\",\"executionDate\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"senderReference\":\"&lt;ADD STRING VALUE&gt;\"}],\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}],\"cards\":[{\"info\":{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"holderName\":\"&lt;ADD STRING VALUE&gt;\",\"expiration\":\"&lt;ADD STRING VALUE&gt;\",\"type\":\"&lt;ADD STRING VALUE&gt;\",\"subType\":\"&lt;ADD STRING VALUE&gt;\",\"availableBalance\":0,\"ledgerBalance\":0,\"creditLimit\":0},\"party\":{\"id\":\"&lt;ADD STRING VALUE&gt;\",\"name\":\"&lt;ADD STRING VALUE&gt;\"},\"statements\":[{\"number\":\"&lt;ADD STRING VALUE&gt;\",\"year\":0,\"month\":0}],\"transactions\":[{\"reference\":\"&lt;ADD STRING VALUE&gt;\",\"amount\":0,\"currency\":\"&lt;ADD STRING VALUE&gt;\",\"creditDebit\":\"&lt;ADD STRING VALUE&gt;\",\"valueDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"bookingDateTime\":\"&lt;ADD STRING VALUE&gt;\",\"description\":\"&lt;ADD STRING VALUE&gt;\",\"accountingBalance\":0,\"relatedAccount\":\"&lt;ADD STRING VALUE&gt;\",\"relatedName\":\"&lt;ADD STRING VALUE&gt;\",\"transactionCode\":\"&lt;ADD STRING VALUE&gt;\"}]}]}]}"


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request PUT \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox \
              --header 'accept: application/json' \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json' \
              --data '{"sandboxId":"&lt;ADD STRING VALUE&gt;","users":[{"userId":"&lt;ADD STRING VALUE&gt;","retryCacheEntries":[{"cacheKey":"&lt;ADD STRING VALUE&gt;","count":0,"expirationTimestamp":"&lt;ADD STRING VALUE&gt;"}],"accounts":[{"info":{"currency":"&lt;ADD STRING VALUE&gt;","iban":"&lt;ADD STRING VALUE&gt;","accountType":"&lt;ADD STRING VALUE&gt;","accountSubType":"&lt;ADD STRING VALUE&gt;","description":"&lt;ADD STRING VALUE&gt;","alias":"&lt;ADD STRING VALUE&gt;","openingDate":"&lt;ADD STRING VALUE&gt;","availableBalance":0,"ledgerBalance":0,"overdraftLimit":0},"party":{"id":"&lt;ADD STRING VALUE&gt;","name":"&lt;ADD STRING VALUE&gt;"},"beneficiaries":[{"name":"&lt;ADD STRING VALUE&gt;"}],"standingOrders":[{"description":"&lt;ADD STRING VALUE&gt;","frequency":"&lt;ADD STRING VALUE&gt;","firstPaymentDate":"&lt;ADD STRING VALUE&gt;","nextPaymentDate":"&lt;ADD STRING VALUE&gt;","finalPaymentDate":"&lt;ADD STRING VALUE&gt;","lastPaymentDate":"&lt;ADD STRING VALUE&gt;","status":"&lt;ADD STRING VALUE&gt;","amount":0}],"scheduledPayments":[{"description":"&lt;ADD STRING VALUE&gt;","executionDate":"&lt;ADD STRING VALUE&gt;","amount":0,"senderReference":"&lt;ADD STRING VALUE&gt;"}],"statements":[{"number":"&lt;ADD STRING VALUE&gt;","year":0,"month":0}],"transactions":[{"reference":"&lt;ADD STRING VALUE&gt;","amount":0,"currency":"&lt;ADD STRING VALUE&gt;","creditDebit":"&lt;ADD STRING VALUE&gt;","valueDateTime":"&lt;ADD STRING VALUE&gt;","bookingDateTime":"&lt;ADD STRING VALUE&gt;","description":"&lt;ADD STRING VALUE&gt;","accountingBalance":0,"relatedAccount":"&lt;ADD STRING VALUE&gt;","relatedName":"&lt;ADD STRING VALUE&gt;","transactionCode":"&lt;ADD STRING VALUE&gt;"}]}],"cards":[{"info":{"number":"&lt;ADD STRING VALUE&gt;","description":"&lt;ADD STRING VALUE&gt;","holderName":"&lt;ADD STRING VALUE&gt;","expiration":"&lt;ADD STRING VALUE&gt;","type":"&lt;ADD STRING VALUE&gt;","subType":"&lt;ADD STRING VALUE&gt;","availableBalance":0,"ledgerBalance":0,"creditLimit":0},"party":{"id":"&lt;ADD STRING VALUE&gt;","name":"&lt;ADD STRING VALUE&gt;"},"statements":[{"number":"&lt;ADD STRING VALUE&gt;","year":0,"month":0}],"transactions":[{"reference":"&lt;ADD STRING VALUE&gt;","amount":0,"currency":"&lt;ADD STRING VALUE&gt;","creditDebit":"&lt;ADD STRING VALUE&gt;","valueDateTime":"&lt;ADD STRING VALUE&gt;","bookingDateTime":"&lt;ADD STRING VALUE&gt;","description":"&lt;ADD STRING VALUE&gt;","accountingBalance":0,"relatedAccount":"&lt;ADD STRING VALUE&gt;","relatedName":"&lt;ADD STRING VALUE&gt;","transactionCode":"&lt;ADD STRING VALUE&gt;"}]}]}]}'
  "/sandbox/{sandboxId}":
    delete:
      description: Delete Sandbox
      parameters:
        - description: Sandbox Id
          in: path
          name: sandboxId
          required: true
          schema:
            description: Sandbox Id
            nullable: true
            type: string
      responses:
        "204":
          description: No Content
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Delete Sandbox
      tags:
        - Sandbox
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "DELETE");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D");

            var request = new RestRequest(Method.DELETE);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D"

            	req, _ := http.NewRequest("DELETE", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D")
              .delete(null)
              .addHeader("content-type", "application/json")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'DELETE',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "DELETE",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("DELETE", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Delete.new(url)

            request["content-type"] = 'application/json'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request DELETE \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json'
    get:
      description: Export Sandbox
      parameters:
        - description: Sandbox Id
          in: path
          name: sandboxId
          required: true
          schema:
            description: Sandbox Id
            nullable: true
            type: string
      responses:
        "200":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Sandbox"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/Sandbox"
          description: OK
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Bad request
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "401":
          description: Unauthorized
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "403":
          description: Forbidden
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "404":
          description: Not Found
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "405":
          description: Method Not Allowed
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "406":
          description: Not Acceptable
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
        "500":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
            application/json; charset=utf-8:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: Internal Server Error
          headers:
            x-fapi-interaction-id:
              description: An RFC4122 UID used as a correlation id
              schema:
                description: An RFC4122 UID used as a correlation id
                format: ""
                type: string
      security:
        - Authorization-Code-Token:
            - sandbox-uk-account-info-api-v1 offline_access
            - accounts offline_access
          Client-Id: []
      summary: Export Sandbox
      tags:
        - Sandbox
      x-code-samples:
        - lang: C
          source: >-
            CURL *hnd = curl_easy_init();


            curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");

            curl_easy_setopt(hnd, CURLOPT_URL, "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D");


            struct curl_slist *headers = NULL;

            headers = curl_slist_append(headers, "client-id: SOME_APIKEY_VALUE");

            headers = curl_slist_append(headers, "content-type: application/json");

            curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);


            CURLcode ret = curl_easy_perform(hnd);
        - lang: C#
          source: >-
            var client = new
            RestClient("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D");

            var request = new RestRequest(Method.GET);

            request.AddHeader("client-id", "SOME_APIKEY_VALUE");

            request.AddHeader("content-type", "application/json");

            IRestResponse response = client.Execute(request);
        - lang: Go
          source: >-
            package main


            import (
            	"fmt"
            	"net/http"
            	"io/ioutil"
            )


            func main() {

            	url := "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D"

            	req, _ := http.NewRequest("GET", url, nil)

            	req.Header.Add("content-type", "application/json")
            	req.Header.Add("client-id", "SOME_APIKEY_VALUE")

            	res, _ := http.DefaultClient.Do(req)

            	defer res.Body.Close()
            	body, _ := ioutil.ReadAll(res.Body)

            	fmt.Println(res)
            	fmt.Println(string(body))

            }
        - lang: Java
          source: >-
            OkHttpClient client = new OkHttpClient();


            Request request = new Request.Builder()
              .url("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D")
              .get()
              .addHeader("content-type", "application/json")
              .addHeader("client-id", "SOME_APIKEY_VALUE")
              .build();

            Response response = client.newCall(request).execute();
        - lang: Node
          source: >
            var request = require("request");


            var options = { method: 'GET',
              url:
               'https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D',
              headers:
               { 'client-id': 'SOME_APIKEY_VALUE',
                 'content-type': 'application/json' } };

            request(options, function (error, response, body) {
              if (error) throw new Error(error);

              console.log(body);
            });
        - lang: PHP
          source: >-
            &lt;?php


            $curl = curl_init();


            curl_setopt_array($curl, array(
              CURLOPT_URL =&gt; "https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D",
              CURLOPT_RETURNTRANSFER =&gt; true,
              CURLOPT_ENCODING =&gt; "",
              CURLOPT_MAXREDIRS =&gt; 10,
              CURLOPT_TIMEOUT =&gt; 30,
              CURLOPT_HTTP_VERSION =&gt; CURL_HTTP_VERSION_1_1,
              CURLOPT_CUSTOMREQUEST =&gt; "GET",
              CURLOPT_HTTPHEADER =&gt; array(
                "client-id: SOME_APIKEY_VALUE",
                "content-type: application/json"
              ),
            ));


            $response = curl_exec($curl);

            $err = curl_error($curl);


            curl_close($curl);


            if ($err) {
              echo "cURL Error #:" . $err;
            } else {
              echo $response;
            }
        - lang: Python
          source: >-
            import http.client


            conn = http.client.HTTPSConnection("apis.nbg.gr")


            headers = {
                'content-type': "application/json",
                'client-id': "SOME_APIKEY_VALUE"
                }

            conn.request("GET", "/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D", headers=headers)


            res = conn.getresponse()

            data = res.read()


            print(data.decode("utf-8"))
        - lang: Ruby
          source: >-
            require 'uri'

            require 'net/http'


            url = URI("https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D")


            http = Net::HTTP.new(url.host, url.port)

            http.use_ssl = true

            http.verify_mode = OpenSSL::SSL::VERIFY_NONE


            request = Net::HTTP::Get.new(url)

            request["content-type"] = 'application/json'

            request["client-id"] = 'SOME_APIKEY_VALUE'


            response = http.request(request)

            puts response.read_body
        - lang: cUrl
          source: >-
            curl --request GET \
              --url https://apis.nbg.gr/sandbox/uk.openbanking.accountinfo/oauth2/v3.1.5/sandbox/%7BsandboxId%7D \
              --header 'client-id: SOME_APIKEY_VALUE' \
              --header 'content-type: application/json'
components:
  schemas:
    ErrorCode:
      description: This is Data Type gives a low level textual error code to help
        categorise an error response. The applicable HTTP response code is also
        given.
      enum:
        - UK.OBIE.Field.Expected
        - UK.OBIE.Field.Invalid
        - UK.OBIE.Field.InvalidDate
        - UK.OBIE.Field.Missing
        - UK.OBIE.Field.Unexpected
        - UK.OBIE.Header.Invalid
        - UK.OBIE.Header.Missing
        - UK.OBIE.Resource.ConsentMismatch
        - UK.OBIE.Resource.InvalidConsentStatus
        - UK.OBIE.Resource.InvalidFormat
        - UK.OBIE.Resource.NotFound
        - UK.OBIE.Rules.AfterCutOffDateTime
        - UK.OBIE.Rules.DuplicateReference
        - UK.OBIE.Signature.Invalid
        - UK.OBIE.Signature.InvalidClaim
        - UK.OBIE.Signature.MissingClaim
        - UK.OBIE.Signature.Malformed
        - UK.OBIE.Signature.Missing
        - UK.OBIE.Signature.Unexpected
        - UK.OBIE.Unsupported.AccountIdentifier
        - UK.OBIE.Unsupported.AccountSecondaryIdentifier
        - UK.OBIE.Unsupported.Currency
        - UK.OBIE.Unsupported.EventType
        - UK.OBIE.Unsupported.Frequency
        - UK.OBIE.Unsupported.LocalInstrument
        - UK.OBIE.Unsupported.Scheme
        - UK.OBIE.Reauthenticate
        - UK.OBIE.Rules.ResourceAlreadyExists
        - UK.OBIE.UnexpectedError
      type: string
    ErrorResponse:
      additionalProperties: false
      properties:
        errorMessage:
          nullable: true
          type: string
      type: object
    Links:
      additionalProperties: false
      description: Links relevant to the payload
      properties:
        First:
          description: ""
          nullable: true
          type: string
        Last:
          description: ""
          nullable: true
          type: string
        Next:
          description: ""
          nullable: true
          type: string
        Prev:
          description: ""
          nullable: true
          type: string
        Self:
          description: ""
          type: string
      required:
        - Self
      type: object
    Meta:
      additionalProperties: false
      description: Meta Data relevant to the payload
      properties:
        FirstAvailableDateTime:
          description: "All dates in the JSON payloads are represented in ISO 8601
            date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          nullable: true
          type: string
        LastAvailableDateTime:
          description: "All dates in the JSON payloads are represented in ISO 8601
            date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          nullable: true
          type: string
        TotalPages:
          description: ""
          format: int32
          nullable: true
          type: integer
      type: object
    OBAccount6:
      additionalProperties: false
      description: Unambiguous identification of the account to which credit and debit
        entries are made.
      properties:
        Account:
          description: Provides the details to identify an account.
          items:
            $ref: "#/components/schemas/OBCashAccount5"
          nullable: true
          type: array
        AccountId:
          description: A unique and immutable identifier used to identify the account
            resource. This identifier has no meaning to the account owner.
          maxLength: 40
          minLength: 1
          type: string
        AccountSubType:
          $ref: "#/components/schemas/OBExternalAccountSubType1Code"
        AccountType:
          $ref: "#/components/schemas/OBExternalAccountType1Code"
        Currency:
          description: "Identification of the currency in which the account is
            held.  Usage: Currency should only be used in case one and the same
            account number covers several currencies and the initiating party
            needs to identify which currency needs to be used for settlement on
            the account."
          pattern: ^[A-Z]{3,3}$
          type: string
        Description:
          description: Specifies the description of the account type.
          maxLength: 35
          minLength: 1
          nullable: true
          type: string
        Nickname:
          description: The nickname of the account, assigned by the account owner in order
            to provide an additional means of identification of the account.
          maxLength: 70
          minLength: 1
          nullable: true
          type: string
        OpeningDate:
          description: "Date on which the account and related basic services are
            effectively operational for the account owner.All dates in the JSON
            payloads are represented in ISO 8601 date-time format.  All
            date-time fields in responses must include the timezone. An example
            is below: 2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
        Servicer:
          $ref: "#/components/schemas/OBBranchAndFinancialInstitutionIdentification5"
      required:
        - AccountId
        - AccountSubType
        - AccountType
        - Currency
      type: object
    OBActiveOrHistoricCurrencyAndAmount:
      additionalProperties: false
      description: ""
      properties:
        Amount:
          description: A number of monetary units specified in an active currency where
            the unit of currency is explicit and compliant with ISO 4217.
          pattern: ^\d{1,13}$|^\d{1,13}[\.,]\d{1,5}$
          type: string
        Currency:
          description: A code allocated to a currency by a Maintenance Agency under an
            international identification scheme, as described in the latest
            edition of the international standard ISO 4217 "Codes for the
            representation of currencies and funds".
          pattern: ^[A-Z]{3,3}$
          type: string
      required:
        - Amount
        - Currency
      type: object
    OBBalanceType1Code:
      description: ""
      enum:
        - ClosingAvailable
        - ClosingBooked
        - ClosingCleared
        - Expected
        - ForwardAvailable
        - Information
        - InterimAvailable
        - InterimBooked
        - InterimCleared
        - OpeningAvailable
        - OpeningBooked
        - OpeningCleared
        - PreviouslyClosedBooked
      type: string
    OBBeneficiary5:
      additionalProperties: false
      description: ""
      properties:
        AccountId:
          description: A unique and immutable identifier used to identify the account
            resource. This identifier has no meaning to the account owner.
          maxLength: 40
          minLength: 1
          nullable: true
          type: string
        BeneficiaryType:
          $ref: "#/components/schemas/OBBeneficiaryType1Code"
        CreditorAccount:
          $ref: "#/components/schemas/OBCashAccount5"
      type: object
    OBBeneficiaryType1Code:
      description: Specifies the Beneficiary Type.
      enum:
        - Trusted
        - Ordinary
      type: string
    OBBranchAndFinancialInstitutionIdentification5:
      additionalProperties: false
      description: ""
      properties:
        Identification:
          description: Unique and unambiguous identification of the servicing institution.
          maxLength: 35
          minLength: 1
          type: string
        SchemeName:
          description: Name of the identification scheme, in a coded form as published in
            an external list.
          example: '[ "UK.OBIE.BICFI" ]'
          type: string
      required:
        - Identification
        - SchemeName
      type: object
    OBCashAccount5:
      additionalProperties: false
      description: ""
      properties:
        Identification:
          description: Identification assigned by an institution to identify an account.
            This identification is known by the account owner.
          maxLength: 256
          minLength: 1
          type: string
        Name:
          description: "The account name is the name or names of the account owner(s)
            represented at an account level, as displayed by the ASPSP's online
            channels.\r

            Note, the account name is not the product name or the
            nickname of the account."
          maxLength: 70
          minLength: 1
          nullable: true
          type: string
        SchemeName:
          description: Name of the identification scheme, in a coded form as published in
            an external list.
          example: '[ "UK.OBIE.BBAN", "UK.OBIE.IBAN", "UK.OBIE.PAN", "UK.OBIE.Paym",
            "UK.OBIE.SortCodeAccountNumber" ]'
          type: string
        SecondaryIdentification:
          description: "This is secondary identification of the account, as assigned by
            the account servicing institution.\r

            This can be used by building societies to additionally
            identify accounts with a roll number(in addition to a sort code and
            account number combination)."
          maxLength: 34
          minLength: 1
          nullable: true
          type: string
      required:
        - Identification
        - SchemeName
      type: object
    OBCashAccount6:
      additionalProperties: false
      description: Unambiguous identification of the account of the creditor, in the
        case of a debit transaction.
      properties:
        Identification:
          description: Identification assigned by an institution to identify an account.
            This identification is known by the account owner.
          maxLength: 256
          minLength: 1
          nullable: true
          type: string
        Name:
          description: "The account name is the name or names of the account owner(s)
            represented at an account level, as displayed by the ASPSP's online
            channels.\r

            Note, the account name is not the product name or the
            nickname of the account."
          maxLength: 70
          minLength: 1
          nullable: true
          type: string
        SchemeName:
          description: Name of the identification scheme, in a coded form as published in
            an external list.
          example: '[ "UK.OBIE.BBAN", "UK.OBIE.IBAN", "UK.OBIE.PAN", "UK.OBIE.Paym",
            "UK.OBIE.SortCodeAccountNumber" ]'
          nullable: true
          type: string
      type: object
    OBCashBalance1:
      additionalProperties: false
      description: Set of elements used to define the balance details.
      properties:
        AccountId:
          description: A unique and immutable identifier used to identify the account
            resource. This identifier has no meaning to the account owner.
          maxLength: 40
          minLength: 1
          type: string
        Amount:
          $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
        CreditDebitIndicator:
          $ref: "#/components/schemas/OBCreditDebitCode"
        CreditLine:
          description: Set of elements used to provide details on the credit line.
          items:
            $ref: "#/components/schemas/OBCreditLine1"
          nullable: true
          type: array
        DateTime:
          description: "Indicates the date (and time) of the balance.All dates in the JSON
            payloads are represented in ISO 8601 date-time format.  All
            date-time fields in responses must include the timezone. An example
            is below: 2017-04-05T10:43:07+00:00"
          format: date-time
          type: string
        Type:
          $ref: "#/components/schemas/OBBalanceType1Code"
      required:
        - AccountId
        - Amount
        - CreditDebitIndicator
        - DateTime
        - Type
      type: object
    OBCreditDebitCode:
      description: ""
      enum:
        - Credit
        - Debit
      type: string
    OBCreditLine1:
      additionalProperties: false
      description: ""
      properties:
        Amount:
          $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
        Included:
          description: "Indicates whether or not the credit line is included in the
            balance of the account.\r

            Usage: If not present, credit line is not included in
            the balance amount of the account."
          type: boolean
        Type:
          $ref: "#/components/schemas/OBExternalLimitType1Code"
      required:
        - Included
      type: object
    OBEntryStatus1Code:
      description: ""
      enum:
        - Booked
        - Pending
      type: string
    OBError1:
      additionalProperties: false
      description: ""
      properties:
        ErrorCode:
          $ref: "#/components/schemas/ErrorCode"
        Message:
          description: A description of the error that occurred. e.g., 'A mandatory field
            isn't supplied' or 'RequestedExecutionDateTime must be in
            future'OBIE doesn't standardise this field
          maxLength: 500
          minLength: 1
          type: string
        Path:
          description: Recommended but optional reference to the JSON Path of the field
            with error, e.g., Data.Initiation.InstructedAmount.Currency
          maxLength: 500
          minLength: 1
          nullable: true
          type: string
      required:
        - ErrorCode
        - Message
      type: object
    OBErrorResponse1:
      additionalProperties: false
      description: An array of detail error codes, and messages, and URLs to
        documentation to help remediation.
      properties:
        Code:
          description: High level textual error code, to help categorize the errors.
          maxLength: 40
          minLength: 1
          type: string
        Errors:
          description: Gets or Sets Errors
          items:
            $ref: "#/components/schemas/OBError1"
          type: array
        Id:
          description: A unique reference for the error instance, for audit purposes, in
            case of unknown/unclassified errors.
          maxLength: 40
          minLength: 1
          nullable: true
          type: string
        Message:
          description: Brief Error message, e.g., 'There is something wrong with the
            request parameters provided'
          maxLength: 500
          minLength: 1
          type: string
      required:
        - Code
        - Errors
        - Message
      type: object
    OBExternalAccountSubType1Code:
      description: ""
      enum:
        - ChargeCard
        - CreditCard
        - CurrentAccount
        - EMoney
        - Loan
        - Mortgage
        - PrePaidCard
        - Savings
      type: string
    OBExternalAccountType1Code:
      description: ""
      enum:
        - Business
        - Personal
      type: string
    OBExternalLimitType1Code:
      description: ""
      enum:
        - Available
        - Credit
        - Emergency
        - Pre-Agreed
        - Temporary
      type: string
    OBExternalPermissions1Code:
      description: Specifies the Open Banking account access data types. This is a
        list of the data clusters being consented by the PSU, and requested for
        authorisation with the ASPSP.
      enum:
        - ReadAccountsBasic
        - ReadAccountsDetail
        - ReadBalances
        - ReadBeneficiariesBasic
        - ReadBeneficiariesDetail
        - ReadDirectDebits
        - ReadOffers
        - ReadPAN
        - ReadParty
        - ReadPartyPSU
        - ReadProducts
        - ReadScheduledPaymentsBasic
        - ReadScheduledPaymentsDetail
        - ReadStandingOrdersBasic
        - ReadStandingOrdersDetail
        - ReadStatementsBasic
        - ReadStatementsDetail
        - ReadTransactionsBasic
        - ReadTransactionsCredits
        - ReadTransactionsDebits
        - ReadTransactionsDetail
      type: string
    OBExternalRequestStatus1Code:
      description: Specifies the status of consent resource in code form.
      enum:
        - Authorised
        - AwaitingAuthorisation
        - Rejected
        - Revoked
      type: string
    OBExternalScheduleType1Code:
      description: ""
      enum:
        - Arrival
        - Execution
      type: string
    OBExternalStandingOrderStatus1Code:
      description: ""
      enum:
        - Active
        - Inactive
      type: string
    OBExternalStatementType1Code:
      description: ""
      enum:
        - AccountClosure
        - AccountOpening
        - Annual
        - Interim
        - RegularPeriodic
      type: string
    OBParty2:
      additionalProperties: false
      description: ""
      properties:
        Name:
          description: Name by which a party is known and which is usually used to
            identify that party.
          maxLength: 70
          minLength: 1
          nullable: true
          type: string
        PartyId:
          description: A unique and immutable identifier used to identify the customer
            resource. This identifier has no meaning to the account owner.
          maxLength: 40
          minLength: 1
          type: string
      required:
        - PartyId
      type: object
    OBReadAccount5:
      additionalProperties: false
      description: ""
      properties:
        Data:
          $ref: "#/components/schemas/OBReadDataAccount5"
        Links:
          $ref: "#/components/schemas/Links"
        Meta:
          $ref: "#/components/schemas/Meta"
      required:
        - Data
      type: object
    OBReadBalance1:
      additionalProperties: false
      description: ""
      properties:
        Data:
          $ref: "#/components/schemas/OBReadDataBalance1"
        Links:
          $ref: "#/components/schemas/Links"
        Meta:
          $ref: "#/components/schemas/Meta"
      required:
        - Data
        - Links
        - Meta
      type: object
    OBReadBeneficiary5:
      additionalProperties: false
      description: ""
      properties:
        Data:
          $ref: "#/components/schemas/OBReadDataBeneficiary5"
        Links:
          $ref: "#/components/schemas/Links"
        Meta:
          $ref: "#/components/schemas/Meta"
      required:
        - Data
      type: object
    OBReadConsent1:
      additionalProperties: false
      description: ""
      properties:
        Data:
          $ref: "#/components/schemas/OBReadData1"
        Risk:
          $ref: "#/components/schemas/OBRisk2"
      required:
        - Data
        - Risk
      type: object
    OBReadConsentResponse1:
      additionalProperties: false
      description: ""
      properties:
        Data:
          $ref: "#/components/schemas/OBReadDataConsentResponse1"
        Links:
          $ref: "#/components/schemas/Links"
        Meta:
          $ref: "#/components/schemas/Meta"
        Risk:
          $ref: "#/components/schemas/OBRisk2"
      required:
        - Data
        - Links
        - Meta
        - Risk
      type: object
    OBReadData1:
      additionalProperties: false
      description: ""
      properties:
        ExpirationDateTime:
          description: "Specified date and time the permissions will expire. If this is
            not populated, the permissions will be open ended. All dates in the
            JSON payloads are represented in ISO 8601 date-time format.  All
            date-time fields in responses must include the timezone. An example
            is below: 2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
        Permissions:
          description: Specifies the Open Banking account access data types. This is a
            list of the data clusters being consented by the PSU, and requested
            for authorisation with the ASPSP.
          items:
            $ref: "#/components/schemas/OBExternalPermissions1Code"
          type: array
        TransactionFromDateTime:
          description: "Specified start date and time for the transaction query period. If
            this is not populated, the start date will be open ended, and data
            will be returned from the earliest available transaction. All dates
            in the JSON payloads are represented in ISO 8601 date-time
            format.  All date-time fields in responses must include the
            timezone. An example is below: 2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
        TransactionToDateTime:
          description: "Specified end date and time for the transaction query period. If
            this is not populated, the end date will be open ended, and data
            will be returned to the latest available transaction. All dates in
            the JSON payloads are represented in ISO 8601 date-time format.  All
            date-time fields in responses must include the timezone. An example
            is below: 2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
      required:
        - Permissions
      type: object
    OBReadDataAccount5:
      additionalProperties: false
      description: ""
      properties:
        Account:
          description: Unambiguous identification of the account to which credit and debit
            entries are made.
          items:
            $ref: "#/components/schemas/OBAccount6"
          nullable: true
          type: array
      type: object
    OBReadDataBalance1:
      additionalProperties: false
      description: ""
      properties:
        Balance:
          description: Set of elements used to define the balance details.
          items:
            $ref: "#/components/schemas/OBCashBalance1"
          type: array
      required:
        - Balance
      type: object
    OBReadDataBeneficiary5:
      additionalProperties: false
      description: ""
      properties:
        Beneficiary:
          description: ""
          items:
            $ref: "#/components/schemas/OBBeneficiary5"
          nullable: true
          type: array
      type: object
    OBReadDataConsentResponse1:
      additionalProperties: false
      description: ""
      properties:
        ConsentId:
          description: Unique identification as assigned to identify the account access
            consent resource.
          type: string
        CreationDateTime:
          description: "Date and time at which the resource was created. All dates in the
            JSON payloads are represented in ISO 8601 date-time format.  All
            date-time fields in responses must include the timezone. An example
            is below: 2017-04-05T10:43:07+00:00"
          format: date-time
          type: string
        ExpirationDateTime:
          description: "Specified date and time the permissions will expire. If this is
            not populated, the permissions will be open ended. All dates in the
            JSON payloads are represented in ISO 8601 date-time format.  All
            date-time fields in responses must include the timezone. An example
            is below: 2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
        Permissions:
          description: Specifies the Open Banking account access data types. This is a
            list of the data clusters being consented by the PSU, and requested
            for authorisation with the ASPSP.
          items:
            $ref: "#/components/schemas/OBExternalPermissions1Code"
          type: array
        Status:
          $ref: "#/components/schemas/OBExternalRequestStatus1Code"
        StatusUpdateDateTime:
          description: "Date and time at which the resource status was updated. All dates
            in the JSON payloads are represented in ISO 8601 date-time
            format.  All date-time fields in responses must include the
            timezone. An example is below: 2017-04-05T10:43:07+00:00"
          format: date-time
          type: string
        TransactionFromDateTime:
          description: "Specified start date and time for the transaction query period. If
            this is not populated, the start date will be open ended, and data
            will be returned from the earliest available transaction. All dates
            in the JSON payloads are represented in ISO 8601 date-time
            format.  All date-time fields in responses must include the
            timezone. An example is below: 2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
        TransactionToDateTime:
          description: "Specified end date and time for the transaction query period. If
            this is not populated, the end date will be open ended, and data
            will be returned to the latest available transaction. All dates in
            the JSON payloads are represented in ISO 8601 date-time format.  All
            date-time fields in responses must include the timezone. An example
            is below: 2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
      required:
        - ConsentId
        - CreationDateTime
        - Permissions
        - Status
        - StatusUpdateDateTime
      type: object
    OBReadDataParty2:
      additionalProperties: false
      description: ""
      properties:
        Party:
          $ref: "#/components/schemas/OBParty2"
      type: object
    OBReadDataParty3:
      additionalProperties: false
      description: ""
      properties:
        Party:
          description: ""
          items:
            $ref: "#/components/schemas/OBParty2"
          nullable: true
          type: array
      type: object
    OBReadDataScheduledPayment3:
      additionalProperties: false
      description: ""
      properties:
        ScheduledPayment:
          description: ""
          items:
            $ref: "#/components/schemas/OBScheduledPayment3"
          nullable: true
          type: array
      type: object
    OBReadDataStandingOrder5:
      additionalProperties: false
      description: ""
      properties:
        StandingOrder:
          description: ""
          items:
            $ref: "#/components/schemas/OBStandingOrder5"
          nullable: true
          type: array
      type: object
    OBReadDataStatement2:
      additionalProperties: false
      description: ""
      properties:
        Statement:
          description: Provides further details on a statement resource.
          items:
            $ref: "#/components/schemas/OBStatement2"
          nullable: true
          type: array
      type: object
    OBReadDataTransaction6:
      additionalProperties: false
      description: ""
      properties:
        Transaction:
          description: Provides further details on an entry in the report.
          items:
            $ref: "#/components/schemas/OBTransaction6"
          nullable: true
          type: array
      type: object
    OBReadParty2:
      additionalProperties: false
      description: ""
      properties:
        Data:
          $ref: "#/components/schemas/OBReadDataParty2"
        Links:
          $ref: "#/components/schemas/Links"
        Meta:
          $ref: "#/components/schemas/Meta"
      required:
        - Data
      type: object
    OBReadParty3:
      additionalProperties: false
      description: ""
      properties:
        Data:
          $ref: "#/components/schemas/OBReadDataParty3"
        Links:
          $ref: "#/components/schemas/Links"
        Meta:
          $ref: "#/components/schemas/Meta"
      required:
        - Data
      type: object
    OBReadScheduledPayment3:
      additionalProperties: false
      description: ""
      properties:
        Data:
          $ref: "#/components/schemas/OBReadDataScheduledPayment3"
        Links:
          $ref: "#/components/schemas/Links"
        Meta:
          $ref: "#/components/schemas/Meta"
      required:
        - Data
      type: object
    OBReadStandingOrder6:
      additionalProperties: false
      description: ""
      properties:
        Data:
          $ref: "#/components/schemas/OBReadDataStandingOrder5"
        Links:
          $ref: "#/components/schemas/Links"
        Meta:
          $ref: "#/components/schemas/Meta"
      required:
        - Data
      type: object
    OBReadStatement2:
      additionalProperties: false
      description: ""
      properties:
        Data:
          $ref: "#/components/schemas/OBReadDataStatement2"
        Links:
          $ref: "#/components/schemas/Links"
        Meta:
          $ref: "#/components/schemas/Meta"
      required:
        - Data
      type: object
    OBReadTransaction6:
      additionalProperties: false
      description: ""
      properties:
        Data:
          $ref: "#/components/schemas/OBReadDataTransaction6"
        Links:
          $ref: "#/components/schemas/Links"
        Meta:
          $ref: "#/components/schemas/Meta"
      required:
        - Data
      type: object
    OBRisk2:
      additionalProperties: false
      description: The Risk section is sent by the initiating party to the ASPSP. It
        is used to specify additional details for risk scoring for Account Info.
      type: object
    OBScheduledPayment3:
      additionalProperties: false
      description: ""
      properties:
        AccountId:
          description: A unique and immutable identifier used to identify the account
            resource. This identifier has no meaning to the account owner.
          maxLength: 40
          minLength: 1
          type: string
        CreditorAccount:
          $ref: "#/components/schemas/OBCashAccount5"
        DebtorReference:
          description: A reference value provided by the PSU to the PISP while setting up
            the scheduled payment.
          maxLength: 35
          minLength: 1
          nullable: true
          type: string
        InstructedAmount:
          $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
        Reference:
          description: "Unique reference, as assigned by the creditor, to unambiguously
            refer to the payment transaction.\r

            Usage: If available, the initiating party should provide
            this reference in the structured remittance information, to enable
            reconciliation by the creditor upon receipt of the amount of
            money.\r

            If the business context requires the use of a creditor
            reference or a payment remit identification, and only one identifier
            can be passed through the end-to-end chain, the creditor's reference
            or payment remittance identification should be quoted in the
            end-to-end transaction identification."
          maxLength: 35
          minLength: 1
          nullable: true
          type: string
        ScheduledPaymentDateTime:
          description: "The date on which the scheduled payment will be made.All dates in
            the JSON payloads are represented in ISO 8601 date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          format: date-time
          type: string
        ScheduledPaymentId:
          description: A unique and immutable identifier used to identify the scheduled
            payment resource. This identifier has no meaning to the account
            owner.
          maxLength: 40
          minLength: 1
          nullable: true
          type: string
        ScheduledType:
          $ref: "#/components/schemas/OBExternalScheduleType1Code"
      required:
        - AccountId
        - InstructedAmount
        - ScheduledPaymentDateTime
        - ScheduledType
      type: object
    OBStandingOrder5:
      additionalProperties: false
      description: ""
      properties:
        AccountId:
          description: A unique and immutable identifier used to identify the account
            resource. This identifier has no meaning to the account owner.
          maxLength: 40
          minLength: 1
          type: string
        CreditorAccount:
          $ref: "#/components/schemas/OBCashAccount5"
        FinalPaymentAmount:
          $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
        FinalPaymentDateTime:
          description: "The date on which the final payment for a Standing Order schedule
            will be made.All dates in the JSON payloads are represented in ISO
            8601 date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
        FirstPaymentAmount:
          $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
        FirstPaymentDateTime:
          description: "The date on which the first payment for a Standing Order schedule
            will be made.All dates in the JSON payloads are represented in ISO
            8601 date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
        Frequency:
          description: "Individual Definitions:\r

            IntrvlMnthDay - An interval specified in months(between
            01, 02, 03, 04, 06, 12, 24), specifying the day within the month(01
            to 31)\r

            Full Regular Expression:\r

            ^(IntrvlMnthDay:(0[1,2,3,4,6]|12|24):(0[1-9]|[12]
            [0-9]|3[01]))$"
          pattern: ^(IntrvlMnthDay:(0[1,2,3,4,6]|12|24):(0[1-9]|[12] [0-9]|3[01]))$
          type: string
        LastPaymentAmount:
          $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
        LastPaymentDateTime:
          description: "The date on which the last (most recent) payment for a Standing
            Order schedule was made.All dates in the JSON payloads are
            represented in ISO 8601 date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
        NextPaymentAmount:
          $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
        NextPaymentDateTime:
          description: "The date on which the next payment for a Standing Order schedule
            will be made.All dates in the JSON payloads are represented in ISO
            8601 date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
        Reference:
          description: "Unique reference, as assigned by the creditor, to unambiguously
            refer to the payment transaction.\r

            Usage: If available, the initiating party should provide
            this reference in the structured remittance information, to enable
            reconciliation by the creditor upon receipt of the amount of
            money.\r

            If the business context requires the use of a creditor
            reference or a payment remit identification, and only one identifier
            can be passed through the end-to-end chain, the creditor's reference
            or payment remittance identification should be quoted in the
            end-to-end transaction identification."
          maxLength: 35
          minLength: 1
          nullable: true
          type: string
        StandingOrderId:
          description: A unique and immutable identifier used to identify the standing
            order resource. This identifier has no meaning to the account owner.
          maxLength: 40
          minLength: 1
          nullable: true
          type: string
        StandingOrderStatusCode:
          $ref: "#/components/schemas/OBExternalStandingOrderStatus1Code"
      required:
        - AccountId
        - Frequency
      type: object
    OBStatement2:
      additionalProperties: false
      description: Provides further details on a statement resource.
      properties:
        AccountId:
          description: A unique and immutable identifier used to identify the account
            resource. This identifier has no meaning to the account owner.
          maxLength: 40
          minLength: 1
          type: string
        CreationDateTime:
          description: "Date and time at which the statement period starts.All dates in
            the JSON payloads are represented in ISO 8601 date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          format: date-time
          type: string
        EndDateTime:
          description: "Date and time at which the statement period starts.All dates in
            the JSON payloads are represented in ISO 8601 date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          format: date-time
          type: string
        StartDateTime:
          description: "Date and time at which the statement period starts.All dates in
            the JSON payloads are represented in ISO 8601 date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          format: date-time
          type: string
        StatementId:
          description: Unique identifier for the statement resource within an servicing
            institution. This identifier is both unique and immutable.
          maxLength: 40
          minLength: 1
          nullable: true
          type: string
        StatementReference:
          description: Unique reference for the statement. This reference may be
            optionally populated if available.
          maxLength: 35
          minLength: 1
          nullable: true
          type: string
        Type:
          $ref: "#/components/schemas/OBExternalStatementType1Code"
      required:
        - AccountId
        - CreationDateTime
        - EndDateTime
        - StartDateTime
        - Type
      type: object
    OBTransaction6:
      additionalProperties: false
      description: Provides further details on an entry in the report.
      properties:
        AccountId:
          description: A unique and immutable identifier used to identify the account
            resource. This identifier has no meaning to the account owner.
          maxLength: 40
          minLength: 1
          type: string
        Amount:
          $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
        Balance:
          $ref: "#/components/schemas/OBTransactionCashBalance"
        BookingDateTime:
          description: "Date and time when a transaction entry is posted to an account on
            the account servicer's books.\r

            Usage: Booking date is the expected booking date, unless
            the status is booked, in which case it is the actual booking
            date.All dates in the JSON payloads are represented in ISO 8601
            date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          format: date-time
          type: string
        CreditDebitIndicator:
          $ref: "#/components/schemas/OBCreditDebitCode"
        CreditorAccount:
          $ref: "#/components/schemas/OBCashAccount6"
        DebtorAccount:
          $ref: "#/components/schemas/OBCashAccount6"
        ProprietaryBankTransactionCode:
          $ref: "#/components/schemas/ProprietaryBankTransactionCodeStructure1"
        Status:
          $ref: "#/components/schemas/OBEntryStatus1Code"
        TransactionInformation:
          description: "Further details of the transaction.\r

            This is the transaction narrative, which is unstructured
            text."
          maxLength: 500
          minLength: 1
          nullable: true
          type: string
        TransactionReference:
          description: Unique reference for the transaction. This reference is optionally
            populated, and may as an example be the FPID in the Faster Payments
            context.
          maxLength: 210
          minLength: 1
          nullable: true
          type: string
        ValueDateTime:
          description: "Date and time at which assets become available to the account
            owner in case of a credit entry, or cease to be available to the
            account owner in case of a debit transaction entry.\r

            Usage: If transaction entry status is pending and value
            date is present, then the value date refers to an expected/requested
            value date.\r

            For transaction entries subject to availability/float
            and for which availability information is provided, the value date
            must not be used.In this case the availability component identifies
            the number of availability days.All dates in the JSON payloads are
            represented in ISO 8601 date-time format.\r

            All date-time fields in responses must include the
            timezone.An example is below:\r

            2017-04-05T10:43:07+00:00"
          format: date-time
          nullable: true
          type: string
      required:
        - AccountId
        - Amount
        - BookingDateTime
        - CreditDebitIndicator
        - Status
      type: object
    OBTransactionCashBalance:
      additionalProperties: false
      description: Set of elements used to define the balance as a numerical
        representation of the net increases and decreases in an account after a
        transaction entry is applied to the account.
      properties:
        Amount:
          $ref: "#/components/schemas/OBActiveOrHistoricCurrencyAndAmount"
        CreditDebitIndicator:
          $ref: "#/components/schemas/OBCreditDebitCode"
        Type:
          $ref: "#/components/schemas/OBBalanceType1Code"
      required:
        - Amount
        - CreditDebitIndicator
        - Type
      type: object
    ProprietaryBankTransactionCodeStructure1:
      additionalProperties: false
      description: Set of elements to fully identify a proprietary bank transaction code.
      properties:
        Code:
          description: Proprietary bank transaction code to identify the underlying
            transaction.
          maxLength: 35
          minLength: 1
          type: string
        Issuer:
          description: Identification of the issuer of the proprietary bank transaction
            code.
          maxLength: 35
          minLength: 1
          nullable: true
          type: string
      required:
        - Code
      type: object
    Sandbox:
      additionalProperties: false
      description: Sandbox model
      properties:
        sandboxId:
          description: Sandbox id
          pattern: ^[a-zA-Z0-9_-]+$
          type: string
        users:
          description: List of users
          items:
            $ref: "#/components/schemas/SandboxUser"
          nullable: true
          type: array
      required:
        - sandboxId
      type: object
    SandboxBankAccount:
      additionalProperties: false
      description: Sandbox bank account
      properties:
        beneficiaries:
          description: List of account's beneficiaries
          items:
            $ref: "#/components/schemas/SandboxBeneficiary"
          nullable: true
          type: array
        info:
          $ref: "#/components/schemas/SandboxBankAccountInfo"
        party:
          $ref: "#/components/schemas/SandboxParty"
        scheduledPayments:
          description: List of account's scheduled payments
          items:
            $ref: "#/components/schemas/SandboxScheduledPayment"
          nullable: true
          type: array
        standingOrders:
          description: List of account's standing orders
          items:
            $ref: "#/components/schemas/SandboxStandingOrder"
          nullable: true
          type: array
        statements:
          description: List of account's statements
          items:
            $ref: "#/components/schemas/SandboxStatement"
          nullable: true
          type: array
        transactions:
          description: List of account's transactions
          items:
            $ref: "#/components/schemas/SandboxTransaction"
          nullable: true
          type: array
      type: object
    SandboxBankAccountInfo:
      additionalProperties: false
      description: General account information
      properties:
        accountSubType:
          description: Account's sub-type (ChargeCard, CreditCard, CurrentAccount ...)
          type: string
        accountType:
          description: Account's type (Business, Personal)
          type: string
        alias:
          description: Account's alias
          maxLength: 70
          minLength: 1
          nullable: true
          type: string
        availableBalance:
          description: Account's available balance
          format: double
          nullable: true
          type: number
        currency:
          description: Currency (EUR, USD ...)
          pattern: ^[A-Z]{3,3}$
          type: string
        description:
          description: Account's description
          maxLength: 35
          minLength: 1
          nullable: true
          type: string
        iban:
          description: Account's IBAN
          type: string
        ledgerBalance:
          description: Account's ledger balance
          format: double
          nullable: true
          type: number
        openingDate:
          description: Account's opening date
          format: date-time
          nullable: true
          type: string
        overdraftLimit:
          description: Account's overdraft limit
          format: double
          nullable: true
          type: number
      required:
        - accountSubType
        - accountType
        - currency
        - iban
      type: object
    SandboxBeneficiary:
      additionalProperties: false
      description: Beneficiary information
      properties:
        name:
          description: Beneficiary name
          nullable: true
          type: string
      type: object
    SandboxCard:
      additionalProperties: false
      description: Sandbox card
      properties:
        info:
          $ref: "#/components/schemas/SandboxCardInfo"
        party:
          $ref: "#/components/schemas/SandboxParty"
        statements:
          description: Card statements
          items:
            $ref: "#/components/schemas/SandboxStatement"
          nullable: true
          type: array
        transactions:
          description: Card transactions
          items:
            $ref: "#/components/schemas/SandboxTransaction"
          nullable: true
          type: array
      type: object
    SandboxCardInfo:
      additionalProperties: false
      description: Sandbox card information
      properties:
        availableBalance:
          description: Available balance
          format: double
          nullable: true
          type: number
        creditLimit:
          description: Credit limit ( applicable to credit cards )
          format: double
          nullable: true
          type: number
        description:
          description: Description
          nullable: true
          type: string
        expiration:
          description: Expiration date (05/2022)
          maxLength: 7
          minLength: 1
          type: string
        holderName:
          description: Holder name
          type: string
        ledgerBalance:
          description: Ledger balance
          format: double
          nullable: true
          type: number
        number:
          description: Card number
          maxLength: 16
          minLength: 1
          type: string
        subType:
          description: Sub type
          nullable: true
          type: string
        type:
          description: Type
          nullable: true
          type: string
      required:
        - expiration
        - holderName
        - number
      type: object
    SandboxParty:
      additionalProperties: false
      description: Connected party information
      properties:
        id:
          description: Party id
          nullable: true
          type: string
        name:
          description: Name
          nullable: true
          type: string
      type: object
    SandboxRequest:
      additionalProperties: false
      description: Request to create a new sandbox
      properties:
        sandboxId:
          description: Sandbox Id
          pattern: ^[a-zA-Z0-9_-]+$
          type: string
      required:
        - sandboxId
      type: object
    SandboxRetryCacheEntry:
      additionalProperties: false
      description: Keeps the number of calls without x-fapi-customer-ip-address header
        present
      properties:
        cacheKey:
          description: Cache key
          nullable: true
          type: string
        count:
          description: Number of retries ( up to 4 )
          format: int32
          type: integer
        expirationTimestamp:
          description: Expiration timestamp of the entry
          format: date-time
          type: string
      type: object
    SandboxScheduledPayment:
      additionalProperties: false
      description: Scheduled payment information
      properties:
        amount:
          description: Amount
          format: double
          type: number
        description:
          description: Scheduled payment's short description
          maxLength: 35
          minLength: 1
          nullable: true
          type: string
        executionDate:
          description: Scheduled payment's execution date
          format: date-time
          nullable: true
          type: string
        senderReference:
          description: Debtor / Sender reference
          maxLength: 35
          minLength: 1
          nullable: true
          type: string
      type: object
    SandboxStandingOrder:
      additionalProperties: false
      description: Standing order information
      properties:
        amount:
          description: Standing order amount
          format: double
          type: number
        description:
          description: Standing order short description
          nullable: true
          type: string
        finalPaymentDate:
          description: Standing order final collection date
          format: date-time
          nullable: true
          type: string
        firstPaymentDate:
          description: Standing order first collection date
          format: date-time
          nullable: true
          type: string
        frequency:
          description: Standing order frequency
          maxLength: 35
          minLength: 1
          type: string
        lastPaymentDate:
          description: Standing order last executed payment date
          format: date-time
          nullable: true
          type: string
        nextPaymentDate:
          description: Standing order next collection date
          format: date-time
          nullable: true
          type: string
        status:
          description: Standing order status (Active, Inactive)
          nullable: true
          type: string
      required:
        - frequency
      type: object
    SandboxStatement:
      additionalProperties: false
      description: Statement information
      properties:
        month:
          description: Statement month
          format: int32
          type: integer
        number:
          description: Statement number
          nullable: true
          type: string
        year:
          description: Statement year
          format: int32
          type: integer
      type: object
    SandboxTransaction:
      additionalProperties: false
      description: Transaction information
      properties:
        accountingBalance:
          description: Balance
          format: double
          type: number
        amount:
          description: Amount
          format: double
          type: number
        bookingDateTime:
          description: Booking date time
          format: date-time
          type: string
        creditDebit:
          description: Credit / Debit indicator
          nullable: true
          type: string
        currency:
          description: Currency (EUR, USD ...)
          nullable: true
          type: string
        description:
          description: Description
          nullable: true
          type: string
        reference:
          description: Transaction reference
          nullable: true
          type: string
        relatedAccount:
          description: Related account
          nullable: true
          type: string
        relatedName:
          description: Related account
          nullable: true
          type: string
        transactionCode:
          description: Transaction code
          nullable: true
          type: string
        valueDateTime:
          description: Valeur
          format: date-time
          nullable: true
          type: string
      type: object
    SandboxUser:
      additionalProperties: false
      description: User data
      properties:
        accounts:
          description: List of accounts
          items:
            $ref: "#/components/schemas/SandboxBankAccount"
          nullable: true
          type: array
        cards:
          description: List of cards
          items:
            $ref: "#/components/schemas/SandboxCard"
          nullable: true
          type: array
        retryCacheEntries:
          description: Retry cache entries
          items:
            $ref: "#/components/schemas/SandboxRetryCacheEntry"
          nullable: true
          type: array
        userId:
          description: Connected user id
          nullable: true
          type: string
      type: object
  securitySchemes:
    Authorization-Code-Token:
      description: OAuth2 Authorization Code Flow
      flows:
        authorizationCode:
          authorizationUrl: https://my.nbg.gr/identity/connect/authorize
          scopes:
            accounts offline_access: Production Scope
            sandbox-uk-account-info-api-v1 offline_access: Sandbox Scope
          tokenUrl: https://my.nbg.gr/identity/connect/token
      type: oauth2
    Client-Credentials-Token:
      description: OAuth2 Client Credentials Flow
      flows:
        clientCredentials:
          scopes:
            accounts: Production Scope
            sandbox-uk-account-info-api-v1: Sandbox Scope
          tokenUrl: https://my.nbg.gr/identity/connect/token
      type: oauth2
    Client-Id:
      description: Application's Id
      in: header
      name: Client-Id
      type: apiKey
