curl -X POST https://api.contazen.ro/v1/invoices/inv_9z8y7x6w5v/pay \ -H "Authorization: Bearer sk_live_YOUR_API_KEY" \ -H "Content-Type: application/json"
{ "success": true, "data": { "payment_id": "pay_7x8y9z0a1b", "invoice_id": "inv_9z8y7x6w5v", "amount": 12495.00, "payment_date": "2024-03-20", "payment_method": "bank_transfer", "is_paid": true, "remaining_amount": 0, "message": "Payment recorded successfully. Invoice marked as paid." }, "meta": { "version": "v1", "response_time": "67.89ms" } }
Record a payment for an invoice
receipt
bank_transfer
card
check
promissory_note
fiscal_receipt
other
is_paid = true
Show Properties
Was this page helpful?