Merchants
Listagem de merchants cadastrados
Visão Geral
Tokens
Charges
Sessions
Customers
Merchants
Vendors
Sellers
Webhooks
Reports
Merchants
Listagem de merchants cadastrados
GET
/
v1
/
merchants
curl --request GET \
--url https://api.malga.io/v1/merchants \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"meta": {
"itemCount": 10,
"totalItems": 20,
"itemsPerPage": 10,
"totalPages": 5,
"currentPage": 2
},
"items": [
{
"id": "69aea152-ba70-49a3-a31c-044ac1651146",
"updatedAt": "2021-03-12T15:57:20.239Z",
"createdAt": "2021-03-12T15:57:20.239Z",
"clientId": "523afbe7-36dc-4654-9dba-e7167d0e5e2d",
"mcc": "4040",
"status": true,
"providers": [
{
"id": "72cc1ff1-5f6e-4eb2-9cc5-6a3a85525e4b",
"updatedAt": "2021-03-12T15:57:20.239Z",
"createdAt": "2021-03-12T15:57:20.239Z",
"name": "PagSeguro",
"priority": 1,
"credentials": {
"type": "PAGSEGURO",
"token": "1B2B32530CA2464F8AB63843240F5633",
"email": "email@gmail.com"
}
},
{
"id": "2cf5c350-ee26-4557-a47d-9efe1765df51",
"updatedAt": "2021-03-12T15:57:20.239Z",
"createdAt": "2021-03-12T15:57:20.239Z",
"deletedAt": null,
"idempotencyKey": null,
"requestId": null,
"name": "pagarme",
"priority": 2,
"credentials": {
"type": "PAGARME",
"apiKey": "ak_test_Kaa8pfXJ3WOUdCsMQiRYuV66rJZLuA"
}
}
]
}
]
}
Response
200 - application/json
Success
quantidade de itens na página
quantidade total de itens na consulta (esse valor é mantido em cache por 5 minutos para melhorar a performance da API)
quantidade de itens por página
quantidade total de páginas
página atual
Was this page helpful?
curl --request GET \
--url https://api.malga.io/v1/merchants \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"meta": {
"itemCount": 10,
"totalItems": 20,
"itemsPerPage": 10,
"totalPages": 5,
"currentPage": 2
},
"items": [
{
"id": "69aea152-ba70-49a3-a31c-044ac1651146",
"updatedAt": "2021-03-12T15:57:20.239Z",
"createdAt": "2021-03-12T15:57:20.239Z",
"clientId": "523afbe7-36dc-4654-9dba-e7167d0e5e2d",
"mcc": "4040",
"status": true,
"providers": [
{
"id": "72cc1ff1-5f6e-4eb2-9cc5-6a3a85525e4b",
"updatedAt": "2021-03-12T15:57:20.239Z",
"createdAt": "2021-03-12T15:57:20.239Z",
"name": "PagSeguro",
"priority": 1,
"credentials": {
"type": "PAGSEGURO",
"token": "1B2B32530CA2464F8AB63843240F5633",
"email": "email@gmail.com"
}
},
{
"id": "2cf5c350-ee26-4557-a47d-9efe1765df51",
"updatedAt": "2021-03-12T15:57:20.239Z",
"createdAt": "2021-03-12T15:57:20.239Z",
"deletedAt": null,
"idempotencyKey": null,
"requestId": null,
"name": "pagarme",
"priority": 2,
"credentials": {
"type": "PAGARME",
"apiKey": "ak_test_Kaa8pfXJ3WOUdCsMQiRYuV66rJZLuA"
}
}
]
}
]
}