This document describes the usage, authentication, endpoints, request formats, responses, and error handling for the Trick Ads Agency Ltd External Card API.
This API is intended for authorized users to securely fetch card data and transaction records associated with their active subscription plan.
https://www.trickadsagencyltd.com/api/external
All API requests must include a valid API key in the request header.
X-API-KEY: YOUR_API_KEY Accept: application/json
Important: Requests without a valid API key or without an active plan will be rejected.
Endpoint:
POST /cards/fetch
Example Request:
curl -X POST https://www.trickadsagencyltd.com/api/external/cards/fetch \ -H "X-API-KEY: YOUR_API_KEY" \ -H "Accept: application/json"
Successful Response:
{ "status": "success", "data": [ { "card_id": "airw_123456789", "card_type": "Virtual", "status": "active", "currency": "USD" } ] }
Error Response (No Active Plan):
{ "status": "error", "message": "Active plan required" }
Endpoint:
GET /cards/transactions
Query Parameters:
| Parameter | Required | Description |
|---|---|---|
| card_id | Yes | Unique ID of the card |
Example Request:
curl -X GET "https://www.trickadsagencyltd.com/api/external/cards/transactions?card_id=airw_123456789" \ -H "X-API-KEY: YOUR_API_KEY" \ -H "Accept: application/json"
Successful Response:
{ "status": "success", "data": [ { "transaction_id": "txn_987654321", "amount": "25.00", "currency": "USD", "type": "debit", "status": "completed", "created_at": "2026-02-07 09:45:00" } ] }
Error Response:
{ "status": "error", "message": "Active plan required" }
| Code | Description |
|---|---|
| 1010 | Unauthorized request or missing permissions |
| 401 | Invalid API key |
| 403 | Active subscription plan required |
Access to card and transaction APIs requires an active subscription plan. If your plan is expired or inactive, the API will return an error message.
Please ensure your account has an active plan before making API requests.
If you experience any issues or need assistance with the API, please contact our support team:
Trick Ads Agency Ltd
Email: [email protected]
Last updated: February 2026