Path Parameters
The unique identifier of the payment
Example Request
GET /wp-json/latepoint-api/v1/payments/1
X-API-Key: YOUR_API_KEY
Content-Type: application/json
Example Response
{
"success": true,
"data": {
"id": "1",
"token": "TXN123456",
"invoice_id": "5",
"order_id": "10",
"customer_id": "3",
"processor": "stripe",
"payment_method": "credit_card",
"payment_portion": "full",
"kind": "capture",
"amount": "150.00",
"status": "completed",
"notes": "Payment processed successfully",
"receipt_number": "RCP12345",
"access_key": "ak_1234567890abcdef",
"created_at": "2024-01-15 10:30:00",
"updated_at": "2024-01-15 10:30:00"
}
}
Response Fields
Unique identifier for the payment
Payment transaction token
Customer who made the payment
Payment processor used (stripe, paypal, etc.)
Payment method used (credit_card, paypal, etc.)
Portion of payment (full, deposit, balance)
Type of transaction (capture, refund, etc.)
Payment status (succeeded, processing, failed)
Additional notes about the payment
Receipt number for the payment
Access key for payment verification
Payment creation timestamp
Payment last update timestamp