Export wallet key
curl --request POST \
--url https://aropay.aro.media/api/v1/wallets/{id}/export \
--header 'Content-Type: application/json' \
--cookie aropay_session= \
--data '
{
"passphrase": "<string>"
}
'const options = {
method: 'POST',
headers: {cookie: 'aropay_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({passphrase: '<string>'})
};
fetch('https://aropay.aro.media/api/v1/wallets/{id}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aropay.aro.media/api/v1/wallets/{id}/export"
payload = { "passphrase": "<string>" }
headers = {
"cookie": "aropay_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"filename": "payouts-key.nota",
"nota": "…passphrase-encrypted key envelope…"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"ok": false,
"error": {
"code": "invalid_api_key",
"message": "Invalid API key."
}
}{
"ok": false,
"error": {
"code": "session_required",
"message": "This action requires a browser session."
}
}{
"ok": false,
"error": {
"code": "not_found",
"message": "Resource not found."
}
}{
"ok": false,
"error": {
"code": "rate_limited",
"message": "Too many requests. Try again shortly."
}
}{
"ok": false,
"error": {
"code": "internal_error",
"message": "An unexpected error occurred."
}
}Wallets
Export wallet key
Session-only. Export a custodial wallet’s private key as a
passphrase-encrypted .nota envelope (PBKDF2-SHA256 with 310,000
iterations + AES-256-GCM, applied server-side; the plaintext key
never leaves the platform). Only custodial wallets can be exported.
POST
/
wallets
/
{id}
/
export
Export wallet key
curl --request POST \
--url https://aropay.aro.media/api/v1/wallets/{id}/export \
--header 'Content-Type: application/json' \
--cookie aropay_session= \
--data '
{
"passphrase": "<string>"
}
'const options = {
method: 'POST',
headers: {cookie: 'aropay_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({passphrase: '<string>'})
};
fetch('https://aropay.aro.media/api/v1/wallets/{id}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aropay.aro.media/api/v1/wallets/{id}/export"
payload = { "passphrase": "<string>" }
headers = {
"cookie": "aropay_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"filename": "payouts-key.nota",
"nota": "…passphrase-encrypted key envelope…"
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"ok": false,
"error": {
"code": "invalid_api_key",
"message": "Invalid API key."
}
}{
"ok": false,
"error": {
"code": "session_required",
"message": "This action requires a browser session."
}
}{
"ok": false,
"error": {
"code": "not_found",
"message": "Resource not found."
}
}{
"ok": false,
"error": {
"code": "rate_limited",
"message": "Too many requests. Try again shortly."
}
}{
"ok": false,
"error": {
"code": "internal_error",
"message": "An unexpected error occurred."
}
}Authorizations
Browser session cookie minted by POST /auth/login (or passkey
login). httpOnly, SameSite=Lax, 24 h TTL. Endpoints marked
Session-only accept only this credential and return
403 session_required for API keys.
Path Parameters
Wallet ID.
Body
application/json
Encrypts the exported key. Choose a long one; it cannot be recovered.
Required string length:
8 - 200