Proveedores


Para obtener dinámicamente los puntos de cobro y la información necesaria de los mismos para creación de órdenes, verficación, etc, es necesario hacer una petición al endpoint /v1/providers con el parámetro opcional order_total si se busca filtrar las tiendas que procesan dicho monto de pago o superior.

GET /v1/providers

Ejemplo

curl -H "Accept: application/compropago" \
-H "Content-type: application/json" \
-u 23976112561d20: \
-X GET \
-d '{
  "order_total": 5000
}' https://api.compropago.com/v1/providers

Respuesta

[
  {
    "internal_name": "SEVEN_ELEVEN",
    "availability": "08:00 hrs - 20:00 hrs",
    "name": "7Eleven",
    "rank": 1,
    "transaction_limit": 10000,
    "commission": 10,
    "is_active": true,
    "store_image": "seven.png",
    "image_small": "https://s3.amazonaws.com/compropago/assets/images/receipt/label-SEVEN_ELEVEN.png",
    "image_medium": "https://s3.amazonaws.com/compropago/assets/images/receipt/receipt-seven-medium.png",
    "image_large": null,
    "type": "Convenience Store"
  },
  {
    "internal_name": "OXXO",
    "availability": "08:00 hrs - 20:00 hrs",
    "name": "Oxxo",
    "rank": 2,
    "transaction_limit": 19000,
    "commission": 10,
    "is_active": true,
    "store_image": "oxxo.png",
    "image_small": "https://s3.amazonaws.com/compropago/assets/images/receipt/label-OXXO.png",
    "image_medium": "https://s3.amazonaws.com/compropago/assets/images/receipt/receipt-oxxo-medium.png",
    "image_large": null,
    "type": "Convenience Store"
  },
  {
    "internal_name": "EXTRA",
    "availability": "01:00 hrs - 22:00 hrs",
    "name": "Extra",
    "rank": 3,
    "transaction_limit": 5000,
    "commission": 8,
    "is_active": true,
    "store_image": "extra.png",
    "image_small": "https://s3.amazonaws.com/compropago/assets/images/receipt/label-EXTRA.png",
    "image_medium": "https://s3.amazonaws.com/compropago/assets/images/receipt/receipt-extra-medium.png",
    "image_large": null,
    "type": "Convenience Store"
  },
  {
    "internal_name": "TELECOMM",
    "availability": "08:00 hrs - 20:00 hrs",
    "name": "Telecomm",
    "rank": 4,
    "transaction_limit": 5000,
    "commission": 15,
    "is_active": true,
    "store_image": "telecomm.png",
    "image_small": "https://s3.amazonaws.com/compropago/assets/images/receipt/label-TELECOMM.png",
    "image_medium": "https://s3.amazonaws.com/compropago/assets/images/receipt/receipt-telecomm-medium.png",
    "image_large": null,
    "type": "Convenience Store"
  },
  {
    "internal_name": "COPPEL",
    "availability": "08:00 hrs - 22:00 hrs",
    "name": "BanCoppel",
    "rank": 8,
    "transaction_limit": 15000,
    "commission": 0,
    "is_active": true,
    "store_image": "coppel.png",
    "image_small": "https://s3.amazonaws.com/compropago/assets/images/receipt/label-COPPEL.png",
    "image_medium": "https://s3.amazonaws.com/compropago/assets/images/receipt/receipt-coppel-medium.png",
    "image_large": null,
    "type": "Convenience Store"
  },
  {
    "internal_name": "BANAMEX",
    "availability": "09:00 hrs - 16:00 hrs",
    "name": "Banamex",
    "rank": 9,
    "transaction_limit": 30000,
    "commission": 0,
    "is_active": true,
    "store_image": "banamex.png",
    "image_small": "https://s3.amazonaws.com/compropago/assets/images/receipt/label-BANAMEX.png",
    "image_medium": "https://s3.amazonaws.com/compropago/assets/images/receipt/receipt-banamex-medium.png",
    "image_large": null,
    "type": "Bank"
  },
  {
    "internal_name": "SANTANDER",
    "availability": "09:00 hrs - 16:00 hrs",
    "name": "Santander",
    "rank": 12,
    "transaction_limit": 30000,
    "commission": 0,
    "is_active": true,
    "store_image": "santander.png",
    "image_small": "https://s3.amazonaws.com/compropago/assets/images/receipt/label-SANTANDER.png",
    "image_medium": "https://s3.amazonaws.com/compropago/assets/images/receipt/receipt-santander-medium.png",
    "image_large": null,
    "type": "Bank"
  },
  {
    "internal_name": "BANORTE",
    "availability": "09:00 hrs - 16:00 hrs",
    "name": "Banorte",
    "rank": 13,
    "transaction_limit": 30000,
    "commission": 0,
    "is_active": true,
    "store_image": "banorte.png",
    "image_small": "https://s3.amazonaws.com/compropago/assets/images/receipt/label-BANORTE.png",
    "image_medium": "https://s3.amazonaws.com/compropago/assets/images/receipt/receipt-banorte-medium.png",
    "image_large": null,
    "type": "Bank"
  },
  {
    "internal_name": "INBURSA",
    "availability": "09:00 hrs - 16:00 hrs",
    "name": "Inbursa",
    "rank": 14,
    "transaction_limit": 30000,
    "commission": 0,
    "is_active": true,
    "store_image": "inbursa.png",
    "image_small": "https://s3.amazonaws.com/compropago/assets/images/receipt/label-INBURSA.png",
    "image_medium": "https://s3.amazonaws.com/compropago/assets/images/receipt/receipt-inbursa-medium.png",
    "image_large": null,
    "type": "Bank"
  },
  {
    "internal_name": "FARMACIA_ABC",
    "availability": "08:00 hrs - 22:00 hrs",
    "name": "Farmacia ABC",
    "rank": 18,
    "transaction_limit": 2000,
    "commission": 0,
    "is_active": true,
    "store_image": "abc.png",
    "image_small": "https://s3.amazonaws.com/compropago/assets/images/receipt/label-FARMACIA_ABC.png",
    "image_medium": "https://s3.amazonaws.com/compropago/assets/images/receipt/receipt-abc-medium.png",
    "image_large": null,
    "type": "Convenience Store"
  }
]
Parámetros opcionales
Campo Tipo de dato Descripción
order_total integer Filtro de monto de pago.

Al utilizar este parámetro se filtrarán las tiendas que sean capaces de procesar montos de dicha cantidad o superiores.

Puntos de cobro autorizados
Para generar una órden, por ejemplo, es necesario utilizar la propiedad internal_name para campos como payment_type en creación de órdenes, por ejemplo, y puede contener cualquiera de los siguientes valores:

  • "SEVEN_ELEVEN"
  • "COPPEL"
  • "EXTRA"
  • "CIRCULO_K"
  • "CASA_LEY"
  • "PITICO"
  • TELECOMM
  • "FARMACIA_ABC"
  • "BANORTE"
  • "FARMACIA_ESQUIVAR"
  • "ELEKTRA"
  • "WOOLWORTH"
  • "DEL_SOL"
  • "BANAMEX"
  • "BANCOMER"
  • SANTANDER
  • "SCOTIABANK"
  • "INBURSA"