const { data } = await clinik.paymentReconciliations.create({
status: 'active',
paymentDate: '2024-03-15',
paymentAmount: { value: 1250.00, currency: 'USD' },
paymentIssuerId: 'org_ins456',
outcome: 'complete',
disposition: 'Payment processed successfully',
period: { start: '2024-03-01', end: '2024-03-31' },
detail: [
{
type: 'payment',
date: '2024-03-15',
amount: { value: 800.00, currency: 'USD' },
payeeId: 'Practitioner/prac_dr789',
},
{
type: 'adjustment',
date: '2024-03-15',
amount: { value: 450.00, currency: 'USD' },
},
],
processNote: [
{ type: 'display', text: 'Claim #CLM-2024-001 settled in full' },
],
});