POST api/Book/GetSynchronyDetails

Request Information

URI Parameters

None.

Body Parameters

SynchronyCardRequest
NameDescriptionTypeAdditional information
Amount

decimal number

None.

CCExpirationDate

string

None.

CVNumber

string

None.

CardNumber

string

None.

SoapAuthentication

SoapAuthentication

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1.1,
  "CCExpirationDate": "sample string 2",
  "CVNumber": "sample string 3",
  "CardNumber": "sample string 4",
  "SoapAuthentication": {
    "UserName": "sample string 1",
    "Password": "sample string 2"
  }
}

text/html

Sample:
{"Amount":1.1,"CCExpirationDate":"sample string 2","CVNumber":"sample string 3","CardNumber":"sample string 4","SoapAuthentication":{"UserName":"sample string 1","Password":"sample string 2"}}

application/xml, text/xml

Sample:
<SynchronyCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <Amount>1.1</Amount>
  <CCExpirationDate>sample string 2</CCExpirationDate>
  <CVNumber>sample string 3</CVNumber>
  <CardNumber>sample string 4</CardNumber>
  <SoapAuthentication>
    <Password>sample string 2</Password>
    <UserName>sample string 1</UserName>
  </SoapAuthentication>
</SynchronyCardRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SynchronyCardResponse
NameDescriptionTypeAdditional information
RewardPoints

decimal number

None.

PromoDetails

SynchronyPromoInfo

None.

ErrorCode

string

None.

ErrorNode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RewardPoints": 1.1,
  "PromoDetails": {
    "PromoInfoStatus": 0,
    "PromoAprFlag": 0,
    "AfterPromoFlag": 0,
    "DuringPromoApr": 1,
    "AfterPromoApr": 2,
    "PromoDuration": "sample string 3",
    "PromoDescription": "sample string 4"
  },
  "ErrorCode": "sample string 2",
  "ErrorNode": "sample string 3"
}

text/html

Sample:
{"RewardPoints":1.1,"PromoDetails":{"PromoInfoStatus":0,"PromoAprFlag":0,"AfterPromoFlag":0,"DuringPromoApr":1,"AfterPromoApr":2,"PromoDuration":"sample string 3","PromoDescription":"sample string 4"},"ErrorCode":"sample string 2","ErrorNode":"sample string 3"}

application/xml, text/xml

Sample:
<SynchronyCardResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FPWebBox.BusinessObjects">
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorNode>sample string 3</ErrorNode>
  <PromoDetails>
    <AfterPromoApr>2</AfterPromoApr>
    <AfterPromoFlag>FIXED</AfterPromoFlag>
    <DuringPromoApr>1</DuringPromoApr>
    <PromoAprFlag>FIXED</PromoAprFlag>
    <PromoDescription>sample string 4</PromoDescription>
    <PromoDuration>sample string 3</PromoDuration>
    <PromoInfoStatus>FULL</PromoInfoStatus>
  </PromoDetails>
  <RewardPoints>1.1</RewardPoints>
</SynchronyCardResponse>