Learn more about Mintlify
Enter your email to receive updates about new features and product releases.
Manage payment methods for orders
curl -X GET "http://localhost:8080/api/v1/payment-methods" \ -H "Authorization: Bearer YOUR_TOKEN"
Show PaymentMethodResponse
{ "message": "Payment methods retrieved successfully", "data": [ { "id": 1, "name": "Cash", "is_active": true, "created_at": "2024-01-15T10:30:00Z" }, { "id": 2, "name": "QRIS", "is_active": true, "created_at": "2024-01-15T10:30:00Z" }, { "id": 3, "name": "Gopay", "is_active": true, "created_at": "2024-01-15T10:30:00Z" } ] }
admin
manager
cashier