Skip to main content
GET
/
api
/
v1
/
offramp
/
List Off-Ramp Orders
curl --request GET \
  --url https://skala-sandbox.ripio.com/api/v1/offramp/ \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://skala-sandbox.ripio.com/api/v1/offramp/"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://skala-sandbox.ripio.com/api/v1/offramp/', 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://skala-sandbox.ripio.com/api/v1/offramp/",
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://skala-sandbox.ripio.com/api/v1/offramp/"

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://skala-sandbox.ripio.com/api/v1/offramp/")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://skala-sandbox.ripio.com/api/v1/offramp/")

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
{
  "count": 123,
  "next": "<string>",
  "previous": "<string>",
  "transactions": [
    {
      "transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "2023-11-07T05:31:56Z",
      "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "fromCurrency": "USDC",
      "toCurrency": "ARS",
      "amount": "<string>",
      "chain": "ETHEREUM",
      "status": "<string>",
      "txnHash": "<string>",
      "providerId": "<string>",
      "finishedAt": "<string>"
    }
  ]
}
{
"code": 123,
"type": "<string>",
"detail": {
"message": "<string>"
},
"status": 123
}
{
"code": 40001,
"type": "NotAuthenticated",
"detail": {
"message": "Authentication credentials were not provided.",
"code": "not_authenticated"
},
"status": 401
}

Authorizations

Authorization
string
header
required

Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>.

Query Parameters

startDate
string<date-time>

Filter orders/sessions created after this date (ISO 8601 format).

endDate
string<date-time>

Filter orders/sessions created before this date (ISO 8601 format).

limit
integer
default:100

Maximum number of items to return.

Required range: x >= 1
offset
integer

Starting point to limit the total items to return (for pagination).

Required range: x >= 0

Response

A paginated list of off-ramp orders.

count
integer

Total number of items across all pages.

next
string<uri> | null

URL to the next page of results. Null if no next page.

previous
string<uri> | null

URL to the previous page of results. Null if no previous page.

transactions
object[]

Array of Off-Ramp order objects for the current page.