curl --request GET \
--url https://api.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions', 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.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions",
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.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions"
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.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions")
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{
"success": true,
"result": [
{
"id": "5e6f7081-92a3-4b4c-8d5e-6f708192a3b4",
"accountId": "b2a1f0e9-8c7d-4e3a-9f21-0a1b2c3d4e5f",
"status": "PAYMENT_RECEIVED",
"inAmount": 100,
"inCurrency": "EUR",
"outCryptocurrency": "USDC",
"paymentUrl": "https://pay.example.com/session/5e6f708192a3b4c8",
"externalRef": "order-67890",
"walletId": "9f8e7d6c-5b4a-4938-8271-6a5b4c3d2e1f",
"blockchainTxId": null,
"cancellable": false,
"expiresAt": "2026-01-15T10:30:00Z",
"metadata": {
"orderId": "67890"
},
"idempotencyKey": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2026-01-15T09:30:00Z",
"updatedAt": "2026-01-15T09:41:12Z"
}
],
"pagination": {
"pageNumber": 1,
"pageSize": 20,
"numberOfElements": 1,
"numberOfPages": 1,
"hasNextPage": false,
"hasPreviousPage": false
}
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "unauthenticated",
"message": "Please authenticate to perform this action."
}
]
}{
"success": false,
"errors": [
{
"code": "forbidden",
"message": "You do not have permission to access this resource."
}
]
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "internal-error",
"message": "An unexpected error occurred. Please try again later."
}
]
}List pay-in sessions
List an account’s fiat-to-crypto pay-in sessions, newest first.
curl --request GET \
--url https://api.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions', 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.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions",
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.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions"
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.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venlyfinance.com/v1/accounts/{accountId}/fiat-to-crypto/payment-sessions")
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{
"success": true,
"result": [
{
"id": "5e6f7081-92a3-4b4c-8d5e-6f708192a3b4",
"accountId": "b2a1f0e9-8c7d-4e3a-9f21-0a1b2c3d4e5f",
"status": "PAYMENT_RECEIVED",
"inAmount": 100,
"inCurrency": "EUR",
"outCryptocurrency": "USDC",
"paymentUrl": "https://pay.example.com/session/5e6f708192a3b4c8",
"externalRef": "order-67890",
"walletId": "9f8e7d6c-5b4a-4938-8271-6a5b4c3d2e1f",
"blockchainTxId": null,
"cancellable": false,
"expiresAt": "2026-01-15T10:30:00Z",
"metadata": {
"orderId": "67890"
},
"idempotencyKey": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2026-01-15T09:30:00Z",
"updatedAt": "2026-01-15T09:41:12Z"
}
],
"pagination": {
"pageNumber": 1,
"pageSize": 20,
"numberOfElements": 1,
"numberOfPages": 1,
"hasNextPage": false,
"hasPreviousPage": false
}
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "unauthenticated",
"message": "Please authenticate to perform this action."
}
]
}{
"success": false,
"errors": [
{
"code": "forbidden",
"message": "You do not have permission to access this resource."
}
]
}{
"success": false,
"errors": [
{
"code": "invalid-request",
"message": "The request contains invalid parameters."
}
],
"result": {}
}{
"success": false,
"errors": [
{
"code": "internal-error",
"message": "An unexpected error occurred. Please try again later."
}
]
}400 no-suitable-provider. To receive fiat today, use a virtual bank account.manage:pay-in-sessions — see Required scopes.
Returns the account’s pay-in sessions from persisted state — the provider is never called. Use it for a deposits view, or to recover a session whose callbackUrl notification was missed.
PAYMENT_RECEIVED; the conversion and crypto credit are a separate pay-in. Don’t wait for a “completed” session status — there is none.updatedAt descending and read only the first page, sized above your expected change volume. from/to bound createdAt, so there is no “changed since” filter.Authorizations
OAuth2 client credentials flow. Token endpoints:
- Token URL
- https://login-staging.venly.io/auth/realms/VenlyFinance/protocol/openid-connect/token
Headers
Which tenant the request is scoped to, among those your token grants. Omit it when the token grants exactly one tenant; it is required when the token grants more than one. A supplied value must exactly match a tenant the token grants.
Absent when required, blank, malformed, or naming a tenant the token does not grant — each gets
the same generic 403 forbidden, which reveals neither whether a tenant exists nor which ones
you may use. Send the header once: a repeated header is rejected the same way.
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
Path Parameters
Unique account identifier
Query Parameters
Filter by session status
Status of a fiat-to-crypto pay-in session. A session is an initiation-only record: it tracks
the fiat payment being initiated, not its settlement. On the happy path it terminates at
PAYMENT_RECEIVED; conversion and the crypto credit are tracked as a
pay-in. There is deliberately no "completed"
value — CONVERTING, MINTING and COMPLETED were removed in 1.8.0.
CREATED— persisted, not yet handed to the providerPENDING_PAYMENT— awaiting the payer to complete the fiat paymentPAYMENT_RECEIVED— fiat payment confirmed. Terminal on the happy pathFAILED— the session could not be initiated or the payment failedEXPIRED— the session passedexpiresAtunpaidCANCELLED— cancelled before paymentREFUNDING— a refund of the received fiat is in progressREFUNDED— the received fiat was refunded
CREATED, PENDING_PAYMENT, PAYMENT_RECEIVED, FAILED, EXPIRED, CANCELLED, REFUNDING, REFUNDED Lower bound on createdAt, inclusive (ISO-8601 instant)
Upper bound on createdAt, exclusive (ISO-8601 instant)
Page number (1-based indexing)
x >= 1Number of items per page
x >= 1createdAt or updatedAt. Omitted means createdAt descending.
createdAt, updatedAt Sort direction. Applied only together with sortOn — on its own it is ignored and the
default ordering (createdAt descending) is used, so ?sortOrder=ASC alone does not reverse a list.
ASC, DESC Was this page helpful?

