curl --request POST \
--url https://aropay.aro.media/api/v1/redeem \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"walletId": "ckwlt0001abcd",
"amount": "10"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({walletId: 'ckwlt0001abcd', amount: '10'})
};
fetch('https://aropay.aro.media/api/v1/redeem', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aropay.aro.media/api/v1/redeem"
payload = {
"walletId": "ckwlt0001abcd",
"amount": "10"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"transaction": {
"id": "cktxn0004abcd",
"type": "REDEEM",
"status": "QUEUED",
"chainId": 11155111,
"amount": "10.00",
"token": "cAROUSD",
"txHash": null,
"settlementTxHash": null,
"explorerUrl": null,
"fromAddress": "0x8Ba1f109551bD432803012645Ac136ddd64DBA72",
"toAddress": null,
"counterparty": null,
"walletId": "ckwlt0001abcd",
"error": null,
"errorCode": null,
"metadata": {
"mode": "backed"
},
"createdAt": "2026-08-13T10:02:11.000Z",
"updatedAt": "2026-08-13T10:02:11.000Z"
}
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"ok": false,
"error": {
"code": "invalid_api_key",
"message": "Invalid API key."
}
}{
"ok": false,
"error": {
"code": "account_disabled",
"message": "This account is disabled."
}
}{
"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."
}
}{
"ok": false,
"error": {
"code": "fhe_credentials_missing",
"message": "Confidential operations are disabled until FHE relayer credentials are configured."
}
}Redeem cAROUSD
Burn cAROUSD from a custodial wallet and receive public test
stablecoin 1:1. Two legs, both driven by the background worker: the
transaction moves QUEUED → PENDING (burn submitted) → SETTLING
(burn confirmed) → SETTLED (operator payout confirmed), with the
payout hash in settlementTxHash.
Asynchronous: returns 201 immediately with the transaction in status
QUEUED (txHash: null). Poll GET /transactions/{id} until
status is SETTLED or FAILED. Execution failures surface as
status FAILED with errorCode on the transaction (e.g.
redeem_failed, insufficient_confidential_balance), not as an HTTP
error; FAILED is only reachable before the burn confirmed, so a
failed redeem never burned anything.
curl --request POST \
--url https://aropay.aro.media/api/v1/redeem \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"walletId": "ckwlt0001abcd",
"amount": "10"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({walletId: 'ckwlt0001abcd', amount: '10'})
};
fetch('https://aropay.aro.media/api/v1/redeem', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aropay.aro.media/api/v1/redeem"
payload = {
"walletId": "ckwlt0001abcd",
"amount": "10"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"transaction": {
"id": "cktxn0004abcd",
"type": "REDEEM",
"status": "QUEUED",
"chainId": 11155111,
"amount": "10.00",
"token": "cAROUSD",
"txHash": null,
"settlementTxHash": null,
"explorerUrl": null,
"fromAddress": "0x8Ba1f109551bD432803012645Ac136ddd64DBA72",
"toAddress": null,
"counterparty": null,
"walletId": "ckwlt0001abcd",
"error": null,
"errorCode": null,
"metadata": {
"mode": "backed"
},
"createdAt": "2026-08-13T10:02:11.000Z",
"updatedAt": "2026-08-13T10:02:11.000Z"
}
}
}{
"ok": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<unknown>"
}
}{
"ok": false,
"error": {
"code": "invalid_api_key",
"message": "Invalid API key."
}
}{
"ok": false,
"error": {
"code": "account_disabled",
"message": "This account is disabled."
}
}{
"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."
}
}{
"ok": false,
"error": {
"code": "fhe_credentials_missing",
"message": "Confidential operations are disabled until FHE relayer credentials are configured."
}
}Authorizations
AroPay API key, sent as Authorization: Bearer aro_sk_…. Created in
the dashboard under Settings → API keys. Takes precedence over a
session cookie when both are present.