XML 97 R79.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Securitization and Variable Interest Entities - Unconsolidated VIEs Narrative (Details) | Apr. 15, 2022 USD ($) | Jun. 30, 2022 USD ($) | Jun. 22, 2022 USD ($) class buyer | Feb. 09, 2022 USD ($) buyer | Nov. 10, 2021 USD ($) buyer | Jun. 30, 2021 USD ($) | May 18, 2021 investor | May 17, 2021 USD ($) | May 05, 2021 USD ($) | Feb. 18, 2021 class | Oct. 22, 2020 USD ($) | Aug. 05, 2020 class
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Loans held for investment |  | $ 2,503,561,000 |  |  |  | $ 2,022,320,000 |  |  |  |  |  |
Securitized loans outstanding |  | $ 2,554,300,000 |  |  |  |  |  |  |  |  |  |
2021-Z1 |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  | 5.00% |  |  |  |  | 5.00% |  | 5.00% |  |  |
Percentage of certificates owned |  | 5.00% |  |  |  |  | 5.00% |  |  |  |  |
Securitized loans outstanding |  |  |  |  |  |  |  |  | $ 41,400,000 |  |  |
Gain on sale of loans |  |  |  |  |  |  |  | $ 16,700,000 |  |  |  |
2021-Z1 | Secured debt |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  |  |  |  | $ 320,000,000 |  |  |
Fixed interest rate |  |  |  |  |  |  |  |  | 1.07% |  |  |
2021-Z1 | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Loans held for investment |  |  |  |  |  |  |  |  | $ 351,000,000 |  |  |
2021-Z1 | Funding debt | Other Assets |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Pledged securities |  | $ (400,000) |  |  |  |  |  |  |  |  |  |
2021-Z1 | Third party loan buyer |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  | 95.00% |  |  |  |  |  |  |  |  |  |
2021-Z2 |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  | 5.00% |  |  |  |  |  |  |  |  |  |
Percentage of certificates owned |  | 5.00% |  |  | 5.00% |  |  |  |  |  |  |
Securitized loans outstanding |  |  |  |  | $ 192,500,000 |  |  |  |  |  |  |
Gain on sale of loans |  |  |  |  | $ 6,100,000 |  |  |  |  |  |  |
Third-party loan buyers | buyer |  |  |  |  | 1 |  |  |  |  |  |  |
2021-Z2 | Secured debt |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  | $ 260,000,000 |  |  |  |  |  |  |
Fixed interest rate |  |  |  |  | 1.17% |  |  |  |  |  |  |
2021-Z2 | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Loans held for investment |  |  |  |  | $ 287,500,000 |  |  |  |  |  |  |
2021-Z2 | Third party loan buyer |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  | 95.00% |  |  |  |  |  |  |  |  |  |
2022-X1 |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  | 5.00% |  |  |  |  |  |  |  |  |  |
Percentage of certificates owned |  | 5.00% |  | 5.00% |  |  |  |  |  |  |  |
Securitized loans outstanding |  |  |  | $ 258,300,000 |  |  |  |  |  |  |  |
Gain on sale of loans |  |  |  | $ 13,100,000 |  |  |  |  |  |  |  |
Third-party loan buyers | buyer |  |  |  | 2 |  |  |  |  |  |  |  |
2022-X1 | Secured debt |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  | $ 366,500,000 |  |  |  |  |  |  |  |
Fixed interest rate |  |  |  | 1.75% |  |  |  |  |  |  |  |
Loans held for investment |  |  |  | $ 406,200,000 |  |  |  |  |  |  |  |
2022-X1 | Third party loan buyer |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  | 95.00% |  |  |  |  |  |  |  |  |  |
2022-Z1 |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  | 5.00% |  |  |  |  |  |  |  |  |  |
Percentage of certificates owned |  | 5.00% | 0.05% |  |  |  |  |  |  |  |  |
Securitized loans outstanding |  |  | $ 251,700,000 |  |  |  |  |  |  |  |  |
Third-party loan buyers | buyer |  |  | 1 |  |  |  |  |  |  |  |  |
2022-Z1 | Secured debt |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of classes of securitization trusts | class |  |  | 2 |  |  |  |  |  |  |  |  |
2022-Z1 | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Loans held for investment |  |  | $ 420,300,000 |  |  |  |  |  |  |  |  |
2022-Z1 | Third party loan buyer |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  | 95.00% |  |  |  |  |  |  |  |  |  |
2021-Z1 Residual Certificates |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  |  |  |  |  |  |  |  | 86.90% |  |  |
Percentage of certificates owned |  | 5.00% |  |  |  |  | 5.00% |  |  |  |  |
2021-Z1 Residual Certificates | Third party loan buyer |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  |  |  |  |  |  |  |  | 13.10% |  |  |
Percentage of residual certificates sold |  |  |  |  |  |  |  | 81.90% |  |  |  |
Number of third-party investors | investor |  |  |  |  |  |  | 5 |  |  |  |  |
2021-Z2 Residual Certificates |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of certificates owned |  | 5.00% |  |  |  |  |  |  |  |  |  |
2021-Z2 Residual Certificates | Third party loan buyer |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates sold |  |  |  |  | 95.00% |  |  |  |  |  |  |
2022-X1 Residual Certificates |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of certificates owned |  | 5.00% |  |  |  |  |  |  |  |  |  |
2022-X1 Residual Certificates | Third party loan buyer |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates sold |  |  |  | 95.00% |  |  |  |  |  |  |  |
2022-Z1 Residual Certificates |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of certificates owned |  | 5.00% |  |  |  |  |  |  |  |  |  |
2022-Z1 Residual Certificates | Third party loan buyer |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates sold |  |  | 95.00% |  |  |  |  |  |  |  |  |
2021-A |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  | 100.00% |  |  |  |  |  |  |  |  |  |
2021-A | Secured debt |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of classes of securitization trusts | class |  |  |  |  |  |  |  |  |  | 5 |  |
2021-A | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Loans held for investment |  | $ 498,500,000 |  |  |  |  |  |  |  |  |  |
2020-Z2 |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  | 93.30% |  |  |  |  |  |  |  |  |  |
Securitized loans outstanding |  | $ 27,900,000 |  |  |  |  |  |  |  |  |  |
2020-Z2 | Secured debt |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  |  |  |  |  |  | $ 375,000,000 |
Fixed interest rate |  |  |  |  |  |  |  |  |  |  | 0.019% |
2020-Z2 | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Loans held for investment |  | $ 101,200,000 |  |  |  |  |  |  |  |  |  |
2020-Z2 | Third party loan buyer |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained |  | 6.70% |  |  |  |  |  |  |  |  |  |
2021-Z1 and 2021-Z2 | Repurchase Agreement | Other Receivables |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Pledged securities |  | $ (32,400,000) |  |  |  | $ (16,200,000) |  |  |  |  |  |
Affirm Asset Securitization Trust 2022-Z1 Notes, Class A | Secured debt |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Securitization issued |  |  | $ 356,000,000 |  |  |  |  |  |  |  |  |
Fixed interest rate |  |  | 455.00% |  |  |  |  |  |  |  |  |
Affirm Asset Securitization Trust 2022-Z1 Notes, Class B | Secured debt |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Securitization issued |  |  | $ 15,500,000 |  |  |  |  |  |  |  |  |
Fixed interest rate |  |  | 649.00% |  |  |  |  |  |  |  |  |
2020-A |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained | 100.00% | 100.00% |  |  |  |  |  |  |  |  |  |
2020-A | Secured debt |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Number of classes of securitization trusts | class |  |  |  |  |  |  |  |  |  |  |  | 3
Debt repayment | $ 280,400,000 |  |  |  |  |  |  |  |  |  |  |
2020-A | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |  |  |  |
Loans held for investment | $ 234,000,000 |  |  |  |  |  |  |  |  |  |  |

X
- Definition Debt Instrument, Gain (Loss) On Sale Of Loans + References No definition available. + Details
Name: | afrm_DebtInstrumentGainLossOnSaleOfLoans
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Number Of Classes Of Securitization Trusts + References No definition available. + Details
Name: | afrm_NumberOfClassesOfSecuritizationTrusts
Namespace Prefix: | afrm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Third-Party Investors In Securitized Assets + References No definition available. + Details
Name: | afrm_NumberOfThirdPartyInvestorsInSecuritizedAssets
Namespace Prefix: | afrm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number Of Third-Party Loan Buyers In Securitized Assets + References No definition available. + Details
Name: | afrm_NumberOfThirdPartyLoanBuyersInSecuritizedAssets
Namespace Prefix: | afrm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Securitized Assets, Percentage Of Certificates Owned + References No definition available. + Details
Name: | afrm_SecuritizedAssetsPercentageOfCertificatesOwned
Namespace Prefix: | afrm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Securitized Assets, Percentage Of Residual Certificates Retained + References No definition available. + Details
Name: | afrm_SecuritizedAssetsPercentageOfResidualCertificatesRetained
Namespace Prefix: | afrm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Securitized Assets, Percentage Of Residual Certificates Sold + References No definition available. + Details
Name: | afrm_SecuritizedAssetsPercentageOfResidualCertificatesSold
Namespace Prefix: | afrm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of assets pledged to secure a debt instrument. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=123599511&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentCollateralAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
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 No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This is the principal amount outstanding for securitized loans only (across all types of loans). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719 + Details
Name: | us-gaap_PrincipalAmountOutstandingOnLoansSecuritized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash outflow during the period from the repayment of aggregate short-term and long-term debt. Excludes payment of capital lease obligations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 15 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126954810&loc=d3e3291-108585 + Details
Name: | us-gaap_RepaymentsOfDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021Z1NotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PledgedStatusAxis=us-gaap_AssetPledgedAsCollateralMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_LineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=afrm_ThirdPartyLoanBuyerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021Z2NotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022X1NotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022Z1NotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021Z1NotesResidualCertificatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021Z2NotesResidualCertificatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022X1NotesResidualCertificatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022Z1NotesResidualCertificatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021ANotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2020Z2NotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021Z1And2021Z2NotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=afrm_RepurchaseAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=afrm_OtherReceivablesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022Z1NotesClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022Z1NotesClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2020ANotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |