Create Payment
Process a payment for an order. Supports partial payments where multiple payments can be made against a single order.Endpoint
Request Body
UUID of the order to pay
Payment method. Options:
cash, card, yape, plin, transfer, otherPayment amount in cents (minimum: 1)
Payment reference or transaction ID (max 255 characters)
Tip amount in cents (minimum: 0)
Response
Indicates if the payment was processed successfully
Payment UUID
Order UUID
Organization UUID
Branch UUID
Payment method used
Payment amount in cents
Payment reference
Tip amount in cents
Payment status (always “completed”)
ISO 8601 timestamp
Human-readable order number
Total order amount
Total amount paid so far including this payment
Remaining balance on the order
Whether the order is now fully paid
Example Request
Example Response
List Payments
Retrieve payments for the current branch with optional filtering.Endpoint
Query Parameters
Filter by payment method:
cash, card, yape, plin, transfer, otherFilter payments created after this ISO 8601 date
Filter payments created before this ISO 8601 date
Response
Returns an array of up to 100 payments ordered by creation date (newest first).Example Request
Get Payment Details
Retrieve detailed information about a specific payment including order context.Endpoint
Path Parameters
Payment UUID
Response
Request success status
Payment UUID
Order UUID
Payment method
Amount in cents
Payment reference
Tip amount
Payment status
Creation timestamp
Order number
Order total amount
Current order status
Example Request
Daily Payment Summary
Get aggregated payment statistics for the current day, broken down by payment method.Endpoint
Response
Request success status
Example Request
Example Response
Get Unpaid Orders
Retrieve orders that have outstanding balances, useful for payment selection dialogs.Endpoint
Response
Returns the 50 most recent orders with partial or no payment.Request success status
Array of unpaid orders
Order UUID
Order number
Customer name
Order total
Amount paid so far
Outstanding balance
Order status
Table number if dine-in
Order creation time