GET
/
core
/
rails
curl --request GET \
  --url https://api.enterprise.sandbox.uphold.com/core/rails \
  --header 'Authorization: Bearer <token>'
{
  "rails": [
    {
      "type": "crypto",
      "network": "bitcoin",
      "method": "crypto-transaction",
      "asset": "BTC",
      "decimals": 8,
      "features": [
        "deposit",
        "withdraw"
      ]
    },
    {
      "type": "crypto",
      "network": "ethereum",
      "method": "crypto-transaction",
      "asset": "USDC",
      "decimals": 6,
      "features": [
        "deposit",
        "withdraw"
      ],
      "contractAddress": "0xd6d663b601D63a0d1A651D61847Ec8134Eb3a3CF"
    },
    {
      "type": "card",
      "network": "visa",
      "method": "debit-card",
      "asset": "USD",
      "decimals": 2,
      "features": [
        "deposit",
        "withdraw"
      ]
    }
  ]
}

If the authenticated subject is a user, the response will be contextualized accordingly. As an example, the features field will indicate the available features for the user.

Authorizations

Authorization
string
header
required

OAuth 2.0 authentication.

Query Parameters

type
string[]

Filter rails by type.

Maximum length: 25
network
string[]

Filter rails by network code.

Maximum length: 25
method
string[]

Filter rails by method.

Maximum length: 25
asset
string[]

Filter rails by asset code.

Maximum length: 25

Response

200 - application/json

Rails retrieved.

rails
(Crypto rail · object | Card rail · object)[]