GET /aged-wallets/keys/:orderId
Download the private keys of a FULFILLED order.
The keys are read fresh on every call and the endpoint never accepts an
Idempotency-Key, so keys are not cached by the API. Prefer
import when you only need to use the wallets in Orbitt.
warning
The response contains private keys. Never log it, and store it only somewhere you would store any wallet secret.
Use case
Take the wallets out of Orbitt to use them elsewhere.
Path params
| Param | Required | Description |
|---|---|---|
orderId | yes | Aged-wallets order id. |
Response 200
{
"orderId": "665f1c2e9b1d4a0012345678",
"wallets": [
{ "sPublicKey": "<public key>", "sSecretKey": "<secret key>" }
],
"missing": []
}
| Field | Description |
|---|---|
wallets[] | Delivered wallets: public key and secret key. |
missing | Public keys whose secret could not be read. |
Errors
| Status | Meaning |
|---|---|
400 | orderId malformed. |
404 | Order not found or not yours. |
409 | Order is not FULFILLED yet. |
Example
curl -H "Authorization: Bearer $ACCESS" -H "x-user-id: $USER_ID" \
"$BASE_URL/aged-wallets/keys/<orderId>"