Skip to main content
GET
/
api
/
v1
/
onrampSession
/
{sessionId}
/
Retrieve an On-Ramp Session
curl --request GET \
  --url https://skala-sandbox.ripio.com/api/v1/onrampSession/{sessionId}/ \
  --header 'Authorization: Bearer <token>'
{
  "sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdAt": "2023-11-07T05:31:56Z",
  "currency": "<string>",
  "chain": "<string>",
  "depositAddress": "<string>",
  "fiatPaymentInstructions": {
    "cvu": "0000465160000000070078"
  },
  "transactions": [
    {
      "transactionId": "21d8a046-3221-4b43-a301-0f9adcdd9a45",
      "createdAt": "2023-11-07T05:31:56Z",
      "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "quoteId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "fromCurrency": "ARS",
      "toCurrency": "USDC",
      "amount": "<string>",
      "chain": "ETHEREUM_SEPOLIA",
      "metadata": {},
      "txnHash": null,
      "paymentMethodType": "wire",
      "depositAddress": "<string>",
      "status": "WITHDRAWAL_PENDING",
      "externalRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

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 on-ramp session.

sessionId
string<uuid>
required

Unique identifier for the created on-ramp session.

customerId
string<uuid>
required

Unique identifier for the customer associated with the session.

createdAt
string<date-time>
required

Date and time the on-ramp session was created.

currency
string
required

The target crypto currency for every on-ramp transaction performed with the created session.

chain
string
required

The blockchain network to be used for the conversion.

depositAddress
string
required

The customer's deposit address on the chosen blockchain network.

fiatPaymentInstructions
object
required

Instructions for the customer to complete the fiat deposit. Structure can vary.

Example:
{ "cvu": "0000465160000000070078" }
transactions
object[]

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