GET api_v2/billingAccounts/{accountId}

Получить список транзакций

Request Information

Parameters

NameDescriptionAdditional information
accountId
ID аккаунта

Define this parameter in the request URI.

Response Information

Список транзакций

Response body formats

application/xml, text/xml

Sample:
<BillingData>
  <AccountIsVip>true</AccountIsVip>
  <CurrentBalance>2</CurrentBalance>
  <CurrentBonusBalance>3</CurrentBonusBalance>
  <RegularPayment>4</RegularPayment>
  <HasErrorInPayment>true</HasErrorInPayment>
  <Locale>
    <Name>sample string 1</Name>
    <Currency>sample string 2</Currency>
  </Locale>
  <PromisePayment>
    <CanTakePromisePayment>true</CanTakePromisePayment>
    <BlockReason>sample string 2</BlockReason>
  </PromisePayment>
  <CanEarlyPromisePaymentRepay>true</CanEarlyPromisePaymentRepay>
  <CanProlongPromisePayment>true</CanProlongPromisePayment>
  <SuggestedPayment>
    <PaymentSum>1</PaymentSum>
    <ServiceTypeContent>sample string 2</ServiceTypeContent>
    <Message>sample string 3</Message>
  </SuggestedPayment>
</BillingData>

application/json, text/json

Sample:
{
  "AccountIsVip": true,
  "CurrentBalance": 2.0,
  "CurrentBonusBalance": 3.0,
  "RegularPayment": 4.0,
  "HasErrorInPayment": true,
  "Locale": {
    "Name": "sample string 1",
    "Currency": "sample string 2"
  },
  "PromisePayment": {
    "CanTakePromisePayment": true,
    "BlockReason": "sample string 2"
  },
  "CanEarlyPromisePaymentRepay": true,
  "CanProlongPromisePayment": true,
  "SuggestedPayment": {
    "PaymentSum": 1.0,
    "ServiceTypeContent": "sample string 2",
    "Message": "sample string 3"
  }
}