POST v3/account/paymentMethods/update

Request Information

URI Parameters

None.

Body Parameters

StoreFrontPaymentMethodDTO
NameDescriptionTypeAdditional information
id

integer

None.

name

string

None.

referenceCode

string

None.

appId

string

None.

url

string

None.

publicKey

string

None.

privateKey

string

None.

customValueA

string

None.

customValueB

string

None.

customValueC

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "referenceCode": "sample string 3",
  "appId": "sample string 4",
  "url": "sample string 5",
  "publicKey": "sample string 6",
  "privateKey": "sample string 7",
  "customValueA": "sample string 8",
  "customValueB": "sample string 9",
  "customValueC": "sample string 10"
}

application/xml, text/xml

Sample:
<StoreFrontPaymentMethodDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <appId>sample string 4</appId>
  <customValueA>sample string 8</customValueA>
  <customValueB>sample string 9</customValueB>
  <customValueC>sample string 10</customValueC>
  <id>1</id>
  <name>sample string 2</name>
  <privateKey>sample string 7</privateKey>
  <publicKey>sample string 6</publicKey>
  <referenceCode>sample string 3</referenceCode>
  <url>sample string 5</url>
</StoreFrontPaymentMethodDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StoreFrontPaymentMethodListResponse
NameDescriptionTypeAdditional information
apiStatus

string

None.

isApproved

boolean

None.

data

Collection of StoreFrontPaymentMethodDTO

None.

Response Formats

application/json, text/json

Sample:
{
  "apiStatus": "sample string 1",
  "isApproved": true,
  "data": [
    {
      "id": 1,
      "name": "sample string 2",
      "referenceCode": "sample string 3",
      "appId": "sample string 4",
      "url": "sample string 5",
      "publicKey": "sample string 6",
      "privateKey": "sample string 7",
      "customValueA": "sample string 8",
      "customValueB": "sample string 9",
      "customValueC": "sample string 10"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "referenceCode": "sample string 3",
      "appId": "sample string 4",
      "url": "sample string 5",
      "publicKey": "sample string 6",
      "privateKey": "sample string 7",
      "customValueA": "sample string 8",
      "customValueB": "sample string 9",
      "customValueC": "sample string 10"
    }
  ]
}

application/xml, text/xml

Sample:
<StoreFrontPaymentMethodListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Blumev3.Models">
  <apiStatus>sample string 1</apiStatus>
  <data>
    <StoreFrontPaymentMethodDTO>
      <appId>sample string 4</appId>
      <customValueA>sample string 8</customValueA>
      <customValueB>sample string 9</customValueB>
      <customValueC>sample string 10</customValueC>
      <id>1</id>
      <name>sample string 2</name>
      <privateKey>sample string 7</privateKey>
      <publicKey>sample string 6</publicKey>
      <referenceCode>sample string 3</referenceCode>
      <url>sample string 5</url>
    </StoreFrontPaymentMethodDTO>
    <StoreFrontPaymentMethodDTO>
      <appId>sample string 4</appId>
      <customValueA>sample string 8</customValueA>
      <customValueB>sample string 9</customValueB>
      <customValueC>sample string 10</customValueC>
      <id>1</id>
      <name>sample string 2</name>
      <privateKey>sample string 7</privateKey>
      <publicKey>sample string 6</publicKey>
      <referenceCode>sample string 3</referenceCode>
      <url>sample string 5</url>
    </StoreFrontPaymentMethodDTO>
  </data>
  <isApproved>true</isApproved>
</StoreFrontPaymentMethodListResponse>