Search docs

Are you looking for test card numbers?

Would you like to contact support?

Start searching Adyen's documentation...

  Documentation

Handle referrals

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 authorisation code.

Parameters

Name

Type

Required

Description

referralRequest

ADYReferralRequest

-white_check_mark-

Object containing referral data, and method to continue transaction processing with auth code.

transactionRequiresReferral code example

Objective-C

- (void)transactionRequiresReferral:(ADYReferralRequest *)referralRequest;

Submit code example

Objective-C

- (void)submitReferralWithCode:(NSString *)code;