Country:
/v1/merchants/{id}/submerchants
Obtener Subcomercios de un Comercio
El endpoint permite recuperar la lista de todos los subcomercios asociados a un comercio principal mediante su ID único.
URL Parameters
id
Identificador único del comercio
example
page
example
page_size
example
sort
example
Response Examples
200
200
{
"data": [
{
"id": "example_string",
"parent_id": "example_string",
"organization_id": "example_string",
"name": "example_string",
"type": "ECOMMERCE",
"alias": "example_string",
"billing_address": {
"country": "example_string",
"street": "example_string",
"number": "example_string",
"city": "example_string",
"state": "example_string",
"zip_code": "example_string"
},
"location_address": {
"country": "example_string",
"street": "example_string",
"number": "example_string",
"state": "example_string",
"city": "example_string",
"zip_code": "example_string"
},
"email": "example_string",
"phone": "example_string",
"status": "example_string",
"activity": "example_string",
"default_currency": "example_string",
"supported_currencies": [
"example_string"
],
"rails": {
"VISA": {
"mcc": "example_string",
"rail_merchant_external_id": "example_string",
"payfac_id": "example_string",
"annual_volume": [
{
"currency": "example_string",
"value": 123
}
],
"products": {
"DEBIT": {
"enabled": true,
"merchant_network_id": "example_string",
"fee": {
"fee_type": "example_string",
"transaction_fee": 123,
"withdrawal_fee": 123,
"currency": "example_string"
},
"settlement": {
"frequency": "example_string"
}
}
}
}
},
"website": "example_string",
"created_at": "example_string",
"updated_at": "example_string"
}
],
"pagination": {
"page": 123,
"page_size": 123,
"total": 123
}
}400
Error de validación
{
"message": "example_string",
"error_type": "example_string",
"details": [
{
"field": "example_string",
"description": "example_string"
}
]
}404
404
{
"message": "example_string",
"error_type": "example_string"
}Language
Login required to test API
Code Examples
cURL
curl -X GET "https://api.akua.la/v1/merchants/example_value/submerchants" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"