POST v3/account/cards/update

Request Information

URI Parameters

None.

Body Parameters

Collection of SubscriptionCardDTO
NameDescriptionTypeAdditional information
id

integer

None.

subscriptionId

string

None.

panToken

string

None.

expMonth

string

None.

expYear

string

None.

expirationDate

string

None.

brand

string

None.

lastUpdated

date

None.

isDefault

boolean

None.

cardNumber

string

None.

cardName

string

None.

lastFourDigits

string

None.

isExpired

boolean

None.

cvv

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "subscriptionId": "sample string 2",
    "panToken": "sample string 3",
    "expMonth": "sample string 4",
    "expYear": "sample string 5",
    "expirationDate": "sample string 6",
    "brand": "sample string 7",
    "lastUpdated": "2022-10-07T13:12:46.9060658-06:00",
    "isDefault": true,
    "cardNumber": "sample string 10",
    "cardName": "sample string 11",
    "lastFourDigits": "sample string 12",
    "isExpired": true,
    "cvv": "sample string 14"
  },
  {
    "id": 1,
    "subscriptionId": "sample string 2",
    "panToken": "sample string 3",
    "expMonth": "sample string 4",
    "expYear": "sample string 5",
    "expirationDate": "sample string 6",
    "brand": "sample string 7",
    "lastUpdated": "2022-10-07T13:12:46.9060658-06:00",
    "isDefault": true,
    "cardNumber": "sample string 10",
    "cardName": "sample string 11",
    "lastFourDigits": "sample string 12",
    "isExpired": true,
    "cvv": "sample string 14"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSubscriptionCardDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <SubscriptionCardDTO>
    <brand>sample string 7</brand>
    <cardName>sample string 11</cardName>
    <cardNumber>sample string 10</cardNumber>
    <cvv>sample string 14</cvv>
    <expMonth>sample string 4</expMonth>
    <expYear>sample string 5</expYear>
    <expirationDate>sample string 6</expirationDate>
    <id>1</id>
    <isDefault>true</isDefault>
    <isExpired>true</isExpired>
    <lastFourDigits>sample string 12</lastFourDigits>
    <lastUpdated>2022-10-07T13:12:46.9060658-06:00</lastUpdated>
    <panToken>sample string 3</panToken>
    <subscriptionId>sample string 2</subscriptionId>
  </SubscriptionCardDTO>
  <SubscriptionCardDTO>
    <brand>sample string 7</brand>
    <cardName>sample string 11</cardName>
    <cardNumber>sample string 10</cardNumber>
    <cvv>sample string 14</cvv>
    <expMonth>sample string 4</expMonth>
    <expYear>sample string 5</expYear>
    <expirationDate>sample string 6</expirationDate>
    <id>1</id>
    <isDefault>true</isDefault>
    <isExpired>true</isExpired>
    <lastFourDigits>sample string 12</lastFourDigits>
    <lastUpdated>2022-10-07T13:12:46.9060658-06:00</lastUpdated>
    <panToken>sample string 3</panToken>
    <subscriptionId>sample string 2</subscriptionId>
  </SubscriptionCardDTO>
</ArrayOfSubscriptionCardDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SubscriptionCardResponse
NameDescriptionTypeAdditional information
apiStatus

string

None.

isApproved

boolean

None.

data

Collection of SubscriptionCardDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "apiStatus": "sample string 1",
  "isApproved": true,
  "data": [
    {
      "id": 1,
      "subscriptionId": "sample string 2",
      "panToken": "sample string 3",
      "expMonth": "sample string 4",
      "expYear": "sample string 5",
      "expirationDate": "sample string 6",
      "brand": "sample string 7",
      "lastUpdated": "2022-10-07T13:12:46.9060658-06:00",
      "isDefault": true,
      "cardNumber": "sample string 10",
      "cardName": "sample string 11",
      "lastFourDigits": "sample string 12",
      "isExpired": true,
      "cvv": "sample string 14"
    },
    {
      "id": 1,
      "subscriptionId": "sample string 2",
      "panToken": "sample string 3",
      "expMonth": "sample string 4",
      "expYear": "sample string 5",
      "expirationDate": "sample string 6",
      "brand": "sample string 7",
      "lastUpdated": "2022-10-07T13:12:46.9060658-06:00",
      "isDefault": true,
      "cardNumber": "sample string 10",
      "cardName": "sample string 11",
      "lastFourDigits": "sample string 12",
      "isExpired": true,
      "cvv": "sample string 14"
    }
  ]
}

application/xml, text/xml

Sample:
<SubscriptionCardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <apiStatus>sample string 1</apiStatus>
  <data>
    <SubscriptionCardDTO>
      <brand>sample string 7</brand>
      <cardName>sample string 11</cardName>
      <cardNumber>sample string 10</cardNumber>
      <cvv>sample string 14</cvv>
      <expMonth>sample string 4</expMonth>
      <expYear>sample string 5</expYear>
      <expirationDate>sample string 6</expirationDate>
      <id>1</id>
      <isDefault>true</isDefault>
      <isExpired>true</isExpired>
      <lastFourDigits>sample string 12</lastFourDigits>
      <lastUpdated>2022-10-07T13:12:46.9060658-06:00</lastUpdated>
      <panToken>sample string 3</panToken>
      <subscriptionId>sample string 2</subscriptionId>
    </SubscriptionCardDTO>
    <SubscriptionCardDTO>
      <brand>sample string 7</brand>
      <cardName>sample string 11</cardName>
      <cardNumber>sample string 10</cardNumber>
      <cvv>sample string 14</cvv>
      <expMonth>sample string 4</expMonth>
      <expYear>sample string 5</expYear>
      <expirationDate>sample string 6</expirationDate>
      <id>1</id>
      <isDefault>true</isDefault>
      <isExpired>true</isExpired>
      <lastFourDigits>sample string 12</lastFourDigits>
      <lastUpdated>2022-10-07T13:12:46.9060658-06:00</lastUpdated>
      <panToken>sample string 3</panToken>
      <subscriptionId>sample string 2</subscriptionId>
    </SubscriptionCardDTO>
  </data>
  <isApproved>true</isApproved>
</SubscriptionCardResponse>