API Explorer

obp.getTransaction

Get Transaction

Format rabbitmq_vOct2024 Group Core Suggested order 1

Outbound message (OBP to adapter)
{
  "outboundAdapterCallContext": {
    "correlationId": "1flssoftxq0cr1nssr68u0mioj",
    "outboundAdapterAuthInfo": {
      "userId": "9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1",
      "username": "felixsmith",
      "linkedCustomers": [
        {
          "customerId": "7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh",
          "customerNumber": "5987953",
          "legalName": "Eveline Tripman"
        }
      ],
      "userAuthContext": [
        {
          "key": "CustomerNumber",
          "value": "5987953"
        }
      ],
      "authViews": [
        {
          "view": {
            "id": "owner",
            "name": "owner",
            "description": "This view is for the owner for the account."
          },
          "account": {
            "id": "8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0",
            "accountRoutings": [
              {
                "scheme": "IBAN",
                "address": "DE91 1000 0000 0123 4567 89"
              }
            ],
            "customerOwners": [
              {
                "bankId": "gh.29.uk",
                "customerId": "7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh",
                "customerNumber": "5987953",
                "legalName": "Eveline Tripman",
                "dateOfBirth": "2018-03-09T00:00:00Z"
              }
            ],
            "userOwners": [
              {
                "userId": "9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1",
                "emailAddress": "felixsmith@example.com",
                "name": "felixsmith"
              }
            ]
          }
        }
      ]
    },
    "outboundAdapterConsenterInfo": {
      "userId": "9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1",
      "username": "felixsmith",
      "linkedCustomers": [
        {
          "customerId": "7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh",
          "customerNumber": "5987953",
          "legalName": "Eveline Tripman"
        }
      ],
      "userAuthContext": [
        {
          "key": "CustomerNumber",
          "value": "5987953"
        }
      ],
      "authViews": [
        {
          "view": {
            "id": "owner",
            "name": "owner",
            "description": "This view is for the owner for the account."
          },
          "account": {
            "id": "8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0",
            "accountRoutings": [
              {
                "scheme": "IBAN",
                "address": "DE91 1000 0000 0123 4567 89"
              }
            ],
            "customerOwners": [
              {
                "bankId": "gh.29.uk",
                "customerId": "7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh",
                "customerNumber": "5987953",
                "legalName": "Eveline Tripman",
                "dateOfBirth": "2018-03-09T00:00:00Z"
              }
            ],
            "userOwners": [
              {
                "userId": "9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1",
                "emailAddress": "felixsmith@example.com",
                "name": "felixsmith"
              }
            ]
          }
        }
      ]
    }
  },
  "bankId": {
    "value": "gh.29.uk"
  },
  "accountId": {
    "value": "8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"
  },
  "transactionId": {
    "value": "2fg8a7e4-6d02-40e3-a129-0b2bf89de8ub"
  }
}
Inbound message (adapter to OBP)
{
  "inboundAdapterCallContext": {
    "correlationId": "1flssoftxq0cr1nssr68u0mioj"
  },
  "status": {
    "errorCode": "Status errorCode",
    "backendMessages": [
      {
        "source": "",
        "status": "",
        "errorCode": "",
        "text": "",
        "duration": "5.123"
      }
    ]
  },
  "data": {
    "id": {
      "value": "2fg8a7e4-6d02-40e3-a129-0b2bf89de8ub"
    },
    "thisAccount": {
      "accountId": {
        "value": "8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"
      },
      "accountType": "AC",
      "balance": "10",
      "currency": "EUR",
      "name": "bankAccount name string",
      "label": "My Account",
      "number": "bankAccount number string",
      "bankId": {
        "value": "gh.29.uk"
      },
      "lastUpdate": "2018-03-09T00:00:00Z",
      "branchId": "DERBY6",
      "accountRoutings": [
        {
          "scheme": "IBAN",
          "address": "DE91 1000 0000 0123 4567 89"
        }
      ],
      "accountRules": [
        {
          "scheme": "AccountRule scheme string",
          "value": "AccountRule value string"
        }
      ],
      "accountHolder": "bankAccount accountHolder string",
      "attributes": [
        {
          "name": "STATUS",
          "type": "STRING",
          "value": "closed"
        }
      ]
    },
    "otherAccount": {
      "kind": "Counterparty kind string",
      "counterpartyId": "9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh",
      "counterpartyName": "John Smith Ltd.",
      "thisBankId": {
        "value": ""
      },
      "thisAccountId": {
        "value": ""
      },
      "otherAccountRoutingScheme": "IBAN",
      "otherAccountRoutingAddress": "DE89370400440532013000",
      "isBeneficiary": false
    },
    "transactionType": "DEBIT",
    "amount": "19.64",
    "currency": "EUR",
    "description": "The piano lession-Invoice No:68",
    "startDate": "2019-09-07T00:00:00Z",
    "finishDate": "2019-09-08T00:00:00Z",
    "balance": "10",
    "status": " COMPLETED"
  }
}