๐งพGet orders
This page provides a full description of all the routes available for handling orders. Each route is explained with its parameters, required headers, possible responses and examples of use.
Last updated
This page provides a full description of all the routes available for handling orders. Each route is explained with its parameters, required headers, possible responses and examples of use.
Last updated
โก๏ธ Get an order
โก๏ธ Add a payment to an order
Parameter | Type | Explanation | Mandatory |
---|---|---|---|
Value | Explanation |
---|---|
This route returns an order by its given id, using it you can get a detailed order and all the informations related to it.
GET https://api.fyre.app/api/v1/orders/{orderId}
This route is used to add a payment to an order or to trigger a payment receipt print if there is a printer.
PUT https://api.fyre.app/api/v1/orders/{orderId}/manual-payment
Value | Explanation |
---|---|
Parameter | Type | Explanation | Mandatory |
---|---|---|---|
payment_intent_id
string
Id for the payment intent: identify the payment process even if still processing.
โ
amount
string
A number with 2 decimal digits, followed by a space and the ISO 4217 currency name. Can be preceded by a - sign for negative amounts. ex: 8.90 EUR | -0.05 GBP.
โ
payment_type
Payment provider type used.
โ
name
string
The name of the payment method.
โ
ref
string
Identifies the payment method.
โ
amount_type
How the amount was entered by the user.
โ
items_to_pay
Array<OrderItemToPay>
Items paid.
โ
manual_additional_amount
string
For items amount type, additional amount added to all items amount.
โ
tip_charge_amount
string
Amount of the tips.
โ
transaction_id
string
Id for the payment transaction: filled once paid.
โ
updated_at
string
Updated at in ISO 8601 format.
โ
table
Payment made using a table-based system (e.g., in a restaurant).
stripe
Payment processed through the Stripe payment gateway.
stripe_connect
Payment using Stripe Connect, often for marketplace platforms.
lyra
Payment processed through the Lyra payment gateway.
lyra_marketplace
Payment using Lyra Marketplace, for multi-vendor platforms.
lyf_cb
Payment through Lyf, using a credit card.
lyf_web
Payment through Lyf's web platform.
lyf_in_app
Payment through Lyf's in-app system.
edenred
Payment using Edenred, often for meal vouchers or employee benefits.
swile
Payment using Swile, another provider of meal vouchers and employee benefits.
adyen
Payment processed through the Adyen payment gateway.
pos
Payment made on a physical point of sale (POS) system.
none
No payment method specified.
other_cb
Payment using a credit card other than those specified (CB = Carte Bancaire, used in France).
connector_wallet
Payment made using a wallet system.
worldline
Payment processed through the Worldline payment gateway.
worldline_smart_pos
Payment made through a Worldline smart POS system.
manual
The payment amount is manually entered by the user.
items
The payment amount is based on the total of selected items.
split
The payment is split between multiple parties or methods.
full
The full amount of the transaction is paid.
none
No payment amount is specified or no payment is made.
index
number
โ
quantity
number
โ