Api Reference
POST Account Top-up
curl -X POST "https://api.kirha.com/billing/v1/account/topup" \ -H "Content-Type: application/json" \ -d '{ "type": "crypto", "currency_id": "eth", "credits": 1000 }'
{
"id": "tp_789",
"account_id": "acc_123",
"requested_at": 1712338123,
"purchased_at": null,
"status": "requested",
"credits": 1000,
"amount": "500000000000000000",
"currency_id": "eth",
"decimals": 18,
"destination_address": "0xTreasury..."
}
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}