Get transaction
curl --request GET \
--url https://aropay.aro.media/api/v1/transactions/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://aropay.aro.media/api/v1/transactions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aropay.aro.media/api/v1/transactions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"data": {
"transaction": {
"id": "cktxn0001abcd",
"type": "FUND",
"status": "QUEUED",
"chainId": 11155111,
"amount": "<string>",
"token": "<string>",
"txHash": "<string>",
"settlementTxHash": "<string>",
"explorerUrl": "<string>",
"fromAddress": "<string>",
"toAddress": "<string>",
"counterparty": "<string>",
"walletId": "<string>",
"error": "<string>",
"errorCode": "insufficient_stable",
"metadata": "<unknown>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
}{
"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."
}
}Transactions
Get transaction
Return one transaction. A pure database read reflecting the background
worker’s progress; reading does not advance anything. Poll until
status is one of the terminal values CONFIRMED, SETTLED, or
FAILED, and treat any status you do not recognise as in flight.
error and errorCode are non-null only on FAILED rows, and
FAILED means nothing moved on-chain for that transaction.
GET
/
transactions
/
{id}
Get transaction
curl --request GET \
--url https://aropay.aro.media/api/v1/transactions/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://aropay.aro.media/api/v1/transactions/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aropay.aro.media/api/v1/transactions/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"data": {
"transaction": {
"id": "cktxn0001abcd",
"type": "FUND",
"status": "QUEUED",
"chainId": 11155111,
"amount": "<string>",
"token": "<string>",
"txHash": "<string>",
"settlementTxHash": "<string>",
"explorerUrl": "<string>",
"fromAddress": "<string>",
"toAddress": "<string>",
"counterparty": "<string>",
"walletId": "<string>",
"error": "<string>",
"errorCode": "insufficient_stable",
"metadata": "<unknown>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
}{
"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."
}
}Authorizations
apiKeyAuthsessionCookie
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.
Path Parameters
Transaction ID.