POST
/
api
/
v1
/
onramp
/
Create On-Ramp Order
curl --request POST \
  --url https://skala-sandbox.ripio.com/api/v1/onramp/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customerId": "b6cecc1f-c90d-424b-adaa-c82b780696c1",
  "quoteId": "8142b065-79c4-4f48-9e33-11b17bc658d4",
  "depositAddress": "0x4e88BBeFF059BDDF5BF90ee0816E86eDf4214b32",
  "externalRef": "e6c4f1ec-899f-43b5-8479-c2529e3f9c70"
}'
{
  "transaction": {
    "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",
    "paymentMethodType": "wire",
    "depositAddress": "<string>",
    "status": "WITHDRAWAL_PENDING",
    "externalRef": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "fiatPaymentInstructions": [
    {
      "fieldName": "cvu",
      "value": "0100000000000000000001",
      "type": "TEXT"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Details for creating an on-ramp order.

customerId
string<uuid>
required

Unique identifier for the customer.

Example:

"b6cecc1f-c90d-424b-adaa-c82b780696c1"

quoteId
string<uuid>
required

Unique identifier for the quote obtained from the Quoting Endpoint.

Example:

"8142b065-79c4-4f48-9e33-11b17bc658d4"

depositAddress
string
required

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

Example:

"0x4e88BBeFF059BDDF5BF90ee0816E86eDf4214b32"

externalRef
string<uuid>
required

Unique identifier for the order that is being created, provided by the partner.

Example:

"e6c4f1ec-899f-43b5-8479-c2529e3f9c70"

Response

On-Ramp order created successfully.

transaction
object
required

Details of an on-ramp transaction.

fiatPaymentInstructions
object[]
required

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