List Sell and Pay transactions
curl --request GET \
--url https://skala-sandbox.ripio.com/api/v1/sellAndPays/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://skala-sandbox.ripio.com/api/v1/sellAndPays/"
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/sellAndPays/', 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/sellAndPays/",
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/sellAndPays/"
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/sellAndPays/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://skala-sandbox.ripio.com/api/v1/sellAndPays/")
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>",
"results": [
{
"id": "a3b2c1d0-1234-5678-90ab-cdef12345678",
"createdAt": "2024-01-26T12:45:00.078230Z",
"expiresAt": "2024-01-26T13:45:00.078230Z",
"customerId": "b6cecc1f-c90d-424b-adaa-c82b780696c1",
"trade": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"externalRef": "<string>",
"customerId": "<string>",
"quoteId": "<string>",
"txnId": "<string>",
"baseAsset": "<string>",
"quoteAsset": "<string>",
"baseAmount": "<string>",
"quoteAmount": "<string>",
"rate": "<string>",
"marketRate": "<string>",
"chargedFee": "<string>",
"cryptoChargedFee": "<string>",
"deferredChargedFee": "<string>",
"feeChargedInFiat": "<string>"
},
"paymentOrder": {
"id": "<string>",
"customerId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"merchant": "<string>",
"qrCode": "<string>",
"amount": "<string>",
"currency": "<string>",
"providerTxnId": "<string>"
},
"amount": "10000.50",
"cryptoAmount": "10.25",
"paymentCurrency": "ARS",
"depositCurrency": "USDC",
"depositNetwork": "ETHEREUM",
"depositAddress": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
"cryptoDeposit": {
"id": "<string>",
"txnId": "<string>",
"hash": "<string>",
"currencyCode": "<string>",
"addressDestination": "<string>",
"confirmationDate": "2023-11-07T05:31:56Z",
"amount": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"status": "<string>",
"network": "<string>"
},
"status": "PENDING",
"refundAddress": "<string>",
"refundTxnHash": "0xdef789abc456..."
}
]
}{
"code": 40001,
"type": "NotAuthenticated",
"detail": {
"message": "Authentication credentials were not provided.",
"code": "not_authenticated"
},
"status": 401
}{
"code": 40003,
"type": "QrPaymentsNotEnabledException",
"detail": {
"message": "QR payments are not enabled for this account."
},
"status": 403
}Sell and Pay
List Sell and Pay transactions
Retrieves a paginated list of Sell and Pay transactions.
GET
/
api
/
v1
/
sellAndPays
/
List Sell and Pay transactions
curl --request GET \
--url https://skala-sandbox.ripio.com/api/v1/sellAndPays/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://skala-sandbox.ripio.com/api/v1/sellAndPays/"
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/sellAndPays/', 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/sellAndPays/",
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/sellAndPays/"
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/sellAndPays/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://skala-sandbox.ripio.com/api/v1/sellAndPays/")
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>",
"results": [
{
"id": "a3b2c1d0-1234-5678-90ab-cdef12345678",
"createdAt": "2024-01-26T12:45:00.078230Z",
"expiresAt": "2024-01-26T13:45:00.078230Z",
"customerId": "b6cecc1f-c90d-424b-adaa-c82b780696c1",
"trade": {
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"externalRef": "<string>",
"customerId": "<string>",
"quoteId": "<string>",
"txnId": "<string>",
"baseAsset": "<string>",
"quoteAsset": "<string>",
"baseAmount": "<string>",
"quoteAmount": "<string>",
"rate": "<string>",
"marketRate": "<string>",
"chargedFee": "<string>",
"cryptoChargedFee": "<string>",
"deferredChargedFee": "<string>",
"feeChargedInFiat": "<string>"
},
"paymentOrder": {
"id": "<string>",
"customerId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"merchant": "<string>",
"qrCode": "<string>",
"amount": "<string>",
"currency": "<string>",
"providerTxnId": "<string>"
},
"amount": "10000.50",
"cryptoAmount": "10.25",
"paymentCurrency": "ARS",
"depositCurrency": "USDC",
"depositNetwork": "ETHEREUM",
"depositAddress": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
"cryptoDeposit": {
"id": "<string>",
"txnId": "<string>",
"hash": "<string>",
"currencyCode": "<string>",
"addressDestination": "<string>",
"confirmationDate": "2023-11-07T05:31:56Z",
"amount": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"status": "<string>",
"network": "<string>"
},
"status": "PENDING",
"refundAddress": "<string>",
"refundTxnHash": "0xdef789abc456..."
}
]
}{
"code": 40001,
"type": "NotAuthenticated",
"detail": {
"message": "Authentication credentials were not provided.",
"code": "not_authenticated"
},
"status": 401
}{
"code": 40003,
"type": "QrPaymentsNotEnabledException",
"detail": {
"message": "QR payments are not enabled for this account."
},
"status": 403
}Authorizations
Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>.
Query Parameters
Maximum number of items to return.
Required range:
x >= 1Starting point to limit the total items to return (for pagination).
Required range:
x >= 0Response
A paginated list of Sell and Pay transactions.
Total number of items across all pages.
URL to the next page of results. Null if no next page.
URL to the previous page of results. Null if no previous page.
Array of Sell and Pay transaction objects for the current page.
Show child attributes
Show child attributes
Was this page helpful?
⌘I