Revolut Transactions API

Get the details of your transactions. :::note An incoming or outgoing payment is represented as a transaction. ::: For more information, see the guides: [Retrieve transactions](https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions).

OpenAPI Specification

revolut-transactions-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  version: '1.0'
  title: Business Accounting Transactions API
  description: "As a Revolut Business customer with a Business Account, you can use the Business API to automate your own business processes.\nSave time, reduce your costs, and avoid errors by using the Business API. \n\n:::tip[Before you get started]\nTo learn more about the Business API and its features, check the [**user guides**](https://developer.revolut.com/docs/guides/manage-accounts/introduction).\n\nYou can reach them at any time from the main navigation bar **→ Guides → Business**.\n:::\n\nYou can view accounts, manage counterparties, make payments or currency exchanges without manual effort in the Web UI:\n\n- Accounting: [Account management](https://developer.revolut.com/docs/api/business#get-account), [Accounting settings](https://developer.revolut.com/docs/api/business#tag-accounting), [Expense management](https://developer.revolut.com/docs/api/business#get-expense), [Transactions](https://developer.revolut.com/docs/api/business#get-transactions) \n- Payments: \n  - [Counterparty management](https://developer.revolut.com/docs/api/business#get-counterparties)\n  - Payment management: [Payment drafts](https://developer.revolut.com/docs/api/business#delete-payment-draft), [Payout links](https://developer.revolut.com/docs/api/business#get-payout-link), [Transfers](https://developer.revolut.com/docs/api/business#tag-transfers)\n  - [Foreign exchange](https://developer.revolut.com/docs/api/business#tag-foreign-exchange)\n- Business team: [Card management](https://developer.revolut.com/docs/api/business#delete-card), [Card invitation management](https://developer.revolut.com/docs/api/business#update-card-invitation), [Team member management](https://developer.revolut.com/docs/api/business#delete-team-member)\n- Developer tools: [Sandbox simulations](https://developer.revolut.com/docs/api/business#tag-simulations), [Webhook management](https://developer.revolut.com/docs/api/business#tag-webhooks-v2)\n\nTo see the reference for the specific endpoints and operations of this API, browse the menu on the left.\n\n### Test the Business API\n\nYou can test the Business API in Postman by forking this collection:\n\n[![View in Postman](https://run.pstmn.io/button.svg)](https://www.postman.com/revolut-api/workspace/revolut-developers/overview)"
  contact: {}
servers:
- url: https://b2b.revolut.com/api/1.0
  description: Production server (uses live data)
- url: https://sandbox-b2b.revolut.com/api/1.0
  description: Sandbox server (uses test data)
tags:
- name: Transactions
  description: 'Get the details of your transactions.


    :::note

    An incoming or outgoing payment is represented as a transaction.

    :::


    For more information, see the guides: [Retrieve transactions](https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions).'
paths:
  /transactions:
    get:
      summary: Retrieve a list of transactions
      operationId: getTransactions
      description: "Retrieve the historical transactions based on the provided query criteria.\n\nThe transactions are sorted by the `created_at` date in reverse chronological order, and they're **paginated**. \nThe maximum number of transactions returned per page is specified by the `count` parameter. \nTo get the next page of results, make a new request and use the `created_at` date from the last item of the previous page as the value for the `to` parameter.\n\n:::note\nThe API returns a maximum of 1,000 transactions per request.\n:::\n\nFor more details, see the guides: [Retrieve transactions](https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions)."
      security:
      - AccessToken:
        - READ
      parameters:
      - in: query
        name: from
        schema:
          type: string
          format: date-time or date
        description: 'The date and time you retrieve the historical transactions from, including this date-time.

          Corresponds to the `created_at` value of the transaction.

          Provided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.


          Used also for pagination.

          To get back to the previous page of results, make a new request and use the `created_at` date from the first item of the current page as the value for the `from` parameter.'
      - in: query
        name: to
        schema:
          type: string
          format: date-time or date
          default: the date-time at which the request is made
        description: "The date and time you retrieve the historical transactions to, excluding this date-time. \nCorresponds to the `created_at` value of the transaction.\nProvided in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.\nThe default value is the date and time at which you're calling the endpoint.\n\nUsed also for pagination.\nTo get the next page of results, make a new request and use the `created_at` date from the last item of the previous (current) page as the value for the `to` parameter."
      - in: query
        name: account
        schema:
          type: string
          format: uuid
        description: The ID of the account
      - in: query
        name: count
        schema:
          type: integer
          default: 100
          maximum: 1000
        description: 'The maximum number of the historical transactions to retrieve per page.


          To get the next page of results, make a new request and use the `created_at` date from the last item of the previous page as the value for the `to` parameter.'
      - in: query
        name: type
        schema:
          $ref: '#/components/schemas/TransactionType'
        description: The type of the historical transactions to retrieve.
      - in: query
        name: request_id
        schema:
          type: string
          example: invoice00912345
        description: 'The request ID provided when the transaction was created.

          Lets you filter transactions related to that ID.


          When provided, the `from` query parameter is also required, and the search interval must not exceed 14 days.

          For older transactions, adjust the `to` parameter as well.'
      - in: query
        name: state
        schema:
          type: array
          items:
            type: string
            enum:
            - created
            - pending
            - completed
            - declined
            - failed
            - reverted
        description: 'The transaction [state(s)](https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions#transaction-states) to filter by.


          To specify multiple values, follow this pattern: `state={VALUE1}&state={VALUE2}`.'
      responses:
        '200':
          description: List of historical transactions retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Transactions'
              example:
              - id: 630f9890-95e3-add1-be4a-95f126988221
                type: transfer
                state: pending
                request_id: invoice00912345
                created_at: '2024-08-31T17:21:20.364171Z'
                updated_at: '2024-08-31T17:21:20.364171Z'
                reference: invoice00912345
                legs:
                - leg_id: 630f9890-95e3-add1-0000-95f1269f0000
                  account_id: 812fff9a-3b0c-4ad1-b41a-cc60899d9900
                  counterparty:
                    account_type: revolut
                    account_id: e0af9f24-504c-4c5d-bd1d-07edf9f49876
                  amount: -1.16
                  currency: EUR
                  bill_amount: -1
                  bill_currency: GBP
                  description: To John Doe
              - id: 640c2b97-aaaa-1234-aaaa-c47a165c2e7e
                type: card_payment
                state: completed
                request_id: REVP:8988a9a0-aaaa-1234-aaaa-5bcc66d938bf
                created_at: '2024-03-11T07:19:51.302559Z'
                updated_at: '2024-03-12T02:13:36.842322Z'
                completed_at: '2024-03-12T02:13:36.836595Z'
                merchant:
                  name: Acme Corp.
                  city: New York
                  category_code: '7311'
                  country: USA
                legs:
                - leg_id: 640c2b97-aaaa-1234-aaaa-c47a165c2e7e
                  account_id: 92e43866-aaaa-1234-aaaa-6e31dd23f024
                  amount: -47.8
                  fee: 0.66
                  currency: AED
                  bill_amount: -13
                  bill_currency: USD
                  description: Acm *1234mn1ha2
                  balance: 7.74
                card:
                  id: 2b1a31bc-4795-4f95-b939-ae9cf911dc6e
                  card_number: 516760******1234
                  first_name: John
                  last_name: Smith
                  phone: '+12412341234'
              - id: 6886001b-c4a4-4920-912b-c9d7d2575bf7
                type: card_payment
                state: completed
                request_id: REVP:5b3dc80d-f77b-4073-b245-d05f0acd348f
                created_at: '2025-09-11T07:19:51.302559Z'
                updated_at: '2025-09-12T02:13:36.842322Z'
                completed_at: '2025-03-12T02:13:36.836595Z'
                merchant:
                  name: Alfa
                  city: Paris
                  category_code: '7311'
                  country: FRA
                legs:
                - leg_id: 0e82681d-10db-40b7-b6c8-f99c595f1c82
                  account_id: 5e85a129-74c9-4714-bbd2-d762b42b15fb
                  amount: -153.32
                  fee: 0
                  currency: EUR
                  description: Al 1234abcxyz0
                  balance: 3210.43
                card:
                  id: 12d6d4c2-288b-4670-8297-444720bd811b
                  card_number: 456230******1433
                  references:
                  - name: PNR
                    value: RT12345
                  - name: Traveller
                    value: John Smith
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Transactions
  /transaction/{id}:
    get:
      summary: Retrieve a transaction
      operationId: getTransaction
      description: 'Retrieve the details of a specific transaction by the transaction''s ID.

        The details can include, for example, cardholder details for card payments.


        :::tip [Retrieve by request_id instead]

        Alternatively, you can retrieve a transaction by the **request ID** that was provided for this transaction at the time of its creation, for example, when you [created a payment](https://developer.revolut.com/docs/api/business#create-payment).


        To do that, use the `GET /transactions` endpoint to [retrieve a list of transactions](https://developer.revolut.com/docs/api/business#get-transactions) and provide the `request_id` and appropriate `from`/`to` values as filters.

        :::


        For more details, see the guides: [Retrieve transactions](https://developer.revolut.com/docs/guides/manage-accounts/accounts-and-transactions/retrieve-transactions).'
      security:
      - AccessToken:
        - READ
      parameters:
      - name: id
        in: path
        required: true
        description: 'The unique ID of the transaction.


          :::warning [Request ID deprecation]

          If `id_type=request_id` is provided, set this field to the request ID from payment creation instead of the transaction ID.


          This behavior is deprecated and will be removed in a future release.

          Use [`GET /transactions`](https://developer.revolut.com/docs/api/business#get-transactions) to retrieve transactions by request ID.

          :::'
        schema:
          type: string
      - name: id_type
        in: query
        required: false
        deprecated: true
        description: 'The type of ID to retrieve the transaction by.


          :::warning [Deprecated]

          This field is now deprecated and will be removed in a future release.


          To retrieve transactions by their unique transaction ID, use this endpoint.

          To retrieve transactions by request ID, use the [`GET /transactions`](https://developer.revolut.com/docs/api/business#get-transactions) endpoint instead.

          :::'
        schema:
          enum:
          - request_id
          type: string
      responses:
        '200':
          description: The information about a specific transaction
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Transaction'
              examples:
                exchange:
                  summary: Exchange
                  value:
                    id: 640dc0b7-1234-aaaa-1234-92ac4de1dacd
                    type: exchange
                    state: completed
                    request_id: d8f041ab-1234-aaaa-1234-78b6a0b2801f
                    created_at: '2023-03-12T12:08:07.833414Z'
                    updated_at: '2023-03-12T12:08:07.833414Z'
                    completed_at: '2023-03-12T12:08:07.833705Z'
                    legs:
                    - leg_id: 640dc0a7-aaaa-a5b5-aaaa-92ac4de1dacd
                      account_id: 0d1848dc-aaaa-4a9a-aaaa-cae53cbd4baf
                      amount: -1
                      currency: GBP
                      bill_amount: -8.39
                      bill_currency: DKK
                      description: Exchanged to DKK
                      balance: 8.74
                    - leg_id: 640dc0a7-aaaa-a5b5-aaaa-92ac4de1dacd
                      account_id: 246bc9de-aaaa-4f86-aaaa-4d291a5d0390
                      amount: 8.39
                      fee: 0.08
                      currency: DKK
                      description: Exchanged from GBP Main
                      balance: 19.33
                card_payment:
                  summary: Card payment
                  value:
                    id: 640c2b97-aaaa-1234-aaaa-c47a165c2e7e
                    type: card_payment
                    state: completed
                    request_id: REVP:8988a9a0-aaaa-1234-aaaa-5bcc66d938bf
                    created_at: '2023-03-11T07:19:51.302559Z'
                    updated_at: '2023-03-12T02:13:36.842322Z'
                    completed_at: '2023-03-12T02:13:36.836595Z'
                    merchant:
                      name: Acme Corp.
                      city: New York
                      category_code: '7311'
                      country: USA
                    legs:
                    - leg_id: 640c2b97-aaaa-1234-aaaa-c47a165c2e7e
                      account_id: 92e43866-aaaa-1234-aaaa-6e31dd23f024
                      amount: -47.8
                      fee: 0.66
                      currency: AED
                      bill_amount: -13
                      bill_currency: USD
                      description: Acm *1234mn1ha2
                      balance: 7.74
                    card:
                      id: 2b1a31bc-4795-4f95-b939-ae9cf911dc6e
                      card_number: 516760******1234
                      first_name: John
                      last_name: Smith
                      phone: '+12412341234'
                company_card_payment:
                  summary: Payment by card with no holder
                  value:
                    id: 6886001b-c4a4-4920-912b-c9d7d2575bf7
                    type: card_payment
                    state: completed
                    request_id: REVP:5b3dc80d-f77b-4073-b245-d05f0acd348f
                    created_at: '2025-09-11T07:19:51.302559Z'
                    updated_at: '2025-09-12T02:13:36.842322Z'
                    completed_at: '2025-03-12T02:13:36.836595Z'
                    merchant:
                      name: Alfa
                      city: Paris
                      category_code: '7311'
                      country: FRA
                    legs:
                    - leg_id: 0e82681d-10db-40b7-b6c8-f99c595f1c82
                      account_id: 5e85a129-74c9-4714-bbd2-d762b42b15fb
                      amount: -153.32
                      fee: 0
                      currency: EUR
                      description: Al 1234abcxyz0
                      balance: 3210.43
                    card:
                      id: 12d6d4c2-288b-4670-8297-444720bd811b
                      card_number: 456230******1433
                      references:
                      - name: PNR
                        value: RT12345
                      - name: Traveller
                        value: John Smith
                outbound_transfer:
                  summary: Outbound transfer
                  value:
                    id: 640c1963-aaaa-1234-aaaa-a6b451197c6a
                    type: transfer
                    state: completed
                    request_id: 8cc6f5db-aaaa-1234-aaaa-068a05af424e
                    created_at: '2023-03-11T06:02:11.785704Z'
                    updated_at: '2023-03-11T06:02:14.628964Z'
                    completed_at: '2023-03-11T06:02:14.624946Z'
                    reference: Reference example
                    legs:
                    - leg_id: 640c1963-aaaa-1234-aaaa-a6b451197c6a
                      account_id: 0d1848dc-aaaa-1234-aaaa-cae53cbd4baf
                      counterparty:
                        id: f5a9a06b-aaaa-1234-aaaa-c51df843e30d
                        account_type: external
                        account_id: 25c9d813-aaaa-1234-aaaa-28334fc4d133
                      amount: -100
                      fee: 0.1
                      currency: GBP
                      description: To John Smith
                      balance: 9.74
                inbound_transfer:
                  summary: Inbound transfer
                  value:
                    id: 63f3a305-aaaa-1234-aaaa-54f06420ae58
                    type: transfer
                    state: completed
                    request_id: 7d3a3358-aaaa-1234-aaaa-c332c49b6431
                    created_at: '2023-02-20T16:42:45.897576Z'
                    updated_at: '2023-02-20T16:42:45.897576Z'
                    completed_at: '2023-02-20T16:42:45.897845Z'
                    reference: Reference 1234
                    legs:
                    - leg_id: 63f3a305-aaaa-1234-aaaa-54f06420ae58
                      account_id: 74d4d6cb-aaaa-1234-aaaa-9604b94e3019
                      counterparty:
                        account_type: revolut
                      amount: 10
                      currency: GBP
                      description: From JOHN SMITH
                      balance: 3.7
                internal_transfer:
                  summary: Internal transfer
                  value:
                    id: 640b4fbf-aaaa-1234-aaaa-17a2d10142af
                    type: transfer
                    state: completed
                    request_id: f8bbea44-aaaa-1234-aaaa-113df56660f7
                    created_at: '2023-03-10T15:41:51.304765Z'
                    updated_at: '2023-03-10T15:41:51.395348Z'
                    completed_at: '2023-03-10T15:41:51.388279Z'
                    legs:
                    - leg_id: 640b4fbf-aaaa-1234-aaaa-17a2d10142af
                      account_id: 0d1848dc-aaaa-1234-aaaa-cae53cbd4baf
                      amount: 100
                      currency: GBP
                      description: To GBP Deposit pocket
                      balance: 100.84
                    - leg_id: 640b4fbf-aaaa-1234-aaaa-17a2d10142af
                      account_id: 87f2f697-aaaa-1234-aaaa-a20c78c0d24f
                      amount: 100
                      currency: GBP
                      description: From GBP Regular pocket
                      balance: 100.65
                atm_withdrawal:
                  summary: ATM withdrawal
                  value:
                    id: 62d5161d-aaaa-1234-aaaa-219f88258175
                    type: atm
                    state: completed
                    request_id: REVP:b46e51ca-aaaa-1234-aaaa-e54321796ff0
                    created_at: '2022-07-18T08:13:17.025950Z'
                    updated_at: '2022-07-19T16:21:22.521625Z'
                    completed_at: '2022-07-19T16:21:22.515565Z'
                    merchant:
                      name: Barclays
                      city: Canary Wharf
                      category_code: '6011'
                      country: GBR
                    legs:
                    - leg_id: c84cec91-aaaa-1234-aaaa-62d1979dcf3a
                      account_id: dbd3c68b-aaaa-1234-aaaa-5621a117ecbf
                      amount: -21.22
                      fee: 0.48
                      currency: GBP
                      bill_amount: -25
                      bill_currency: EUR
                      description: Cash at Barclays
                      balance: 9.9
                    card:
                      id: 2b1a31bc-4795-4f95-b939-ae9cf911dc6e
                      card_number: 516760******1234
                      first_name: John
                      last_name: Smith
                      phone: '+447712341234'
                top_up:
                  summary: Top up
                  value:
                    id: 63c95e75-aaaa-1234-aaaa-4e7a7768c663
                    type: topup
                    state: completed
                    request_id: 9d4d90c5-aaaa-1234-aaaa-ac65bf589532
                    created_at: '2023-01-19T15:15:01.895737Z'
                    updated_at: '2023-01-19T15:16:14.839234Z'
                    completed_at: '2023-01-19T15:16:14.833964Z'
                    reference: Top up Revolut account
                    legs:
                    - leg_id: 63c95e75-aaaa-1234-aaaa-4e7a7768c663
                      account_id: 6ce35350-aaaa-1234-aaaa-006d3f739b80
                      amount: 100
                      currency: EUR
                      description: Payment from John Smith
                      balance: 1
                card_chargeback:
                  summary: Card chargeback
                  value:
                    id: 6409e928-aaaa-1234-aaaa-872a41309af1
                    type: card_chargeback
                    state: completed
                    request_id: CARD_CHARGEBACK_eabeb099-aaaa-1234-aaaa-ce72583866bb_0
                    created_at: '2023-03-09T14:11:52.453528Z'
                    updated_at: '2023-03-09T14:11:52.453528Z'
                    completed_at: '2023-03-09T14:11:52.453740Z'
                    legs:
                    - leg_id: 6409e928-aaaa-1234-aaaa-872a41309af1
                      account_id: 0d1848dc-aaaa-1234-aaaa-cae53cbd4baf
                      amount: 4.68
                      currency: GBP
                      description: Card chargeback for Rev*www.revolut.com
                      balance: 13.08
                refund:
                  summary: Refund
                  value:
                    id: 172884ea-a529-4d5f-8a81-8ebab9f23e33
                    type: refund
                    state: completed
                    request_id: 79fb7626-df83-46eb-b89a-b31b1e1ae2d7
                    created_at: '2024-03-17T06:05:10.575740Z'
                    updated_at: '2024-03-17T06:05:10.575740Z'
                    completed_at: '2024-03-17T06:05:10.575740Z'
                    related_transaction_id: 640c1963-aaaa-1234-aaaa-a6b451197c6a
                    legs:
                    - leg_id: 172884ea-a529-4d5f-8a81-8ebab9f23e33
                      account_id: 74d4d6cb-aaaa-1234-aaaa-9604b94e3019
                      amount: 100
                      currency: GBP
                      description: A sample refund description
                      balance: 109.74
        default:
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Transactions
  /accounts/{AccountId}/direct-debits:
    get:
      tags:
      - Transactions
      summary: Retrieve all account's direct debits
      security:
      - AccessToken:
        - accounts
      description: 'Get a list of all the direct debits for a specific user account.


        :::note

        In compliance with PSD2 SCA regulations, access to this endpoint is only allowed within the first 5 minutes after the Revolut user has authorised the consent.

        After those 5 minutes, access to this endpoint is denied, and an HTTP `403` error is returned.

        :::


        See also [Tutorials: Get account and transaction information](https://developer.revolut.com/docs/guides/build-banking-apps/tutorials/get-account-and-transaction-information).'
      operationId: GetAccountsAccountIdDirectDebits
      parameters:
      - name: AccountId
        in: path
        description: The ID of the account.
        required: true
        schema:
          type: string
      - name: x-fapi-financial-id
        in: header
        description: 'The unique ID of the [ASPSP](https://developer.revolut.com/docs/guides/build-banking-apps/glossary) that the request is issued to.

          The ID of Revolut is `001580000103UAvAAM`.'
        required: true
        schema:
          type: string
      - name: x-fapi-customer-last-logged-time
        in: header
        description: 'The date and time when the [PSU](https://developer.revolut.com/docs/guides/build-banking-apps/glossary) last logged in with the [TPP](https://developer.revolut.com/docs/guides/build-banking-apps/glossary).


          All dates in the HTTP headers are represented as [RFC 7231](https://datatracker.ietf.org/doc/html/rfc7231#section-7.1.1.1) Full Dates.

          For example: <nobr>`Sun, 10 Sep 2017 19:43:31 UTC`</nobr>.'
        schema:
          pattern: ^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \d{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \d{4} \d{2}:\d{2}:\d{2} (GMT|UTC)$
          type: string
      - name: x-fapi-customer-ip-address
        in: header
        description: The IP address of the [PSU](https://developer.revolut.com/docs/guides/build-banking-apps/glossary) if the PSU is logged in with the [TPP](https://developer.revolut.com/docs/guides/build-banking-apps/glossary).
        schema:
          type: string
      - name: x-fapi-interaction-id
        in: header
        description: An [RFC4122](https://datatracker.ietf.org/doc/html/rfc4122) UUID used as a correlation ID.
        schema:
          type: string
      - name: Authorization
        in: header
        description: 'The access token that you''ve generated.

          For more information, see [Generate an access token](https://developer.revolut.com/docs/guides/build-banking-apps/tutorials/get-account-and-transaction-information).'
        required: true
        schema:
          type: string
      - name: x-customer-user-agent
        in: header
        description: The user agent that the [PSU](https://developer.revolut.com/docs/guides/build-banking-apps/glossary) is using.
        schema:
          type: string
      responses:
        '200':
          description: Direct Debits Read
          headers:
            x-fapi-interaction-id:
              description: An [RFC4122](https://datatracker.ietf.org/doc/html/rfc4122) UUID used as a correlation ID.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OBReadDirectDebit1'
              example:
                Data:
                  DirectDebit:
                  - AccountId: d48e9496-xxxx-4af1-xxxx-8b20fc362bd3
                    DirectDebitId: 631b8ea1-5678-48d1-1234-25ccba25eb40
                    MandateIdentification: a028-45ee
                    DirectDebitStatusCode: Active
                    Name: DirectDebit name
                    PreviousPaymentAmount:
                      Amount: '50.00'
                      Currency: EUR
                Links:
                  Self: https://oba-auth.revolut.com/accounts/d48e9496-xxxx-4af1-xxxx-8b20fc362bd3/direct-debits
                Meta:
                  TotalPages: 1
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OBErrorResponse1'
        '401':
          description: 'Unauthorized


            Returned, for instance, when the access token has expired or is invalid, for example, when the consent has been revoked, or when the consent lacks necessary permissions.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OBErrorResponse1'
              examples:
                consent_revoked:
                  $ref: '#/components/examples/Error401InvalidRevokedOrExpiredToken'
                no_permissions:
                  $ref: '#/components/examples/Error401ConsentLacksPermissions'
        '403':
          description: 'Forbidden


            Returned, for example, when the 5-minute [SCA](https://www.openbanking.org.uk/glossary/strong-customer-authentication/) session has expired.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OBErrorResponse1'
              examples:
                sca_expired:
                  $ref: '#/components/examples/Error403ForbiddenAccess'
        '405':
          description: Method Not Allowed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OBErrorResponse1'
        '406':
          description: Not Acceptable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OBErrorResponse1'
        '429':
          description: Too Many Requests
          headers:
            Retry-After:
              description: Time in seconds to wait before you make a new request.
              schema:
                type: integer
          content: {}
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OBErrorResponse1'
  /accounts/{AccountId}/standing-orders:
    get:
      tags:
      - Transactions
      summary: Retrieve all account's standing orders
      security:
      - AccessToken:
        - accounts
      description: 'Get a list of all the standing orders for a specific user account.


        :::note

        In compliance with PSD2 SCA regulations, access to this endpoint is only allowed within the first 5 minutes after the Revolut user has authorised the consent.

        After those 5 minutes, access to this endpoint is denied, and an HTTP `403` error is returned.

        :::


        See also [Tutorials: Get account and transaction information](https://developer.revolut.com/docs/guides/build-banking-apps/tutorials/get-account-and-transaction-information).'
      operationId: GetAccountsAccountIdStandingOrders
      parameters:
      - name: AccountId
        in: path
        description: The ID of the account.
        required: true
        schema:
          type: string
      - name: x-fapi-financial-id
        in: header
        description: 'The unique ID of the [ASPSP](https://developer.revolut.com/docs/guides/build-banking-apps/glossary) that the request is issued to.

          The ID of Revolut is `001580000103UAvAAM`.'
        required: true
        schema:
          type: string
      - name: x-fapi-customer-last-logged-time
        in: header
        description: 'The date and time when the [PSU](https://developer.revolut.com/docs/guides/build-banking-apps/glossary) last logged in with the [TPP](https://developer.revolut.com/docs/guides/build-banking-apps/glossary).


          All dates in the HTTP headers are represented as [RFC 7231](https://datatracker.ietf.org/doc/html/rfc7231#section-7.1.1.1) Full Dates.

          For example: <nobr>`Sun, 10 Sep 2017 19:43:31 UTC`</nobr>.'
        schema:
          pattern: ^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \d{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \d{4} \d{2}:\d{2}:\d{2} (GMT|UTC)$
          type: string
      - name: x-fapi-customer-ip-address
        in: header
        description: The IP address of the [PSU](https://developer.revolut.com/docs/guides/build-banking-apps/

# --- truncated at 32 KB (88 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/revolut/refs/heads/main/openapi/revolut-transactions-api-openapi.yml