Get a wallet action

Fetch one action, with its authorizations.

curl -X GET "https://sandbox.rasto.co/api/wallets/credentials/wcr_03567dB0OlrqCpJ7d8GIp9/actions/wca_03567hhKDrsmd9ywCPg9LI" \
  -H "Content-Type: application/json" \
  -H "Api-Version: 2026-08-01" \
  -H "Api-Key: YOUR_API_KEY"
{
  "authorizations": [
    {
      "action_id": "wca_03567hhKDrsmd9ywCPg9LI",
      "chain": "solana",
      "created_at": "2026-11-29T18:01:34.760140+00:00",
      "expires_at": "2026-11-29T18:02:36.007679+00:00",
      "id": "wau_03567hk2xmHyQYHdvQYxiK",
      "kind": "action",
      "network": "testnet",
      "object": "wallet_authorization",
      "partner_reference_id": null,
      "payload": {
        "format": "solana_message",
        "message": "eyJhY3Rpb25faWQiOiAid2NhXzAzNTY3aGhLRHJzbWQ5eXdDUGc5TEkiLCAiY2hhaW4iOiAic29sYW5hIiwgImtpbmQiOiAi...",
        "message_version": "legacy"
      },
      "signer": {
        "key": "72SE7cez3GLt8VrWA9je73tfWeo8z5tQV5aZdBLMyfjU",
        "role": "recovery"
      },
      "status": "pending",
      "summary": {},
      "supersedes": null,
      "transaction_id": null,
      "wallet_id": null
    }
  ],
  "completed_at": null,
  "created_at": "2026-11-29T18:01:34.760140+00:00",
  "expires_at": "2026-11-29T18:02:36.007679+00:00",
  "failure_code": null,
  "id": "wca_03567hhKDrsmd9ywCPg9LI",
  "kind": "freeze",
  "object": "wallet_action",
  "required": 1,
  "status": "awaiting_authorization",
  "wallet_credential_id": "wcr_03567dAE32COhj6nsKq1uY"
}
GET
/api/wallets/credentials/{credential_id}/actions/{action_id}
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: Api-Key)
Api-Keystring
Required

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.

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
credential_idstring
Required

The wallet credential's id (wcr_...).

path
action_idstring
Required

The wallet action's id (wca_...).

header
Api-Versionstring

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

header
Api-Keystring
Required

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

credential_idstring
Required

The wallet credential's id (wcr_...).

Example:
wcr_03567dB0OlrqCpJ7d8GIp9
action_idstring
Required

The wallet action's id (wca_...).

Example:
wca_03567hhKDrsmd9ywCPg9LI

Headers

Api-Versionstring

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.

Example:
2026-08-01

Responses

authorizationsarray

The action's current wallet_authorization objects: what your keys are asked to sign.

completed_atstring

When the action took effect, as an ISO 8601 timestamp. null until then.

created_atstring

When the object was created, as an ISO 8601 timestamp.

expires_atstring

When the action's unsigned authorizations lapse, as an ISO 8601 timestamp. null when it has no expiry.

failure_codestring

Our code for why the action failed. null unless it failed.

idstring

The object's unique identifier. Its prefix names the object kind, for example cus_ for a customer.

kindstring

What the action does: setup, freeze, unfreeze, rotate_signing_keys, update_spending_limit, recover or void_authorization.

objectstring

The kind of object this is, for example customer or transaction. Every object the API returns carries it.

requiredinteger

How many of the action's current authorizations must be signed.

statusstring

The action's status: awaiting_authorization, processing, completed, failed or expired.

wallet_credential_idstring

The wallet credential the action acts on.