Inherits from NSObject
Declared in LUPaymentMethodRequestFactory.h
LUPaymentMethodRequestFactory.m

Overview

LUPaymentMethodRequestFactory is used to build requests related to the user’s payment method.

Class Methods

requestForPaymentMethod

Builds a request to retrieve the current user’s payment method.

+ (LUAPIRequest *)requestForPaymentMethod

Discussion

Builds a request to retrieve the current user’s payment method.

This will return the user’s primary payment method which will be used to bill the user.

If the user has not added any payment methods, or if they don’t have an active payment method, this request will fail with the error code LUAPIErrorNotFound.

Warning: This request requires an access token with the LUPermissionManageUserPaymentMethods permission.

Declared In

LUPaymentMethodRequestFactory.h