GET v1/customers/{id}/payment-profiles

Gets list of payment profiles for the customer specified by customer id.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Provide customer id to get payment profiles for

integer

Required

Body Parameters

None.

Response Information

Resource Description

SearchResultOfCustomerPaymentProfileSearchResult
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Data

Collection of CustomerPaymentProfileSearchResult

None.

Response Formats

application/json, text/json

Sample:
{
  "totalCount": 1,
  "data": [
    {
      "id": 1,
      "name": "sample string 2",
      "accountType": {
        "id": 1,
        "name": "sample string 2"
      },
      "paymentProcessingMethod": {
        "id": 1,
        "name": "sample string 2"
      }
    },
    {
      "id": 1,
      "name": "sample string 2",
      "accountType": {
        "id": 1,
        "name": "sample string 2"
      },
      "paymentProcessingMethod": {
        "id": 1,
        "name": "sample string 2"
      }
    }
  ]
}

application/xml, text/xml

Sample:
<SearchResultOfCustomerPaymentProfilesUEq14mzK xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BAPI.Models.CRM.SearchResults">
    <d2p1:CustomerPaymentProfiles>
      <d2p1:AccountType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:AccountType>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:PaymentProcessingMethod xmlns:d4p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:PaymentProcessingMethod>
    </d2p1:CustomerPaymentProfiles>
    <d2p1:CustomerPaymentProfiles>
      <d2p1:AccountType xmlns:d4p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:AccountType>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:PaymentProcessingMethod xmlns:d4p1="http://schemas.datacontract.org/2004/07/Striven.Common.Models">
        <d4p1:_x003C_Id_x003E_k__BackingField>1</d4p1:_x003C_Id_x003E_k__BackingField>
        <d4p1:_x003C_Name_x003E_k__BackingField>sample string 2</d4p1:_x003C_Name_x003E_k__BackingField>
      </d2p1:PaymentProcessingMethod>
    </d2p1:CustomerPaymentProfiles>
  </Data>
  <TotalCount>1</TotalCount>
</SearchResultOfCustomerPaymentProfilesUEq14mzK>