Complete API reference for managing payments and transactions programmatically.
https://wapify.me/api/payments
All requests require Bearer token authentication. Include the token in the Authorization header:
Authorization: Bearer YOUR_API_TOKEN
https://wapify.me/api/payments
Retrieve a paginated list of payments.
| Parameter | Tipo | Descripción |
|---|---|---|
page |
integer | Page number (default: 1) |
per_page |
integer | Items per page (default: 20) |
transaction_type |
string | Filter by transaction type: income or expense |
date_from |
date | Filter payments from this date (YYYY-MM-DD) |
date_to |
date | Filter payments until this date (YYYY-MM-DD) |
enterprise_id |
integer | Filter by enterprise ID |
curl -X GET "https://wapify.me/api/payments?transaction_type=income&date_from=2024-01-01" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
{
"success": true,
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"date": "2024-01-15",
"amount": 1000.00,
"transaction_type": "income",
"enterprise": {
"id": 1,
"name": "Example Corp"
},
"invoice": {
"id": 1,
"number": "INV-001"
},
"account": {
"id": 1,
"name": "Bank Account"
},
"type": {
"id": 1,
"name": "Bank Transfer"
},
"status": 2,
"created_at": "2024-01-15T10:30:00Z"
}
],
"per_page": 20,
"total": 100,
"last_page": 5
},
"team": {
"id": 1,
"name": "My Team"
},
"user": {
"id": 1,
"name": "John Doe",
"email": "john@example.com",
"role": "admin"
}
}
https://wapify.me/api/payments/{id}
Retrieve a single payment by ID.
curl -X GET "https://wapify.me/api/payments/1" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
API requests are rate limited. The current limit is 60 requests per minute per token.