{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/unified-to/refs/heads/main/json-schema/unified-to-payment-payment-schema.json", "title": "PaymentPayment", "description": "PaymentPayment schema from Unified.to API", "type": "object", "properties": { "id": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "updated_at": { "type": "string", "format": "date-time" }, "total_amount": { "type": "number" }, "contact_id": { "type": "string" }, "type": { "type": "string", "enum": [ "INVOICE", "BILL" ], "x-speakeasy-unknown-values": "allow" }, "payment_method": { "type": "string" }, "currency": { "type": "string", "default": "USD" }, "notes": { "type": "string" }, "invoice_id": { "type": "string" }, "bill_id": { "type": "string" }, "account_id": { "type": "string" }, "reference": { "type": "string" }, "raw": { "type": "object", "additionalProperties": true } } }