curl --request GET \
--url https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "01a13aa3-cc15-709b-a6e0-7cb9cc3a2385",
"walletId": "019ff097-fc59-7310-aa41-3187cbe6c158",
"payerId": "01a1547d-9495-71ae-b747-dd593df7e32a",
"status": "NEW",
"amount": 100.25,
"intentFee": 0.75,
"paymentFee": 0.75,
"currencyId": "GBP",
"reference": "G6MGTR6G0R4WW2YP25",
"paymentId": "01a1547d-aa2e-709e-878a-e61d83157acc",
"expiresAt": 1792166400000,
"createdAt": 1792162800000,
"updatedAt": 1792162860000
}
]{
"name": "Bad Request",
"message": "<string>",
"status": 400
}{
"name": "Unauthorized",
"message": "Your request was made with invalid credentials.",
"status": 401
}{
"status": "ERROR",
"error": {
"code": 404,
"message": "Not Found"
}
}GET /v1/wallet/{walletId}/deposit/bank/intent
Returns Open Banking deposit intents for a wallet accessible to the authenticated user, including closed wallets. Results are paginated and sorted by creation time descending by default. Intents with the same creation time are ordered by ID in the same direction. Returns an empty array when no intents match.
curl --request GET \
--url https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.finsei.com/v1/wallet/{walletId}/deposit/bank/intent")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "01a13aa3-cc15-709b-a6e0-7cb9cc3a2385",
"walletId": "019ff097-fc59-7310-aa41-3187cbe6c158",
"payerId": "01a1547d-9495-71ae-b747-dd593df7e32a",
"status": "NEW",
"amount": 100.25,
"intentFee": 0.75,
"paymentFee": 0.75,
"currencyId": "GBP",
"reference": "G6MGTR6G0R4WW2YP25",
"paymentId": "01a1547d-aa2e-709e-878a-e61d83157acc",
"expiresAt": 1792166400000,
"createdAt": 1792162800000,
"updatedAt": 1792162860000
}
]{
"name": "Bad Request",
"message": "<string>",
"status": 400
}{
"name": "Unauthorized",
"message": "Your request was made with invalid credentials.",
"status": 401
}{
"status": "ERROR",
"error": {
"code": 404,
"message": "Not Found"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Wallet UUID or numeric wallet ID (up to 9 digits).
Query Parameters
Inclusive lower bound for creation time. Unix timestamp in milliseconds; normalized to whole seconds before filtering.
Inclusive upper bound for creation time. Unix timestamp in milliseconds; normalized to whole seconds before filtering. Must be greater than or equal to createdFrom after normalization.
Page number, starting from 1.
x >= 1Number of items per page.
1 <= x <= 50Sort by creation time: createdAt for ascending order, -createdAt for descending order.
createdAt, -createdAt Response
Deposit intents. Pagination metadata is returned in response headers.
Deposit intent ID.
"01a13aa3-cc15-709b-a6e0-7cb9cc3a2385"
Wallet UUID.
"019ff097-fc59-7310-aa41-3187cbe6c158"
Payer ID.
"01a1547d-9495-71ae-b747-dd593df7e32a"
Deposit intent status.
NEW, PENDING_USER_ACTION, PENDING_CREDIT, PAYMENT_RECEIVED, PAYMENT_COMPLIANCE, PAYMENT_PROCESS, PAYMENT_FAILED, SETTLED, EXPIRED, FAILED Top-up amount in major currency units, using the currency's decimal precision.
100.25
Open Banking fee in major currency units, excluding the incoming payment fee.
0.75
Incoming payment fee in major currency units, excluding the Open Banking fee. Null when no linked credit payment is found.
0.75
Wallet currency code.
"GBP"
Payment reference.
"G6MGTR6G0R4WW2YP25"
Linked credit payment UUID; null before a payment is linked.
"01a1547d-aa2e-709e-878a-e61d83157acc"
Expiration Unix timestamp in milliseconds; null when not set.
1792166400000
Creation Unix timestamp in milliseconds.
1792162800000
Last update Unix timestamp in milliseconds.
1792162860000