--- title: "Handle referrals" url: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/ios-integration/key-steps-ios/process-a-basic-transaction-ios/handle-referrals-ios" source_url: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/ios-integration/key-steps-ios/process-a-basic-transaction-ios/handle-referrals-ios.md" canonical: "https://docs.adyen.com/point-of-sale/classic-library-deprecation/classic-library-integrations/ios-integration/key-steps-ios/process-a-basic-transaction-ios/handle-referrals-ios" last_modified: "2026-05-25T12:55:00+02:00" language: "en" --- # Handle referrals [View source](/point-of-sale/classic-library-deprecation/classic-library-integrations/ios-integration/key-steps-ios/process-a-basic-transaction-ios/handle-referrals-ios.md) ## Delegate The `transactionRequiresReferral` delegate is called when a transaction requires referral. After this method has been called, transaction-processing will be paused until `submitReferralWithCode` is called on the given `referralRequest`. This method must be implemented to ask for referral authorization code. ### Parameters | Name | Type | Required | Description | | ----------------------- | ------------------ | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | | ``` referralRequest ``` | ADYReferralRequest | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | Object containing referral data, and method to continue transaction processing with auth code. | ### transactionRequiresReferral code example #### Objective-C ```objectivec - (void)transactionRequiresReferral:(ADYReferralRequest *)referralRequest; ``` #### Submit code example #### Objective-C ```objectivec - (void)submitReferralWithCode:(NSString *)code; ```