Skip to main content
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>'
{
  "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..."
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

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 Sell and Pay transactions.

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.

results
object[]

Array of Sell and Pay transaction objects for the current page.