Comercios

Obtener Comercios

GET /v1/merchants

Este endpoint permite obtener los comercios asociados a un cliente.

ParámetrosDescripción
page
  • integer
  • El número de la página de resultados a obtener (>=0)
size
  • integer
  • El número de resultados por página (max = 10000)
  curl --request GET \
    --url https://api.menta.global/api/v1/merchants \
    --header 'Authorization: Bearer {access_token}' \
    --url-query 'page=integer' \
    --url-query 'size=integer'
  {
    {
      "_embedded": {
        "merchants": [
          {
            "id": "string",
            "customer_id": "string",
            "country": "string",
            "status": "string",
            "legal_type": "string",
            "business_name": "string",
            "fantasy_name": "string",
            "representative": {
              "representative_id": {
                "type": "string",
                "number": "string"
              },
              "birth_date": "2019-08-24T14:15:22Z",
              "name": "string",
              "surname": "string"
            },
            "merchant_code": "string",
            "address": {
              "state": "string",
              "city": "string",
              "zip": "string",
              "street": "string",
              "number": "string",
              "floor": "string",
              "apartment": "string"
            },
            "email": "string",
            "phone": "string",
            "activity": "string",
            "category": "string",
            "tax": {
              "id": "string",
              "type": "string"
            },
            "settlement_condition": {
              "transaction_fee": "string",
              "settlement": "string",
              "cbu_or_cvu": "string"
            },
            "create_date": "2019-08-24T14:15:22Z",
            "update_date": "2019-08-24T14:15:22Z"
          }
        ]
      },
      "page": {
        "size": 0,
        "total_elements": 0,
        "total_pages": 0,
        "number": 0
      }
    }
  }