GET api/pod/VirtualAccount/BuyCreditWithAmount

Request Information

URI Parameters

None.

Body Parameters

BuyCreditBindingModel
NameDescriptionTypeAdditional information
Amount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Amount": 1
}

application/xml, text/xml

Sample:
<BuyCreditBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.PodAPI.Models">
  <Amount>1</Amount>
</BuyCreditBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreditViewMode
NameDescriptionTypeAdditional information
Link

string

None.

HasErrors

boolean

None.

Messages

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Link": "sample string 1",
  "HasErrors": false,
  "Messages": []
}

application/xml, text/xml

Sample:
<CreditViewMode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Barg.PodAPI.Models">
  <Messages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Barg.WebAPI.Models" />
  <Link>sample string 1</Link>
</CreditViewMode>