Create income
Authorizations
Business secret tyms_sk_... for business-scoped routes. Partner secret for register-business and referred-business distributor routes.
Body
1Cash or bank name received into. Payment is assumed in full from the line totals — do not send amount_paid (that key is only for invoices and bills).
Returned as receipt_no.
Set true (or 1) to create a prepaid_income record (unearned revenue). The income is deferred and recognized monthly over prepayment_duration.
Number of months to recognize the prepaid income over. Required when is_prepayment is true.
Liability account name (unearned revenue) for the deferred balance. Defaults to the business unearned revenue account.
Response
Income created