1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="apigee_v1.html">Apigee API</a> . <a href="apigee_v1.organizations.html">organizations</a> . <a href="apigee_v1.organizations.developers.html">developers</a> . <a href="apigee_v1.organizations.developers.balance.html">balance</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#adjust">adjust(name, body=None, x__xgafv=None)</a></code></p> 79<p class="firstline">Adjust the prepaid balance for the developer. This API will be used in scenarios where the developer has been under-charged or over-charged.</p> 80<p class="toc_element"> 81 <code><a href="#close">close()</a></code></p> 82<p class="firstline">Close httplib2 connections.</p> 83<p class="toc_element"> 84 <code><a href="#credit">credit(name, body=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Credits the account balance for the developer.</p> 86<h3>Method Details</h3> 87<div class="method"> 88 <code class="details" id="adjust">adjust(name, body=None, x__xgafv=None)</code> 89 <pre>Adjust the prepaid balance for the developer. This API will be used in scenarios where the developer has been under-charged or over-charged. 90 91Args: 92 name: string, Required. Account balance for the developer. Use the following structure in your request: `organizations/{org}/developers/{developer}/balance` (required) 93 body: object, The request body. 94 The object takes the form of: 95 96{ # Request for AdjustDeveloperBalance. 97 "adjustment": { # Represents an amount of money with its currency type. # * A positive value of `adjustment` means that that the API provider wishes to adjust the balance for an over-charged developer i.e. the balance of the developer will increase. * A negative value of `adjustment` means that that the API provider wishes to adjust the balance for an under-charged developer i.e. the balance of the developer will decrease. 98 "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. 99 "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. 100 "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. 101 }, 102} 103 104 x__xgafv: string, V1 error format. 105 Allowed values 106 1 - v1 error format 107 2 - v2 error format 108 109Returns: 110 An object of the form: 111 112 { # Account balance for the developer. 113 "wallets": [ # Output only. List of all wallets. Each individual wallet stores the account balance for a particular currency. 114 { # Wallet used to manage an account balance for a particular currency. 115 "balance": { # Represents an amount of money with its currency type. # Current remaining balance of the developer for a particular currency. 116 "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. 117 "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. 118 "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. 119 }, 120 "lastCreditTime": "A String", # Output only. Time at which the developer last added credit to the account in milliseconds since epoch. 121 }, 122 ], 123}</pre> 124</div> 125 126<div class="method"> 127 <code class="details" id="close">close()</code> 128 <pre>Close httplib2 connections.</pre> 129</div> 130 131<div class="method"> 132 <code class="details" id="credit">credit(name, body=None, x__xgafv=None)</code> 133 <pre>Credits the account balance for the developer. 134 135Args: 136 name: string, Required. Account balance for the developer. Use the following structure in your request: `organizations/{org}/developers/{developer}/balance` (required) 137 body: object, The request body. 138 The object takes the form of: 139 140{ # Request for CreditDeveloperBalance. 141 "transactionAmount": { # Represents an amount of money with its currency type. # The amount of money to be credited. The wallet corresponding to the currency specified within `transaction_amount` will be updated. For example, if you specified `currency_code` within `transaction_amount` as "USD", then the amount would be added to the wallet which has the "USD" currency or if no such wallet exists, a new wallet will be created with the "USD" currency. 142 "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. 143 "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. 144 "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. 145 }, 146 "transactionId": "A String", # Each transaction_id uniquely identifies a credit balance request. If multiple requests are received with the same transaction_id, only one of them will be considered. 147} 148 149 x__xgafv: string, V1 error format. 150 Allowed values 151 1 - v1 error format 152 2 - v2 error format 153 154Returns: 155 An object of the form: 156 157 { # Account balance for the developer. 158 "wallets": [ # Output only. List of all wallets. Each individual wallet stores the account balance for a particular currency. 159 { # Wallet used to manage an account balance for a particular currency. 160 "balance": { # Represents an amount of money with its currency type. # Current remaining balance of the developer for a particular currency. 161 "currencyCode": "A String", # The three-letter currency code defined in ISO 4217. 162 "nanos": 42, # Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If `units` is positive, `nanos` must be positive or zero. If `units` is zero, `nanos` can be positive, zero, or negative. If `units` is negative, `nanos` must be negative or zero. For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. 163 "units": "A String", # The whole units of the amount. For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. 164 }, 165 "lastCreditTime": "A String", # Output only. Time at which the developer last added credit to the account in milliseconds since epoch. 166 }, 167 ], 168}</pre> 169</div> 170 171</body></html>