Create Payment
Initiate a new payment transaction.
/api/v1/payments
Request Body
{ "amount": 1000, "currency": "USD", "payment_method": "card", "card": { "number": "4242424242424242", "expiry_month": "12", "expiry_year": "2025", "cvc": "123" }, "description": "Order #1234" }
Response
{ "id": "pay_01F8XYZ1234567890", "status": "pending", "amount": 1000, "currency": "USD", "created_at": "2024-06-01T12:00:00Z" }