# Get order details Retrieve detailed information about a specific order, including buyer, items, payments, commissions, and refund information. Endpoint: GET /easyflow/orders/{orderId} Version: 1.0 Security: bearerAuth ## Path parameters: - `orderId` (string, required) Unique identifier of the order to retrieve. ## Header parameters: - `x-fingerprint-id` (string, required) Unique device or session fingerprint identifier used for security and fraud prevention. - `business-id` (string, required) Business Identifier ## Response 200 fields (application/json): - `statusCode` (integer) Example: 200 - `data` (object) - `data.id` (string) - `data.date` (string) - `data.paidAt` (string) - `data.status` (string) Enum: "pending", "paid", "partially-paid", "canceled", "reversed", "refunded", "charged-back" - `data.totalCommissionValueInCents` (integer) total business commission - `data.orderBuyer` (object) - `data.orderBuyer.name` (string) - `data.orderBuyer.email` (string) - `data.orderBuyer.phone` (object) - `data.orderBuyer.phone.areaCode` (string) - `data.orderBuyer.phone.ddd` (string) - `data.orderBuyer.phone.number` (string) - `data.orderBuyer.phone.isMobile` (boolean) - `data.orderBuyer.address` (object) - `data.orderBuyer.address.zipCode` (string) - `data.orderBuyer.address.street` (string) - `data.orderBuyer.address.complement` (string) - `data.orderBuyer.address.neighborhood` (string) - `data.orderBuyer.address.city` (string) - `data.orderBuyer.address.state` (string) - `data.orderBuyer.document` (object) - `data.orderBuyer.document.type` (string) - `data.orderBuyer.deliveryAddress` (object) - `data.coupon` (object) - `data.coupon.code` (string) - `data.coupon.totalDiscountValueInCents` (integer) - `data.coupon.percentage` (integer) - `data.coupon.valueInCents` (integer) - `data.refundable` (boolean) Indicates whether the order is still eligible for refund request. - `data.refundableUntil` (string) Date until which the refund request can be submitted. - `data.refundRequest` (object) Refund request details. This object is only returned if a refund request has been submitted. - `data.refundRequest.supportEmail` (string) - `data.refundRequest.createdAt` (string) - `data.refundRequest.updatedAt` (string) - `data.refundRequest.canceledAt` (string) - `data.refundRequest.executionDueDate` (string) - `data.items` (array) - `data.items.commissions` (array) - `data.items.commissions.grossValueInCents` (integer) Gross commission value in cents (before fees). - `data.items.commissions.netValueInCents` (integer) Net commission value in cents (after fees). - `data.items.commissions.taxInCents` (integer) - `data.items.commissions.receiverRole` (string) - `data.items.commissions.settlementDate` (string) - `data.items.commissions.planDetails` (object) - `data.items.commissions.planDetails.description` (string) - `data.items.commissions.planDetails.planName` (string) - `data.items.unitValueInCents` (integer) - `data.items.quantity` (integer) - `data.payments` (array) - `data.payments.payment` (object) - `data.payments.payment.valuePaidInCents` (integer) - `data.payments.payment.externalId` (string) - `data.payments.payment.fineValueInCents` (integer) - `data.payments.payment.installments` (integer) - `data.payments.payment.interestValueInCents` (integer) - `data.payments.payment.paymentMethod` (string) - `data.payments.payment.statusHistory` (array) - `data.payments.payment.creditCard` (object) - `data.payments.payment.creditCard.nickname` (string) - `data.payments.payment.creditCard.last4Numbers` (string) - `data.payments.payment.creditCard.holderName` (string) - `data.payments.payment.creditCard.expiresAtMonth` (integer) - `data.payments.payment.creditCard.expiresAtYear` (integer) - `data.payments.payment.creditCard.flag` (string) Enum: "visa", "mastercard", "american-express", "diners-club", "discover", "jcb", "unionpay", "unionpay", "mir", "elo", "hiper", "hipercard" ## Response 400 fields (application/json): - `message` (string) Invalid param: [] Example: "Invalid param: []" - `error` (string) Bad Request Example: "Bad Request" - `statusCode` (integer) 400 Example: 400 ## Response 401 fields (application/json): - `message` (string) Invalid field Example: "Unauthorized" - `error` (string) Unauthorized Example: "Unauthorized" - `statusCode` (integer) 401 Example: 401 ## Response 403 fields (application/json): - `message` (string) Forbidden resource Example: "Forbidden resource" - `error` (string) Forbidden Example: "Forbidden" - `statusCode` (integer) 403 Example: 403 ## Response 500 fields (application/json): - `message` (string) Internal server error Example: "Internal server error" - `error` (string) Internal Server Error Example: "Internal Server Error" - `statusCode` (integer) 500 Example: 500