v3.25.4

Fair Value of Financial Assets and Liabilities - Schedule of Adverse Changes in the Fair Value of Servicing Assets and Liabilities (Details) - USD ($) $ in Thousands | Dec. 31, 2025 | Jun. 30, 2025
--- | --- | ---
Default Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Servicing asset, effect of 25% increase in measurement input | $ 1 | $ 1
Servicing asset, effect of 50% increase in measurement input | 2 | 2
Servicing liability, effect of 25% increase in measurement input | 0 | 0
Servicing liability, effect of 50% increase in measurement input | 0 | 0
Adequate Compensation |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Servicing asset, effect of 10% increase in measurement input | (1,511) | (1,439)
Servicing asset, effect of 20% increase in measurement input | (3,021) | (2,879)
Servicing liability, effect of 10% increase in measurement input | 5,891 | 4,593
Servicing liability, effect of 20% increase in measurement input | 11,781 | 9,186
Discount Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Servicing asset, effect of 25% increase in measurement input | (37) | (35)
Servicing asset, effect of 50% increase in measurement input | (70) | (66)
Servicing liability, effect of 25% increase in measurement input | 0 | (1)
Servicing liability, effect of 50% increase in measurement input | $ 0 | $ (1)

X
- Definition Sensitivity Analysis Of Fair Value, Servicing Asset, Effect Of Fifty Percentage Point Increase In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueServicingAssetEffectOfFiftyPercentagePointIncreaseInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Servicing Asset, Effect Of Ten Percentage Point Increase In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueServicingAssetEffectOfTenPercentagePointIncreaseInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Servicing Asset, Effect Of Twenty Five Percentage Point Increase In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueServicingAssetEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Servicing Asset, Effect Of Twenty Percentage Point Increase In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueServicingAssetEffectOfTwentyPercentagePointIncreaseInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Servicing Liability, Effect Of Fifty Percentage Point Increase In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueServicingLiabilityEffectOfFiftyPercentagePointIncreaseInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Servicing Liability, Effect Of Ten Percentage Point Increase In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueServicingLiabilityEffectOfTenPercentagePointIncreaseInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Servicing Liability, Effect Of Twenty Five Percentage Point Increase In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueServicingLiabilityEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Servicing Liability, Effect Of Twenty Percentage Point Increase In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueServicingLiabilityEffectOfTwentyPercentagePointIncreaseInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 43 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-43 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 103 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-103 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDefaultRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=afrm_MeasurementInputAdequateCompensationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDiscountRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |