curl --request POST \
--url https://aropay.aro.media/api/v1/mint \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"walletId": "ckwlt0001abcd",
"amount": "100"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({walletId: 'ckwlt0001abcd', amount: '100'})
};
fetch('https://aropay.aro.media/api/v1/mint', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aropay.aro.media/api/v1/mint"
payload = {
"walletId": "ckwlt0001abcd",
"amount": "100"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"transaction": {
"id": "cktxn0002abcd",
"type": "MINT",
"status": "QUEUED",
"chainId": 11155111,
"amount": "100.00",
"token": "cAROUSD",
"txHash": null,
"settlementTxHash": null,
"explorerUrl": null,
"fromAddress": null,
"toAddress": "0x8Ba1f109551bD432803012645Ac136ddd64DBA72",
"counterparty": null,
"walletId": "ckwlt0001abcd",
"error": null,
"errorCode": null,
"metadata": {
"mode": "backed"
},
"createdAt": "2026-08-13T09:40:00.000Z",
"updatedAt": "2026-08-13T09:40:00.000Z"
}
}
}{
"ok": false,
"error": {
"code": "wallet_not_custodial",
"message": "This operation requires a custodial wallet."
}
}{
"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."
}
}Mint cAROUSD
Convert public test stablecoin into encrypted cAROUSD at 1:1. Requires a custodial wallet. In backed mode the wallet deposits stablecoin into the commitment contract; in float mode the operator mints directly. Amount encryption happens server-side, in the background worker.
Asynchronous: returns 201 immediately with the transaction in status
QUEUED (txHash: null); the worker encrypts, signs and submits it
(PENDING) and tracks the receipt. Poll GET /transactions/{id}
until status is CONFIRMED or FAILED. Execution failures surface
as status FAILED with errorCode on the transaction (e.g.
mint_failed, insufficient_stable), not as an HTTP error.
curl --request POST \
--url https://aropay.aro.media/api/v1/mint \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"walletId": "ckwlt0001abcd",
"amount": "100"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({walletId: 'ckwlt0001abcd', amount: '100'})
};
fetch('https://aropay.aro.media/api/v1/mint', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aropay.aro.media/api/v1/mint"
payload = {
"walletId": "ckwlt0001abcd",
"amount": "100"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"ok": true,
"data": {
"transaction": {
"id": "cktxn0002abcd",
"type": "MINT",
"status": "QUEUED",
"chainId": 11155111,
"amount": "100.00",
"token": "cAROUSD",
"txHash": null,
"settlementTxHash": null,
"explorerUrl": null,
"fromAddress": null,
"toAddress": "0x8Ba1f109551bD432803012645Ac136ddd64DBA72",
"counterparty": null,
"walletId": "ckwlt0001abcd",
"error": null,
"errorCode": null,
"metadata": {
"mode": "backed"
},
"createdAt": "2026-08-13T09:40:00.000Z",
"updatedAt": "2026-08-13T09:40:00.000Z"
}
}
}{
"ok": false,
"error": {
"code": "wallet_not_custodial",
"message": "This operation requires a custodial wallet."
}
}{
"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.