GET api/Stripe/GetUserPaymentCards

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

LiteStripeCustomer
NameDescriptionTypeAdditional information
UserId

string

None.

StripeCustomerId

string

None.

DefaultPaymentCardId

string

None.

StripeCards

Collection of LiteStripeCard

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "StripeCustomerId": "sample string 2",
  "DefaultPaymentCardId": "sample string 3",
  "StripeCards": [
    {
      "CustomerId": "sample string 1",
      "Id": "sample string 2",
      "Brand": "sample string 3",
      "Last4": "sample string 4",
      "ExpirationMonth": 5,
      "ExpirationYear": 6,
      "Cvc": "sample string 7",
      "Currency": "sample string 8",
      "Fingerprint": "sample string 9",
      "Name": "sample string 10",
      "AddressLine1": "sample string 11",
      "AddressLine2": "sample string 12",
      "AddressState": "sample string 13",
      "AddressCity": "sample string 14",
      "AddressCountry": "sample string 15",
      "AddressZip": "sample string 16"
    },
    {
      "CustomerId": "sample string 1",
      "Id": "sample string 2",
      "Brand": "sample string 3",
      "Last4": "sample string 4",
      "ExpirationMonth": 5,
      "ExpirationYear": 6,
      "Cvc": "sample string 7",
      "Currency": "sample string 8",
      "Fingerprint": "sample string 9",
      "Name": "sample string 10",
      "AddressLine1": "sample string 11",
      "AddressLine2": "sample string 12",
      "AddressState": "sample string 13",
      "AddressCity": "sample string 14",
      "AddressCountry": "sample string 15",
      "AddressZip": "sample string 16"
    }
  ]
}

application/xml, text/xml

Sample:
<LiteStripeCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HubApi.Models.Hub.Api">
  <DefaultPaymentCardId>sample string 3</DefaultPaymentCardId>
  <StripeCards>
    <LiteStripeCard>
      <AddressCity>sample string 14</AddressCity>
      <AddressCountry>sample string 15</AddressCountry>
      <AddressLine1>sample string 11</AddressLine1>
      <AddressLine2>sample string 12</AddressLine2>
      <AddressState>sample string 13</AddressState>
      <AddressZip>sample string 16</AddressZip>
      <Brand>sample string 3</Brand>
      <Currency>sample string 8</Currency>
      <CustomerId>sample string 1</CustomerId>
      <Cvc>sample string 7</Cvc>
      <ExpirationMonth>5</ExpirationMonth>
      <ExpirationYear>6</ExpirationYear>
      <Fingerprint>sample string 9</Fingerprint>
      <Id>sample string 2</Id>
      <Last4>sample string 4</Last4>
      <Name>sample string 10</Name>
    </LiteStripeCard>
    <LiteStripeCard>
      <AddressCity>sample string 14</AddressCity>
      <AddressCountry>sample string 15</AddressCountry>
      <AddressLine1>sample string 11</AddressLine1>
      <AddressLine2>sample string 12</AddressLine2>
      <AddressState>sample string 13</AddressState>
      <AddressZip>sample string 16</AddressZip>
      <Brand>sample string 3</Brand>
      <Currency>sample string 8</Currency>
      <CustomerId>sample string 1</CustomerId>
      <Cvc>sample string 7</Cvc>
      <ExpirationMonth>5</ExpirationMonth>
      <ExpirationYear>6</ExpirationYear>
      <Fingerprint>sample string 9</Fingerprint>
      <Id>sample string 2</Id>
      <Last4>sample string 4</Last4>
      <Name>sample string 10</Name>
    </LiteStripeCard>
  </StripeCards>
  <StripeCustomerId>sample string 2</StripeCustomerId>
  <UserId>sample string 1</UserId>
</LiteStripeCustomer>