balance
Creates, updates, deletes, gets or lists a balance
resource.
Overview
Name | balance |
Type | Resource |
Id | google.apigee.balance |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
organizations_developers_balance_credit | exec | organizationsId , developersId | Credits the account balance for the developer. | |
organizations_developers_balance_adjust | exec | organizationsId , developersId | Adjust the prepaid balance for the developer. This API will be used in scenarios where the developer has been under-charged or over-charged. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
developersId | string | |
organizationsId | string |
Lifecycle Methods
- organizations_developers_balance_credit
- organizations_developers_balance_adjust
Credits the account balance for the developer.
EXEC google.apigee.balance.organizations_developers_balance_credit
@organizationsId='{{ organizationsId }}' --required,
@developersId='{{ developersId }}' --required
@@json=
'{
"transactionAmount": "{{ transactionAmount }}",
"transactionId": "{{ transactionId }}"
}';
Adjust the prepaid balance for the developer. This API will be used in scenarios where the developer has been under-charged or over-charged.
EXEC google.apigee.balance.organizations_developers_balance_adjust
@organizationsId='{{ organizationsId }}' --required,
@developersId='{{ developersId }}' --required
@@json=
'{
"adjustment": "{{ adjustment }}"
}';