GetCustomerPaymentMethodProfile

Retrieve a specific customer payment method.

Description

This method allows you to retrieve a specific payment method stored for a particular customer.

This method requires the use of the customerToken, a unique customer number assigned by the gateway. If you have lost or cannot remember the customer's customerToken, use the GetCustomerToken method to find the correct customerToken.

Syntax

PaymentMethodProfile GetCustomerPaymentMethodProfile( SecurityToken securityToken, string customerToken, string paymentMethodId);

Arguments

Type

Name

Description

SecurityToken

securityToken

Merchant security token: used to identify merchant and validate transaction. (required)

string

customerToken

Unique customer token assigned by the gateway. (required)

string

paymentMethodId

Unique payment method ID assigned by the gateway. (required)

Return Value

PaymentMethodProfile

Returns a PaymentMethodProfile object.