Get a wallet credential
Fetch one wallet credential.
curl -X GET "https://sandbox.rasto.co/api/wallets/credentials/wcr_03567dB0OlrqCpJ7d8GIp9" \
-H "Content-Type: application/json" \
-H "Api-Version: 2026-08-01" \
-H "Api-Key: YOUR_API_KEY"
import requests
import json
url = "https://sandbox.rasto.co/api/wallets/credentials/wcr_03567dB0OlrqCpJ7d8GIp9"
headers = {
"Content-Type": "application/json",
"Api-Version": "2026-08-01",
"Api-Key": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
const response = await fetch("https://sandbox.rasto.co/api/wallets/credentials/wcr_03567dB0OlrqCpJ7d8GIp9", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Api-Version": "2026-08-01",
"Api-Key": "YOUR_API_KEY"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("GET", "https://sandbox.rasto.co/api/wallets/credentials/wcr_03567dB0OlrqCpJ7d8GIp9", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Api-Version", "2026-08-01")
req.Header.Set("Api-Key", "YOUR_API_KEY")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://sandbox.rasto.co/api/wallets/credentials/wcr_03567dB0OlrqCpJ7d8GIp9')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Get.new(uri)
request['Content-Type'] = 'application/json'
request['Api-Version'] = '2026-08-01'
request['Api-Key'] = 'YOUR_API_KEY'
response = http.request(request)
puts response.body
{
"activated_at": null,
"chain_family": "solana",
"created_at": "2026-11-29T17:58:37.307243+00:00",
"id": "wcr_03567dAE32COhj6nsKq1uY",
"network": "testnet",
"object": "wallet_credential",
"recovery_keys": {
"keys": [
"72SE7cez3GLt8VrWA9je73tfWeo8z5tQV5aZdBLMyfjU"
],
"threshold": 1
},
"signing_keys": [
{
"algorithm": "ed25519",
"key": "7UGibMePNWG9LiZu9c2uAPibc8BrKmivotahonJ61AEr",
"status": "active"
}
],
"spending_limit": {
"currency": "usdc",
"per_wallet": "10000",
"period": "day",
"total": null
},
"status": "active"
}
{
"error": {
"code": "missing_api_key",
"kind": "authentication_error",
"message": "Provide your secret key in the Api-Key header.",
"param": null,
"request_id": "req_03567lIgFNpxtvViasmTMm"
}
}
{
"error": {
"code": "wallet_credential_not_found",
"kind": "not_found_error",
"message": "No such wallet credential.",
"param": null,
"request_id": "req_03567lIgde9QKb0eLSC3Wm"
}
}
{
"error": {
"code": "rate_limited",
"kind": "rate_limit_error",
"message": "Too many requests. Back off and retry after the indicated delay.",
"param": null,
"request_id": "req_03567lIgFNpxtvViasmTMm"
}
}
{
"error": {
"code": "upstream_error",
"kind": "api_error",
"message": "The request could not be completed right now. Nothing was charged or changed; retry shortly, and contact support if it persists.",
"param": null,
"request_id": "req_03567lIgFNpxtvViasmTMm"
}
}
/api/wallets/credentials/{credential_id}Target server for requests. Edit to use your own host.
Your secret API key, sent in the Api-Key header on every request. Create keys on the dashboard. A sandbox key starts with sk_test_ and works only on https://sandbox.rasto.co; a live key starts with sk_live_ and works only on https://api.rasto.co. A read-only key can call every GET and is refused on anything that changes state. Keep keys on your server: never ship one in a browser or mobile app.
Api-Key header on every request. Create keys on the dashboard. A sandbox key starts with sk_test_ and works only on https://sandbox.rasto.co; a live key starts with sk_live_ and works only on https://api.rasto.co. A read-only key can call every GET and is refused on anything that changes state. Keep keys on your server: never ship one in a browser or mobile app.The wallet credential's id (wcr_...).
The API version to use for this request, as a date (YYYY-MM-DD). Optional: without it you get version 2026-08-01, and that never changes. A later breaking change reaches you only when you send its newer date. Supported: 2026-08-01.
Request Preview
Response
Response will appear here after sending the request
Authentication
API Key for authentication. Your secret API key, sent in the Api-Key header on every request. Create keys on the dashboard. A sandbox key starts with sk_test_ and works only on https://sandbox.rasto.co; a live key starts with sk_live_ and works only on https://api.rasto.co. A read-only key can call every GET and is refused on anything that changes state. Keep keys on your server: never ship one in a browser or mobile app.
Path Parameters
Headers
The API version to use for this request, as a date (YYYY-MM-DD). Optional: without it you get version 2026-08-01, and that never changes. A later breaking change reaches you only when you send its newer date. Supported: 2026-08-01.
2026-08-01Responses
When the credential's setup was verified, as an ISO 8601 timestamp. null until then.
The chain family the credential serves: evm or solana.
When the object was created, as an ISO 8601 timestamp.
The object's unique identifier. Its prefix names the object kind, for example cus_ for a customer.
The network the credential's chains are on: mainnet in live, testnet in sandbox.
The kind of object this is, for example customer or transaction. Every object the API returns carries it.
Your recovery keys: they own every wallet and sign each action on the credential.
The credential's signing keys. A key that an open action has only proposed is not listed.
What your signing keys may move per period.
The wallet credential's status: setup_required, active, frozen, rotating or revoked.