# Latest New API Targeted Test Report

Started: 2026-07-14T10:07:11+00:00

Passed: 15
Failed/Blocked: 3

| # | Group | Test | Method | Endpoint | Result | Status | Note/Error |
|---:|---|---|---|---|---|---:|---|
| 1 | Health | Laravel ready | `GET` | `/api/health/ready` | PASS | 200 |  |
| 2 | Health | Signer ready | `GET` | `/health` | PASS | 200 |  |
| 3 | Auth | Merchant login | `POST` | `/api/v1/auth/login` | PASS | 200 |  |
| 4 | Auth | Admin login | `POST` | `/api/v1/auth/login` | PASS | 200 |  |
| 5 | Auth | Create HMAC API key | `POST` | `/api/v1/api-keys` | PASS | 201 |  |
| 6 | Signer | Generate valid TRON address | `POST` | `/v1/addresses` | PASS | 201 |  |
| 7 | Payout wallets | Create payout wallet | `POST` | `/api/v1/payout-wallets` | PASS | 201 |  |
| 8 | Payout wallets | List payout wallets | `GET` | `/api/v1/payout-wallets` | PASS | 200 |  |
| 9 | KYC | Upload KYC document | `POST` | `/api/v1/kyc/documents` | PASS | 201 |  |
| 10 | KYC | Operator approve KYC | `POST` | `/api/v1/operator/kyc/documents/{id}/approve` | PASS | 200 |  |
| 11 | Webhooks | Create HTTPS webhook endpoint | `POST` | `/api/v1/webhook-endpoints` | PASS | 201 |  |
| 12 | Webhooks | Queue webhook test event | `POST` | `/api/v1/webhooks/test` | PASS | 202 |  |
| 13 | Webhooks | Deliver signed webhook to https://httpbin.org/post | `JOB` | `DeliverMerchantWebhookJob` | CHECK | 599 | Delivery attempted but not accepted/reachable |
| 14 | Deposits | Create invoice for deposit monitor | `POST` | `/api/v1/invoices` | PASS | 201 |  |
| 15 | Deposits | Run TRON deposit monitor for invoice | `JOB` | `PollOpenInvoiceAddressJob` | PASS | 200 | No transfer was sent, so status should remain waiting unless address already had TRC20 activity. |
| 16 | Settlements | Create sandbox available balance | `DB` | `LedgerService::post` | CHECK | 599 | App\Application\Services\LedgerService::post(): Argument #2 ($referenceId) must be of type string, int given, called in E:\xampp\htdocs\laravel12-crypto-gateway-api-final\laravel12-crypto-gateway-api\storage\app\latest_new_api_smoke.php on line 95 |
| 17 | Settlements | Create settlement from merchant balance | `POST` | `/api/v1/settlements` | CHECK | 409 | INSUFFICIENT_BALANCE: There is not enough available balance to settle. |
| 18 | Payouts | Actual payout broadcast | `POST` | `/api/v1/operator/payouts/{id}/approve` | PASS | 299 | Skipped: this can move real TRON/USDT. Provide testnet signer config/funds to execute safely. |
