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)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)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.