Skip to main content
GET
/
orders
Compras
curl --request GET \
  --url http://api.loya.com.br/v1/orders \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "entity": "phone",
    "doc": "11987654321",
    "value": 99.99,
    "dot": 99
  }
]

Documentation Index

Fetch the complete documentation index at: https://developer.loya.com.br/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer

Maximo de registros

offset
integer

Deslocamento de registros

Response

Detalhes do registro

id
integer
required

Id do registro

Example:

123

entity
enum<string>
required

Tipo de documento

Available options:
cpf,
phone
Example:

"phone"

doc
string
required

Valor do documento

Example:

"11987654321"

value
number<float>
required

Valor do pagamento

Example:

99.99

dot
integer

Pontos resgatados para gerar essa compra

Example:

99