PUT loyalty/{cardNumber}/credit/{fromBonusPlanId}/{toBonusPlanId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cardNumber

string

Required

fromBonusPlanId

integer

Required

toBonusPlanId

integer

Required

Body Parameters

CardCreditLoyaltyRequest
NameDescriptionTypeAdditional information
credit

decimal number

None.

reason

string

String length: inclusive between 0 and 250

toCardNumber

string

None.

company

string

None.

companyUsername

string

None.

companyPassword

string

None.

requestUser

string

None.

requestPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "credit": 1.1,
  "reason": "sample string 2",
  "toCardNumber": "sample string 3",
  "company": "sample string 4",
  "companyUsername": "sample string 5",
  "companyPassword": "sample string 6",
  "requestUser": "sample string 7",
  "requestPassword": "sample string 8"
}

application/xml, text/xml

Sample:
<CardCreditLoyaltyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loyalty.Core.Contracts">
  <company>sample string 4</company>
  <companyPassword>sample string 6</companyPassword>
  <companyUsername>sample string 5</companyUsername>
  <requestPassword>sample string 8</requestPassword>
  <requestUser>sample string 7</requestUser>
  <credit>1.1</credit>
  <reason>sample string 2</reason>
  <toCardNumber>sample string 3</toCardNumber>
</CardCreditLoyaltyRequest>

Response Information

Resource Description

VirtualCard
NameDescriptionTypeAdditional information
cardNumber

string

None.

Response Formats

application/json, text/json

Sample:
{
  "cardNumber": "sample string 1"
}

application/xml, text/xml

Sample:
<VirtualCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Loyalty.Core.Contracts">
  <cardNumber>sample string 1</cardNumber>
</VirtualCard>