GET
/
api
/
v1
/
offrampSession
/
{sessionId}
/
Retrieve an Off-Ramp Session
curl --request GET \
  --url https://skala-sandbox.ripio.com/api/v1/offrampSession/{sessionId}/ \
  --header 'Authorization: Bearer <token>'
{
  "sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdAt": "2023-11-07T05:31:56Z",
  "toCurrency": "<string>",
  "paymentMethodType": "<string>",
  "fiatAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "depositAddresses": [
    {
      "chain": "ETHEREUM",
      "address": "0x1234567890AbCdEf1234567890AbCdEf1234567890"
    }
  ],
  "orders": [
    {
      "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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

sessionId
string<uuid>
required

Unique identifier for the session.

Response

Details of the off-ramp session.

sessionId
string<uuid>
required

Unique identifier for the created off-ramp session.

customerId
string<uuid>
required

Unique identifier for the customer associated with the session.

createdAt
string<date-time>
required

Date and time the off-ramp session was created.

toCurrency
string
required

The target fiat currency for every off-ramp transaction performed with the created session.

paymentMethodType
string
required

The fiat payment method through which the transactions will be performed.

fiatAccountId
string<uuid>
required

Unique identifier for the customer's chosen fiat account.

depositAddresses
object[]
required

A list containing cryptocurrency deposit addresses for supported blockchains.

orders
object[]
required

A list containing every order that has been either started or completed through this session. On creation, will always be empty.