Visão Geral
Tokens
Charges
Sessions
Customers
Merchants
Vendors
Sellers
Webhooks
Reports
Reports
Exportar dados da base
POST
/
v1
/
reports
curl --request POST \
--url https://api.malga.io/v1/reports \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>' \
--data '{
"value": {
"sendTo": "user@example.com",
"type": "transactions",
"fields": [
"transaction__id",
"transaction__created_at",
"transaction__status"
],
"filters": {
"transactionRequestPaymentMethod": [
"pix"
],
"transactionStatus": [
"authorized"
],
"transactionCreatedAt": {
"gte": "2019-08-24T14:15:22Z",
"lte": "2019-08-24T14:15:22Z"
},
"transactionMerchantId": "c5ec17c6-4be7-42ba-8e07-b8b27d992bfd"
}
}
}'
{
"value": {
"id": "3a4f49ca-f714-4ed5-b415-6556d87645f6",
"clientId": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"email": "user@example.com",
"language": "pt",
"status": "pending",
"type": "string",
"pagesCount": null,
"files": null,
"fields": [
"transaction__id",
"transaction__created_at",
"transaction__status"
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"expiredAt": "2019-08-24T14:15:22Z",
"timezone": "America/Sao_Paulo",
"filters": {
"transactionRequestPaymentMethod": [
"pix"
],
"transactionStatus": [
"authorized"
],
"transactionCreatedAt": {
"gte": "2019-08-24T14:15:22Z",
"lte": "2019-08-24T14:15:22Z"
},
"transactionMerchantId": "c5ec17c6-4be7-42ba-8e07-b8b27d992bfd"
}
}
}
Headers
Idioma da exportação
Available options:
en
, pt
Timezone local do cliente no formato tz database
Body
application/json
Possuí somente o ultimo status de transação
Possuí somente o ultimo status de transação
Possuí todo ciclo de vida da transação
Response
201
application/json
Created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.malga.io/v1/reports \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>' \
--data '{
"value": {
"sendTo": "user@example.com",
"type": "transactions",
"fields": [
"transaction__id",
"transaction__created_at",
"transaction__status"
],
"filters": {
"transactionRequestPaymentMethod": [
"pix"
],
"transactionStatus": [
"authorized"
],
"transactionCreatedAt": {
"gte": "2019-08-24T14:15:22Z",
"lte": "2019-08-24T14:15:22Z"
},
"transactionMerchantId": "c5ec17c6-4be7-42ba-8e07-b8b27d992bfd"
}
}
}'
{
"value": {
"id": "3a4f49ca-f714-4ed5-b415-6556d87645f6",
"clientId": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"email": "user@example.com",
"language": "pt",
"status": "pending",
"type": "string",
"pagesCount": null,
"files": null,
"fields": [
"transaction__id",
"transaction__created_at",
"transaction__status"
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"expiredAt": "2019-08-24T14:15:22Z",
"timezone": "America/Sao_Paulo",
"filters": {
"transactionRequestPaymentMethod": [
"pix"
],
"transactionStatus": [
"authorized"
],
"transactionCreatedAt": {
"gte": "2019-08-24T14:15:22Z",
"lte": "2019-08-24T14:15:22Z"
},
"transactionMerchantId": "c5ec17c6-4be7-42ba-8e07-b8b27d992bfd"
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.