Phonixx Api

<back to all web services

CreditCard

The following routes are available for this service:
PUT,OPTIONS/account/paymentmethod/cards
DELETE,POST,GET,OPTIONS/account/paymentmethod/card/{CardStatus}

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/oneway/CreditCard HTTP/1.1 
Host: parkmobile.us 
Content-Type: application/xml
Content-Length: length

<CreditCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:parkmobile:phonixx:api:v1">
  <AddressLine1>String</AddressLine1>
  <BinInfo>
    <CardType>String</CardType>
    <CountryCode>String</CountryCode>
    <Issuer>String</Issuer>
  </BinInfo>
  <CardBrand>String</CardBrand>
  <CardHolder>String</CardHolder>
  <CardNumber>String</CardNumber>
  <CardStatus>Primary</CardStatus>
  <Country>String</Country>
  <ExpiryMonth>0</ExpiryMonth>
  <ExpiryYear>0</ExpiryYear>
  <ExternalSourceType>String</ExternalSourceType>
  <Last4Digits>String</Last4Digits>
  <Preferred>false</Preferred>
  <SecurityCode>String</SecurityCode>
  <SortOrder>0</SortOrder>
  <ZipCode>String</ZipCode>
</CreditCard>