Onramps#Index

Fetch all onramps associated with a user

Example Request

curl https://{{base_url}}/users/USER_ID/onramps \
-X GET \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-type: application/json" \

Endpoint Information

Index Onramps

GET https://{{base_url}}/users/:user_id/onramps

Path Parameters

NameTypeDescription

user_id*

UUID

The ID in Pay.so for the user whose onramps you want to fetch.

{ 
   "onramps": [
      {
        id: "074cb3e4-1f56-4916-8024-ecbf6f805b90",
        user_id: "a25a4274-8f50-4579-b476-8f35b297d4ad",
        status: "initiated",
        crypto_currency: "usdc",
        crypto_rails: "polygon",
        destination_amount: 1000,
        destination_address: "0x709c56AfDAdBDCAB4f7a6aAe99644C91C3eF67eF",
        fiat_currency: "usd",
        fiat_rails: "ach_push",
        despoit_amount: 1004,
        fee: 4
      },
      {
        id: "100064de-3e83-4c32-aa4f-a0e001474283",
        user_id: "cc76e0e4-bfc0-477c-8698-b3a5b1b8a41b",
        status: "initiated",
        crypto_currency: "usdc",
        crypto_rails: "polygon",
        destination_amount: 2500,
        destination_address: "0x709c56AfDAdBDCAB4f7a6aAe99644C91C3eF67eF",
        fiat_currency: "usd",
        fiat_rails: "wire",
        deposit_amount: 2510,
        fee: 10
      }
   ]
}

Last updated