Skip to main content

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​

ParamRequiredDescription
orderIdyesAged-wallets order id.

Response 200​

{
"orderId": "665f1c2e9b1d4a0012345678",
"wallets": [
{ "sPublicKey": "<public key>", "sSecretKey": "<secret key>" }
],
"missing": []
}
FieldDescription
wallets[]Delivered wallets: public key and secret key.
missingPublic keys whose secret could not be read.

Errors​

StatusMeaning
400orderId malformed.
404Order not found or not yours.
409Order is not FULFILLED yet.

Example​

curl -H "Authorization: Bearer $ACCESS" -H "x-user-id: $USER_ID" \
"$BASE_URL/aged-wallets/keys/<orderId>"