Lune Docs Logo
Log inContact us

Orders

Create an order by mass

HTTP POST to /v1/orders/by-mass
Request body

  • Sample request
  • Response

    The order's unique identifier

    Account-unique identifier provided by the client.

    idempotency_key has two purposes:

    1. Clients can safely retry order requests without accidentally performing the same operation twice. The current state of the original order is returned.
    2. Clients can use idempotency_key to reconcile orders with other entities on their system.

    Identifies whether the order has been placed by quantity (kg CO2) or value (monetary amount)

    quantity
    value

    Order status

    received
    placed
    paid
    retiring
    cancelled

    Order currency code

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased. May be lower than requested_value.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The total cost for the order inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Lune's fee.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity of CO2 offsets purchased in tonnes.

    How the order will be paid. When card, Lune will attempt to charge the card and pay this order. When invoice, Lune will email an invoice with payment instructions.

    invoice
    card

    Order creation timestamp

    bundles are set when the order's status is placed, paid, retiring or complete.

    The bundles associated with the order including their relative quantity and cost breakdown.

    The bundle's unique identifier

    The bundle's name

    A bundle's image URL

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity for the specific bundle (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2 inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The bundle's net offset cost being purchased.

    Unit: order currency

    If true, there is no inventory necessary to fully satisfy the order for this bundle.

    Projects are set when the order's status is retiring or complete.

    The projects associated with the order including their relative quantity and cost breakdown.

    Orders are placed against bundles, not projects. Projects in a bundle may change based on supply.

    This property is set as soon as we can guarantee project supply.

    The project's unique identifier

    The project's name

    The project's offset type, eg Forest conservation, Afforestation, Direct Air Capture

    The project's unique slug

    URL to the project's logo

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Carbon offset purchased (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Project unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased.

    Unit: order currency

    Describes whether credits for a project have been allocated to an order or retired

    allocated
    retired

    Carbon credits PDF certificate URL.

    This property is set when an order has state 'complete'

    The property is set (and the certificate is available) regardless of the Sustainability page configuration.

    The URL requires API authentication and cannot be accessed anonymously.

    The Carbon credits certificate public URL.

    Once the Sustainability page of the associated account is enabled and configured to include the certificate section, and the order is set to 'complete', this URL will link to the publicly accessible certificate.

    An arbitrary dictionary (key-value pairs) to store application-specific information.

    Lune doesn't use this information for order processing. Its purpose is for the API clients to be able to attach arbitrary information (to an order for example) and then retrieve it.

    The offset link identifier, if the order was placed through an offset link

    End-user email.

    This property is currently populated on orders placed through offset links.

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Requested quantity of CO2 offsets to purchase in tonnes.

    Requested value of CO2 offsets to purchase in the account's currency.

    The emission calculation unique identifier

  • Sample response
  • Errors
    This API operation can return the following errors:
    HTTP status codeError code
    400
    api_version_invalid
    400
    bundle_selection_ratios_invalid
    400
    bundle_selection_bundle_invalid
    400
    order_value_invalid
    400
    bundle_id_invalid
    400
    id_invalid
    400
    distance_invalid
    400
    test_account_name_update_disallowed
    400
    bundle_selection_ratios_invalid_format
    400
    address_not_found

    Create an order by value

    HTTP POST to /v1/orders/by-value
    Request body

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Maximum price of CO2 offsets to purchase (in the account's currency).

    value must not be lower than the currency's minimum unit.

    Account-unique identifier provided by the client.

    idempotency_key has two purposes:

    1. Clients can safely retry order requests without accidentally performing the same operation twice. The current state of the original order is returned.
    2. Clients can use idempotency_key to reconcile orders with other entities on their system.

    Bundle selection to be used for the order. For the order, this property overrides the account's bundle selection.

    Maps a bundle id to an allocation ratio

    The bundle's unique identifier

    An arbitrary dictionary (key-value pairs) to store application-specific information.

    Lune doesn't use this information for order processing. Its purpose is for the API clients to be able to attach arbitrary information (to an order for example) and then retrieve it.

    Selects to which precision to truncate quantities specific to carbon offsetting.

    g
    kg
    t
  • Sample request
  • Response

    The order's unique identifier

    Account-unique identifier provided by the client.

    idempotency_key has two purposes:

    1. Clients can safely retry order requests without accidentally performing the same operation twice. The current state of the original order is returned.
    2. Clients can use idempotency_key to reconcile orders with other entities on their system.

    Identifies whether the order has been placed by quantity (kg CO2) or value (monetary amount)

    quantity
    value

    Order status

    received
    placed
    paid
    retiring
    cancelled

    Order currency code

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased. May be lower than requested_value.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The total cost for the order inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Lune's fee.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity of CO2 offsets purchased in tonnes.

    How the order will be paid. When card, Lune will attempt to charge the card and pay this order. When invoice, Lune will email an invoice with payment instructions.

    invoice
    card

    Order creation timestamp

    bundles are set when the order's status is placed, paid, retiring or complete.

    The bundles associated with the order including their relative quantity and cost breakdown.

    The bundle's unique identifier

    The bundle's name

    A bundle's image URL

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity for the specific bundle (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2 inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The bundle's net offset cost being purchased.

    Unit: order currency

    If true, there is no inventory necessary to fully satisfy the order for this bundle.

    Projects are set when the order's status is retiring or complete.

    The projects associated with the order including their relative quantity and cost breakdown.

    Orders are placed against bundles, not projects. Projects in a bundle may change based on supply.

    This property is set as soon as we can guarantee project supply.

    The project's unique identifier

    The project's name

    The project's offset type, eg Forest conservation, Afforestation, Direct Air Capture

    The project's unique slug

    URL to the project's logo

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Carbon offset purchased (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Project unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased.

    Unit: order currency

    Describes whether credits for a project have been allocated to an order or retired

    allocated
    retired

    Carbon credits PDF certificate URL.

    This property is set when an order has state 'complete'

    The property is set (and the certificate is available) regardless of the Sustainability page configuration.

    The URL requires API authentication and cannot be accessed anonymously.

    The Carbon credits certificate public URL.

    Once the Sustainability page of the associated account is enabled and configured to include the certificate section, and the order is set to 'complete', this URL will link to the publicly accessible certificate.

    An arbitrary dictionary (key-value pairs) to store application-specific information.

    Lune doesn't use this information for order processing. Its purpose is for the API clients to be able to attach arbitrary information (to an order for example) and then retrieve it.

    The offset link identifier, if the order was placed through an offset link

    End-user email.

    This property is currently populated on orders placed through offset links.

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Requested value of CO2 offsets to purchase in the account's currency.

    Requested quantity of CO2 offsets to purchase in tonnes.

    The emission calculation unique identifier

  • Sample response
  • Errors
    This API operation can return the following errors:
    HTTP status codeError code
    400
    api_version_invalid
    400
    bundle_selection_ratios_invalid
    400
    bundle_selection_bundle_invalid
    400
    order_value_invalid
    400
    bundle_id_invalid
    400
    id_invalid
    400
    distance_invalid
    400
    test_account_name_update_disallowed
    400
    bundle_selection_ratios_invalid_format
    400
    address_not_found

    Create an order by estimate id

    HTTP POST to /v1/orders/by-estimate
    Request body

    The emission calculation unique identifier

    Account-unique identifier provided by the client.

    idempotency_key has two purposes:

    1. Clients can safely retry order requests without accidentally performing the same operation twice. The current state of the original order is returned.
    2. Clients can use idempotency_key to reconcile orders with other entities on their system.

    Bundle selection percentages.

    The sum of all percentages must equal 100.

    If not specified, the preconfigured allocation ratios are going to be used.

    If, for each selection, percentage is not provided, the selection is divided equally (best effort) between bundles. percentage must be provided for all or none of the bundles.

    Maps a bundle id to an allocation ratio

    The bundle's unique identifier

    An arbitrary dictionary (key-value pairs) to store application-specific information.

    Lune doesn't use this information for order processing. Its purpose is for the API clients to be able to attach arbitrary information (to an order for example) and then retrieve it.

    Selects to which precision to truncate quantities specific to carbon offsetting.

    g
    kg
    t
  • Sample request
  • Response

    The order's unique identifier

    Account-unique identifier provided by the client.

    idempotency_key has two purposes:

    1. Clients can safely retry order requests without accidentally performing the same operation twice. The current state of the original order is returned.
    2. Clients can use idempotency_key to reconcile orders with other entities on their system.

    Identifies whether the order has been placed by quantity (kg CO2) or value (monetary amount)

    quantity
    value

    Order status

    received
    placed
    paid
    retiring
    cancelled

    Order currency code

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased. May be lower than requested_value.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The total cost for the order inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Lune's fee.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity of CO2 offsets purchased in tonnes.

    How the order will be paid. When card, Lune will attempt to charge the card and pay this order. When invoice, Lune will email an invoice with payment instructions.

    invoice
    card

    Order creation timestamp

    bundles are set when the order's status is placed, paid, retiring or complete.

    The bundles associated with the order including their relative quantity and cost breakdown.

    The bundle's unique identifier

    The bundle's name

    A bundle's image URL

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity for the specific bundle (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2 inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The bundle's net offset cost being purchased.

    Unit: order currency

    If true, there is no inventory necessary to fully satisfy the order for this bundle.

    Projects are set when the order's status is retiring or complete.

    The projects associated with the order including their relative quantity and cost breakdown.

    Orders are placed against bundles, not projects. Projects in a bundle may change based on supply.

    This property is set as soon as we can guarantee project supply.

    The project's unique identifier

    The project's name

    The project's offset type, eg Forest conservation, Afforestation, Direct Air Capture

    The project's unique slug

    URL to the project's logo

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Carbon offset purchased (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Project unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased.

    Unit: order currency

    Describes whether credits for a project have been allocated to an order or retired

    allocated
    retired

    Carbon credits PDF certificate URL.

    This property is set when an order has state 'complete'

    The property is set (and the certificate is available) regardless of the Sustainability page configuration.

    The URL requires API authentication and cannot be accessed anonymously.

    The Carbon credits certificate public URL.

    Once the Sustainability page of the associated account is enabled and configured to include the certificate section, and the order is set to 'complete', this URL will link to the publicly accessible certificate.

    An arbitrary dictionary (key-value pairs) to store application-specific information.

    Lune doesn't use this information for order processing. Its purpose is for the API clients to be able to attach arbitrary information (to an order for example) and then retrieve it.

    The offset link identifier, if the order was placed through an offset link

    End-user email.

    This property is currently populated on orders placed through offset links.

    The emission calculation unique identifier

    Requested value of CO2 offsets to purchase in the account's currency.

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Requested quantity of CO2 offsets to purchase in tonnes.

    Errors
    This API operation can return the following errors:
    HTTP status codeError code
    400
    api_version_invalid
    400
    bundle_selection_ratios_invalid
    400
    bundle_selection_bundle_invalid
    400
    order_value_invalid
    400
    bundle_id_invalid
    400
    id_invalid
    400
    distance_invalid
    400
    test_account_name_update_disallowed
    400
    bundle_selection_ratios_invalid_format
    400
    address_not_found

    List orders

    HTTP GET to /v1/orders
    Sample request
  • Sample request
  • Returns the account's paginated orders in reverse order (most recent first).
    Query parameters

    Pattern: ^\d+$

    Maximum number of resources to return, between 1 and 100.

    A cursor for use in pagination.

    The cursor that points to the starting item of the next page of results. If not provided, the first page of results is returned.

    Filter orders by offset_link_id.

    If offset_link_id is set, the response will only include orders belonging to the particular offset link.

    Response

    Whether or not there are more elements available after this set.

    If false, this set comprises the end of the array.

    Part of a paginated response.

    The cursor value to be used as the after parameter for fetching the next page of results.

    null if has_more is false.

    An array of Order objects ordered by creation date descending.

    Part of a paginated response.

    An Order represents a carbon credit purchase.

    Orders are placed against one or multiple project bundles. Credits are allocated to the Order from any of the projects that belong to the bundles. These are then retired.

    An Order transitions through multiple statuses throughout its lifetime as Lune fulfills the Order.

    As soon as an Order has a credit retired, the Order's certificate can be downloaded.

    The order's unique identifier

    Account-unique identifier provided by the client.

    idempotency_key has two purposes:

    1. Clients can safely retry order requests without accidentally performing the same operation twice. The current state of the original order is returned.
    2. Clients can use idempotency_key to reconcile orders with other entities on their system.

    Identifies whether the order has been placed by quantity (kg CO2) or value (monetary amount)

    quantity
    value

    Order status

    received
    placed
    paid
    retiring
    cancelled

    Order currency code

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased. May be lower than requested_value.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The total cost for the order inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Lune's fee.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity of CO2 offsets purchased in tonnes.

    How the order will be paid. When card, Lune will attempt to charge the card and pay this order. When invoice, Lune will email an invoice with payment instructions.

    invoice
    card

    Order creation timestamp

    bundles are set when the order's status is placed, paid, retiring or complete.

    The bundles associated with the order including their relative quantity and cost breakdown.

    The bundle's unique identifier

    The bundle's name

    A bundle's image URL

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity for the specific bundle (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2 inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The bundle's net offset cost being purchased.

    Unit: order currency

    If true, there is no inventory necessary to fully satisfy the order for this bundle.

    Projects are set when the order's status is retiring or complete.

    The projects associated with the order including their relative quantity and cost breakdown.

    Orders are placed against bundles, not projects. Projects in a bundle may change based on supply.

    This property is set as soon as we can guarantee project supply.

    The project's unique identifier

    The project's name

    The project's offset type, eg Forest conservation, Afforestation, Direct Air Capture

    The project's unique slug

    URL to the project's logo

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Carbon offset purchased (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Project unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased.

    Unit: order currency

    Describes whether credits for a project have been allocated to an order or retired

    allocated
    retired

    Carbon credits PDF certificate URL.

    This property is set when an order has state 'complete'

    The property is set (and the certificate is available) regardless of the Sustainability page configuration.

    The URL requires API authentication and cannot be accessed anonymously.

    The Carbon credits certificate public URL.

    Once the Sustainability page of the associated account is enabled and configured to include the certificate section, and the order is set to 'complete', this URL will link to the publicly accessible certificate.

    An arbitrary dictionary (key-value pairs) to store application-specific information.

    Lune doesn't use this information for order processing. Its purpose is for the API clients to be able to attach arbitrary information (to an order for example) and then retrieve it.

    The offset link identifier, if the order was placed through an offset link

    End-user email.

    This property is currently populated on orders placed through offset links.

    Errors
    This API operation can return the following errors:
    HTTP status codeError code
    400
    api_version_invalid
    400
    bundle_selection_ratios_invalid
    400
    bundle_selection_bundle_invalid
    400
    order_value_invalid
    400
    bundle_id_invalid
    400
    id_invalid
    400
    distance_invalid
    400
    test_account_name_update_disallowed
    400
    bundle_selection_ratios_invalid_format
    400
    address_not_found

    Get an order by idempotency key

    HTTP GET to /v1/orders/by-idempotency-key/{idempotency_key}
    Sample request
  • Sample request
  • Query parameters

    The order's idempotency key.

    Order idempotency keys must be unique per account.

    Response

    An Order represents a carbon credit purchase.

    Orders are placed against one or multiple project bundles. Credits are allocated to the Order from any of the projects that belong to the bundles. These are then retired.

    An Order transitions through multiple statuses throughout its lifetime as Lune fulfills the Order.

    As soon as an Order has a credit retired, the Order's certificate can be downloaded.

    The order's unique identifier

    Account-unique identifier provided by the client.

    idempotency_key has two purposes:

    1. Clients can safely retry order requests without accidentally performing the same operation twice. The current state of the original order is returned.
    2. Clients can use idempotency_key to reconcile orders with other entities on their system.

    Identifies whether the order has been placed by quantity (kg CO2) or value (monetary amount)

    quantity
    value

    Order status

    received
    placed
    paid
    retiring
    cancelled

    Order currency code

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased. May be lower than requested_value.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The total cost for the order inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Lune's fee.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity of CO2 offsets purchased in tonnes.

    How the order will be paid. When card, Lune will attempt to charge the card and pay this order. When invoice, Lune will email an invoice with payment instructions.

    invoice
    card

    Order creation timestamp

    bundles are set when the order's status is placed, paid, retiring or complete.

    The bundles associated with the order including their relative quantity and cost breakdown.

    The bundle's unique identifier

    The bundle's name

    A bundle's image URL

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity for the specific bundle (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2 inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The bundle's net offset cost being purchased.

    Unit: order currency

    If true, there is no inventory necessary to fully satisfy the order for this bundle.

    Projects are set when the order's status is retiring or complete.

    The projects associated with the order including their relative quantity and cost breakdown.

    Orders are placed against bundles, not projects. Projects in a bundle may change based on supply.

    This property is set as soon as we can guarantee project supply.

    The project's unique identifier

    The project's name

    The project's offset type, eg Forest conservation, Afforestation, Direct Air Capture

    The project's unique slug

    URL to the project's logo

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Carbon offset purchased (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Project unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased.

    Unit: order currency

    Describes whether credits for a project have been allocated to an order or retired

    allocated
    retired

    Carbon credits PDF certificate URL.

    This property is set when an order has state 'complete'

    The property is set (and the certificate is available) regardless of the Sustainability page configuration.

    The URL requires API authentication and cannot be accessed anonymously.

    The Carbon credits certificate public URL.

    Once the Sustainability page of the associated account is enabled and configured to include the certificate section, and the order is set to 'complete', this URL will link to the publicly accessible certificate.

    An arbitrary dictionary (key-value pairs) to store application-specific information.

    Lune doesn't use this information for order processing. Its purpose is for the API clients to be able to attach arbitrary information (to an order for example) and then retrieve it.

    The offset link identifier, if the order was placed through an offset link

    End-user email.

    This property is currently populated on orders placed through offset links.

    Errors
    This API operation can return the following errors:
    HTTP status codeError code
    404
    429

    Get an order

    HTTP GET to /v1/orders/{id}
    Sample request
  • Sample request
  • Query parameters

    The order's unique identifier

    Response

    An Order represents a carbon credit purchase.

    Orders are placed against one or multiple project bundles. Credits are allocated to the Order from any of the projects that belong to the bundles. These are then retired.

    An Order transitions through multiple statuses throughout its lifetime as Lune fulfills the Order.

    As soon as an Order has a credit retired, the Order's certificate can be downloaded.

    The order's unique identifier

    Account-unique identifier provided by the client.

    idempotency_key has two purposes:

    1. Clients can safely retry order requests without accidentally performing the same operation twice. The current state of the original order is returned.
    2. Clients can use idempotency_key to reconcile orders with other entities on their system.

    Identifies whether the order has been placed by quantity (kg CO2) or value (monetary amount)

    quantity
    value

    Order status

    received
    placed
    paid
    retiring
    cancelled

    Order currency code

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased. May be lower than requested_value.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The total cost for the order inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Lune's fee.

    This property is set when bundles are assigned to the order. Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity of CO2 offsets purchased in tonnes.

    How the order will be paid. When card, Lune will attempt to charge the card and pay this order. When invoice, Lune will email an invoice with payment instructions.

    invoice
    card

    Order creation timestamp

    bundles are set when the order's status is placed, paid, retiring or complete.

    The bundles associated with the order including their relative quantity and cost breakdown.

    The bundle's unique identifier

    The bundle's name

    A bundle's image URL

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Quantity for the specific bundle (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Bundle unit price per tonne CO2 inclusive of fees.

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The bundle's net offset cost being purchased.

    Unit: order currency

    If true, there is no inventory necessary to fully satisfy the order for this bundle.

    Projects are set when the order's status is retiring or complete.

    The projects associated with the order including their relative quantity and cost breakdown.

    Orders are placed against bundles, not projects. Projects in a bundle may change based on supply.

    This property is set as soon as we can guarantee project supply.

    The project's unique identifier

    The project's name

    The project's offset type, eg Forest conservation, Afforestation, Direct Air Capture

    The project's unique slug

    URL to the project's logo

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Carbon offset purchased (tonnes CO2)

    Pattern: ^[0-9]+(\.[0-9]+)?$

    Project unit price per tonne CO2

    Unit: order currency

    Pattern: ^[0-9]+(\.[0-9]+)?$

    The net offset cost being purchased.

    Unit: order currency

    Describes whether credits for a project have been allocated to an order or retired

    allocated
    retired

    Carbon credits PDF certificate URL.

    This property is set when an order has state 'complete'

    The property is set (and the certificate is available) regardless of the Sustainability page configuration.

    The URL requires API authentication and cannot be accessed anonymously.

    The Carbon credits certificate public URL.

    Once the Sustainability page of the associated account is enabled and configured to include the certificate section, and the order is set to 'complete', this URL will link to the publicly accessible certificate.

    An arbitrary dictionary (key-value pairs) to store application-specific information.

    Lune doesn't use this information for order processing. Its purpose is for the API clients to be able to attach arbitrary information (to an order for example) and then retrieve it.

    The offset link identifier, if the order was placed through an offset link

    End-user email.

    This property is currently populated on orders placed through offset links.

    Errors
    This API operation can return the following errors:
    HTTP status codeError code
    404
    429