{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/affirm/refs/heads/main/json-structure/promos-financing-term-structure.json", "name": "FinancingTerm", "description": "A single available financing term option including APR and payment details.", "type": "object", "properties": { "amount": { "type": "int32", "description": "Purchase amount this term applies to, in cents.", "example": 1 }, "loan_type": { "type": "string", "description": "Type of financing loan (e.g., split_pay, installment).", "example": "standard" }, "apr": { "type": "double", "description": "Annual percentage rate for this financing term.", "minimum": 0, "example": 1 }, "installment_amount": { "type": "int32", "description": "Monthly installment payment amount in cents.", "example": 1 }, "installment_count": { "type": "int32", "description": "Total number of installment payments.", "example": 1 }, "interest_amount": { "type": "int32", "description": "Total interest charged over the life of the loan in cents.", "example": 1 }, "total_amount": { "type": "int32", "description": "Total amount paid including principal and interest, in cents.", "example": 1 } } }