cancel
Showing results for 
Search instead for 
Did you mean: 

Validating if Credit Card Exists in Customer Profile CIM

Hi,

Working with SOAP and have a credit card customer profile now successfully being create from the last CC transaction based on the transaction number returned from the manually inputted customer information.  All seems very good, but now I want to check to see in the customer profile in CIM if the credit card profile and number exists.  I looked high and low through the PDF manual and I know I want to make a call to the ValidateCustomerPaymentProfile and get a return response back.

 

Where is the SOAP example of how to do this like there is with the CreateCustomerProfileFromTransactionResponse like below:

<?xml version="1.0" encoding="UTF-8"?>

<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<CreateCustomerProfileFromTransactionResponse xmlns="https://

api.authorize.net/soap/v1/">

<CreateCustomerProfileFromTransactionResult>

<resultCode>Ok</resultCode>

<messages>

<MessagesTypeMessage>

<code>I00001</code>

<text>Successful.</text>

</MessagesTypeMessage>

</messages>

<customerProfileId>28969658</customerProfileId>

<customerPaymentProfileIdList>

<long>26315858</long>

</customerPaymentProfileIdList>

<customerShippingAddressIdList>

<long>27055266</long>

</customerShippingAddressIdList>

<validationDirectResponseList/>

</CreateCustomerProfileFromTransactionResult>

</CreateCustomerProfileFromTransactionResponse>

</soap:Body>

</soap:Envelope>

 

 

 

Where is the example for what I want to do GetCustomerPaymentProfileResult

so I can verify if the credit card profile token number for the card exists already in the Authorize.net CIM system???

 

Boy the documentation is very sketch and when you start into something like this brand new you need a bit more that . . .

the GetCustomerPaymentProfile function.GetCustomerPaymentProfileResult

Value: Contains the result of the API request to get a customer payment profile

Type: GetCustomerPaymentProfileResponseType

Notes: See for possible values.

and a listing of fields that could be in Output for GetCustomerPaymentProfileResponse

 

Maybe someone can point me to the correct SOAP code example as a template for me to follow????

 

Many thanks in advance.

 

Pete

 

 

 

 

psass
Contributor
2 REPLIES 2

Much appreciated.  I am knid of new at this and figured that the code example would be in the PDF SOAP developers guide, but it was not in there.

 

Pete,