Skip to content

Get Account Checkout Information

Returns important summary information concerning a new enrollment.

Authentication Required

Requires CAN_CREATE_ACCOUNTS permission.

Arguments

Returns

query getAccountCheckoutInfo ($input:AccountCheckoutInformationInput!) {
    getAccountCheckoutInformation (input:$input){
        productId
        productName
        isPrepayProduct
        depositRequiredForPrepayProduct
        prepayProductBalanceThreshold
        pricePerKwh
    }
}
1
2
3
4
5
6
7
8
# Input variables
{
    "input": {
        "accountNumber": "A-123456",
        "productId": "1",
        "esiId": "1044372955061065003",
    }
}
{
    "data": {
        "getAccountCheckoutInformation": {
            "depositRequiredForPrepayProduct": false,
            "isPrepayProduct": false,
            "prepayProductBalanceThreshold": 2500,
            "pricePerKwh": "9.55010",
            "productId": "1",
            "productName": "Product Name"
        }
    }
}
Expected error messages
  • KT-CT-1111
    • Error thrown if your organization does not have access to view this account's information.
  • KT-CT-4177
    • Unauthorized access to the account for some other reason.
  • KT-CT-4910
    • Error thrown when a product cannot be found. Check the productId input.
  • KT-CT-3815
    • Error thrown if a payment schedule cannot be found the account. Confirm the account and agreement activity dates.
  • KT-US-3811
    • Error thrown when no credit information is found for the enrollee. We are notified when this occurs. No futher action is needed.
Back to top