STPSourceRedirect

@interface STPSourceRedirect : NSObject <STPAPIResponseDecodable>

Information related to a source’s redirect flow.

  • Unavailable

    You cannot directly instantiate an STPSourceRedirect. You should only use one that is part of an existing STPSource object.

    You cannot directly instantiate an STPSourceRedirect. You should only use one that is part of an existing STPSource object.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • The URL you provide to redirect the customer to after they authenticated their payment.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSURL *returnURL;

    Swift

    var returnURL: URL? { get }
  • The status of the redirect.

    Declaration

    Objective-C

    @property (readonly, nonatomic) STPSourceRedirectStatus status;

    Swift

    var status: STPSourceRedirectStatus { get }
  • url

    The URL provided to you to redirect a customer to as part of a redirect authentication flow.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSURL *url;

    Swift

    var url: URL? { get }