Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.greener-choice.com/llms.txt

Use this file to discover all available pages before exploring further.

Greener Choice uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.). Codes in the 5xx range indicate an error with Greener Choice servers. Some 4xx errors that could be handled programmatically include an error code that briefly explains the error reported.

Error Fields

request_id
string
An ID that corresponds to the request that errored. Please provide this when contacting a member of support.
error
object

Example

{
  "request_id": "ab0d1ca5-963e-408f-8b41-592e6c57d15a"
  "error": {
    "type": "example_error",
    "message": "This request has failed."
  }
}