Lune Docs Logo

Payments

Get a payment by a temporary id

HTTP GET to /v1/payments/by-temporary-id/{temporary_id}
  • Public endpoint
  • Get a specific payment by a temporary id.The temporary id will remain valid for 15min from the payment's creation after which the endpoint will return a 404.
    Query parameters

    The payment's temporary id

    Response

    A Payment represents a payment for orders placed through Lune Pay.

    The Payment entity contains a reference to the order.

    A Payment represents a payment for orders placed through Lune Pay.

    The Payment entity contains a reference to the order.

    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