v3.25.4

Revenue - Schedule of Interest Income (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2025 | Dec. 31, 2024
Revenues from External Customers and Long-Lived Assets [Line Items] |  |  |  |
Contractual interest income on unpaid principal balance | $ 428,581 | $ 364,962 | $ 828,689 | $ 702,126
Amortization of discount on loans | 85,904 | 64,115 | 157,220 | 120,812
Amortization of premiums on loans | (6,977) | (4,882) | (13,221) | (9,515)
Interest receivable charged-off, net of recoveries | (13,882) | (14,828) | (24,940) | (26,992)
Total interest income | 493,626 | 409,367 | 947,749 | 786,431
Writeoffs, net | $ 13,882 | 14,828 | $ 24,940 | 26,992
Revision of Prior Period, Adjustment |  |  |  |
Revenues from External Customers and Long-Lived Assets [Line Items] |  |  |  |
Contractual interest income on unpaid principal balance |  | 375,900 |  | 713,100
Interest receivable charged-off, net of recoveries |  | (25,800) |  | (37,900)
Writeoffs, net |  | $ 25,800 |  | $ 37,900

X
- Definition Accretion Of Discounts, Financing Receivables + References No definition available. + Details
Name: | afrm_AccretionOfDiscountsFinancingReceivables
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amortization Of Premiums, Financing Receivables + References No definition available. + Details
Name: | afrm_AmortizationOfPremiumsFinancingReceivables
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of writeoff of accrued interest on financing receivable recognized by reversing interest income. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3D -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-3D + Details
Name: | us-gaap_FinancingReceivableAccruedInterestWriteoff
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 21 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-21 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(3)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 Reference 6: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 Reference 7: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 946 -SubTopic 830 -Name Accounting Standards Codification -Section 45 -Paragraph 39 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477346/946-830-45-39 + Details
Name: | us-gaap_InterestAndDividendIncomeOperating
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 21 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-21 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 220 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04(1)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478524/942-220-S99-1 + Details
Name: | us-gaap_InterestAndFeeIncomeLoansAndLeases
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_RestatementAxis=srt_RestatementAdjustmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |