APIReferênciaPedidos
Listar pedidos
Lista os pedidos da loja, do mais novo ao mais antigo, com filtro por status e cliente.
Permissão da chave: Pedidos › ler.
bearerheader
AuthorizationBearer <chave de API>Chave de API da loja (Painel › Integrações › Chaves de API)
status?stringValor em
"EXPIRED""CANCELED""OPEN""PAID""PARTIALLY_REFUNDED""REFUNDED"paid?booleanpaidFrom?stringpaidTo?stringsource?stringValor em
"STOREFRONT""PLUGIN""API""PAYMENT_LINK""SUBSCRIPTION""DISCORD""MANUAL"customerId?stringstate?stringValor em
"paid""open""closed"q?stringTamanho
1 <= length <= 100method?stringValor em
"PIX""PIX_AUTOMATIC""CARD""BOLETO"paymentLinkId?stringsubscriptionId?stringdelivery?stringValor em
"pending""failed"dispute?"open"Valor em
"open"createdFrom?stringcreatedTo?stringapplication/jsoncurl -X GET "https://api.rivoo.gg/v1/orders?status=EXPIRED&paidFrom=2026-11-01T00%3A00%3A00.000Z&paidTo=2026-11-01T00%3A00%3A00.000Z&source=STOREFRONT&customerId=cus_mhexample0000steve00001&state=paid&q=pedido_123&method=PIX&paymentLinkId=plink_mhexample0000vip00001&subscriptionId=sub_mhexample0000vip0000001&delivery=pending&dispute=open&createdFrom=2026-11-01T00%3A00%3A00.000Z&createdTo=2026-11-01T00%3A00%3A00.000Z" \ -H "Authorization: Bearer $RIVOO_API_KEY"Exemplo de resposta
{ "data": [ { "id": "ord_mhexample0000vip0000001", "source": "API", "status": "PAID", "customerId": "cus_mhexample0000steve00001", "externalId": "pedido_123", "recipient": { "kind": "MINECRAFT", "ref": "Steve", "name": "Steve" }, "items": [ { "id": "oitem_mhexample0000vip00001", "productId": "prod_mhexample0000vip00001", "priceId": "price_mhexample0000vip0001", "name": "VIP+ 30 dias", "quantity": 1, "unitAmount": { "amount": 2990, "currency": "BRL" }, "total": { "amount": 2990, "currency": "BRL" }, "adjustments": [], "recipient": null, "gift": null } ], "totals": { "subtotal": { "amount": 2990, "currency": "BRL" }, "discount": { "amount": 0, "currency": "BRL" }, "giftCard": { "amount": 0, "currency": "BRL" }, "total": { "amount": 2990, "currency": "BRL" }, "refunded": { "amount": 0, "currency": "BRL" } }, "allowedMethods": [ "PIX", "CARD", "BOLETO" ], "paidByPaymentId": "pay_mhexample0000vip0000001", "note": null, "metadata": { "pedido": "123" }, "customer": { "id": "cus_mhexample0000steve00001", "name": "Steve", "email": "[email protected]" }, "expiresAt": "2026-11-01T21:04:13.000Z", "paidAt": "2026-10-31T21:04:51.000Z", "expiredAt": null, "canceledAt": null, "createdAt": "2026-10-31T21:04:13.000Z", "method": "PIX", "paymentLink": null, "dispute": null, "delivery": "done" } ], "hasMore": false, "totalCount": 1}