Create a booking from a quote and pay
cURL
curl --request POST \ --url https://api.example.com/bookings \ --header 'Content-Type: application/json' \ --data ' { "quoteId": "<string>", "payWith": "<string>", "paymentMethod": "<string>" } '
auto
curl -X POST https://api.midasprotocol.org/bookings \ -H "Authorization: Bearer pp_your_key" \ -H "Content-Type: application/json" \ -d '{ "quoteId": "quote-uuid", "payWith": "USDC" }'
{ "id": "uuid", "status": "CONFIRMED", "confirmationCode": "BK-ABC123", "serviceId": "uuid", "totalAmount": "25.00", "currency": "USDC", "railUsed": "internal", "transactionId": "uuid" }