Buscar vueltos
curl --request GET \
--url https://api.cobrix.co/api/integrations/v1/{companyId}/customer-payouts \
--header 'Authorization: Bearer <token>' \
--header 'Cobrix-Signature: <cobrix-signature>' \
--header 'Cobrix-Timestamp: <cobrix-timestamp>'const options = {
method: 'GET',
headers: {
'Cobrix-Timestamp': '<cobrix-timestamp>',
'Cobrix-Signature': '<cobrix-signature>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.cobrix.co/api/integrations/v1/{companyId}/customer-payouts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.cobrix.co/api/integrations/v1/{companyId}/customer-payouts"
headers = {
"Cobrix-Timestamp": "<cobrix-timestamp>",
"Cobrix-Signature": "<cobrix-signature>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "5a9e3c1d-7f2b-4e86-b0c4-9d8a7f6e5b41",
"status": "processing",
"amountMinor": 437825,
"currency": "VES",
"sourceAmountMinor": 500,
"sourceCurrency": "USD",
"rateEffectiveAt": "2026-11-14T04:00:00.000Z",
"customerId": "2c7a9e1b-4d6f-4a3c-8b5e-1f0d9c8b7a65",
"accountId": "8d4f1a6c-3b7e-4c92-a5d0-6e1f2a3b4c5d",
"beneficiaryMasked": "0102 · ***0000 · V*****78",
"externalReference": "PED-1001",
"failureCode": null,
"bankReferenceMasked": null,
"createdAt": "2026-11-14T10:00:00.000Z",
"finishedAt": null
}
]
}{
"error": {
"code": "invalid_filter",
"message": "Send exactly one of idempotencyKey or externalReference.",
"requestId": "req-1001"
}
}{
"error": {
"code": "invalid_api_key",
"message": "The API key is missing or invalid.",
"requestId": "req-1001"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "rate_limited",
"message": "Too many requests for this API key.",
"requestId": "req-1001"
}
}{
"error": {
"code": "internal_error",
"message": "Something failed on our side. Try again in a few minutes; if it keeps failing, contact Cobrix support.",
"requestId": "req-1001"
}
}Vueltos
Buscar vueltos
Busca vueltos sin conocer su id, por ejemplo cuando se perdió la respuesta del POST. Envía exactamente uno de los dos filtros. Solo devuelve vueltos pedidos por la API.
GET
/
integrations
/
v1
/
{companyId}
/
customer-payouts
Buscar vueltos
curl --request GET \
--url https://api.cobrix.co/api/integrations/v1/{companyId}/customer-payouts \
--header 'Authorization: Bearer <token>' \
--header 'Cobrix-Signature: <cobrix-signature>' \
--header 'Cobrix-Timestamp: <cobrix-timestamp>'const options = {
method: 'GET',
headers: {
'Cobrix-Timestamp': '<cobrix-timestamp>',
'Cobrix-Signature': '<cobrix-signature>',
Authorization: 'Bearer <token>'
}
};
fetch('https://api.cobrix.co/api/integrations/v1/{companyId}/customer-payouts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.cobrix.co/api/integrations/v1/{companyId}/customer-payouts"
headers = {
"Cobrix-Timestamp": "<cobrix-timestamp>",
"Cobrix-Signature": "<cobrix-signature>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "5a9e3c1d-7f2b-4e86-b0c4-9d8a7f6e5b41",
"status": "processing",
"amountMinor": 437825,
"currency": "VES",
"sourceAmountMinor": 500,
"sourceCurrency": "USD",
"rateEffectiveAt": "2026-11-14T04:00:00.000Z",
"customerId": "2c7a9e1b-4d6f-4a3c-8b5e-1f0d9c8b7a65",
"accountId": "8d4f1a6c-3b7e-4c92-a5d0-6e1f2a3b4c5d",
"beneficiaryMasked": "0102 · ***0000 · V*****78",
"externalReference": "PED-1001",
"failureCode": null,
"bankReferenceMasked": null,
"createdAt": "2026-11-14T10:00:00.000Z",
"finishedAt": null
}
]
}{
"error": {
"code": "invalid_filter",
"message": "Send exactly one of idempotencyKey or externalReference.",
"requestId": "req-1001"
}
}{
"error": {
"code": "invalid_api_key",
"message": "The API key is missing or invalid.",
"requestId": "req-1001"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "rate_limited",
"message": "Too many requests for this API key.",
"requestId": "req-1001"
}
}{
"error": {
"code": "internal_error",
"message": "Something failed on our side. Try again in a few minutes; if it keeps failing, contact Cobrix support.",
"requestId": "req-1001"
}
}
