Transactions
GEThttps://sandbox.bankhub.dev/transactions
Retrieve transaction data
Request
Responses
- 200
Success
Authorization: x-client-id
name: x-client-idtype: apiKeydescription: Your bankHub API client-id.in: header
name: x-secret-keytype: apiKeydescription: Your bankHub API secret-key.in: header
name: Authorizationtype: apiKeydescription: The access token associated with the Grant data is being requested for.in: header
- python
- curl
- csharp
- go
- nodejs
- ruby
- php
- java
- powershell
- dart
- javascript
- c
- objective-c
- ocaml
- r
- swift
- kotlin
- rust
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("sandbox.bankhub.dev")
payload = ''
headers = {
'Accept': 'application/json',
'x-client-id': '<x-client-id>',
'x-secret-key': '<x-client-id>',
'Authorization': '<x-client-id>'
}
conn.request("GET", "/transactions", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear