Get an import
curl --request GET \
--url https://api.simplepay.mx/v1/customer-hub/imports/{import_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.simplepay.mx/v1/customer-hub/imports/{import_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/customer-hub/imports/{import_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){}Get an import
Referencia detallada para GET /v1/customer-hub/imports/.
GET
https://api.simplepay.mx
/
v1
/
customer-hub
/
imports
/
{import_id}
Get an import
curl --request GET \
--url https://api.simplepay.mx/v1/customer-hub/imports/{import_id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.simplepay.mx/v1/customer-hub/imports/{import_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.simplepay.mx/v1/customer-hub/imports/{import_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){}Uso
Usalo para administrar perfiles de cliente del Customer Hub (“Clientes”), el CRM tenant-scoped y agnostico de SimplePay.Antes de llamar
| Tema | Detalle |
|---|---|
| Metodo | GET |
| Ruta | /v1/customer-hub/imports/{import_id} |
| Auth | Bearer API key del ambiente correcto. |
| Scope | customer_hub:read |
| Idempotencia | No aplica para lecturas. |
| Guia relacionada | Customer Hub |
Patron recomendado
- Ejecuta esta lectura desde backend cuando incluya datos privados del tenant.
- Consulta el bloque OpenAPI de esta pagina para el shape exacto de parametros, body y respuestas.
Ejemplo minimo
terminal
curl -sS "https://api.simplepay.mx/v1/customer-hub/imports/imp_123" \
-H "Authorization: Bearer $SIMPLEPAY_API_KEY"
Errores a manejar
400indica payload, parametros o estado invalido.401o403indican API key, ambiente o scopes incorrectos.404significa que el recurso no existe para ese tenant o ambiente.429y5xxse pueden reintentar con backoff; en writes conserva la misma idempotency key.
Contrato OpenAPI
El playground, parametros, body y respuestas de abajo salen de/openapi.json. Si el contrato cambia, actualiza la spec y regenera esta pagina.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
200 - application/json
Customer Hub import
Customer Hub response object as returned by the owning origin Worker (customer, contact, address, relationship, timeline event, note, external ref, provider-sync result, link result, tag, import, sync source, or list envelope).
Last modified on July 8, 2026
⌘I