cancel
Showing results for 
Search instead for 
Did you mean: 

Get all customer payment profile issue

Hello,


Can you please tell me that the api in the shared link https://developer.authorize.net/api/reference/index.html#customer-profiles-get-customer-payment-prof... will only show the live mode data?  I'm asking this question because when I'm sending the below json:-

 

{
    "getCustomerPaymentProfileListRequest": {
      "merchantAuthentication": {
         "name": "78BC5Xpery",
         "transactionKey": "8s2F95W7bnhHd7On"
       },
      "searchType": "cardsExpiringInMonth",
      "month": "2023-11"
    }
}

 

Then it will show me the response of profile payments which are expiry in the given month. My doubt is here that it will show only those profile payment of the customer which are added in live mode.

 

example:-

 

{
    "createCustomerPaymentProfileRequest": {
       "merchantAuthentication": {
         "name": "78BC5Xpery",
         "transactionKey": "8s2F95W7bnhHd7On"
       },
    "customerProfileId": "1917046336",
    "paymentProfile": {
         "billTo": {
           "firstName": "puneet",
           "lastName": "Doe",
           "address": "123 Main St.",
           "city": "Bellevue",
           "state": "WA",
           "zip": "98004",
           "country": "USA",
           "phoneNumber": "000-000-0000"
    },
    "payment": {
         "creditCard": {
           "cardNumber": "2223000010309703",
           "expirationDate": "2023-11"
         }
    },
    "defaultPaymentProfile": false
    },
    "validationMode": "liveMode"
   }
}

 

Please give me the answer that the get all payment profile will only show the livemode data or also it will show the testmode data.

 

Puneet

1 REPLY 1

The live/test is only indicating how the card was validated when it was added to the store, it should have no impact on which profiles get returned in this call.  All payment profiles expiring in the specified month should be returned.

 

Hope this helps,

 

Brian 

brianmc
Administrator Administrator
Administrator