(GET) Customer Info
Description
Stage (test): https://pge-pe-api.gridx.com/stage/v1/customer/info
Production: https://pge-pe-api.gridx.com/v1/customer/info
The getCustomer Info API provides customer information about that customer and account based on the requested customer information.
Response | Definition |
---|---|
contractID | the customer’s electric “service agreement id” |
customerUuid | a unique identifier for customer ID |
meterAccountID | the customer’s electric “service point ID” |
rateCode | customer’s rate |
voltageClass | customer’s voltage class (primary, secondary, or transmission) |
rateCodeHasVoltageClass | true or false, not all rate codes have voltage classes |
representativeCircuitID | representative circuit ID the customer is on in utility’s territory |
hasCCA | true or false, not all customers have a CCA |
CCA | if the customer has an agreement with a CCA to deliver generation data, the name of the CCA will be returned |
Headers
Parameter | Description |
---|---|
| JWT token received from /token endpoint, more information here: https://api-calculate-docs.gridx.com/acgd/post-token-authentication |
| Base64-encoded contract ID for the customer, Contract IDs (aka Service Point IDs) are 10 digits and must include leading zero’s. |
| Base64-encoded UUID for the customer |
Note* ContractID (aka service agreement ID) and UUID must be base64-encoded. The token request will expire after an hour. Here is a tool to get the encoded values: https://www.base64encode.org/