Listar cuentas receptoras
curl --request GET \
--url https://api.cobrix.co/api/integrations/v1/{companyId}/payment-verifications/receiver-accounts \
--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}/payment-verifications/receiver-accounts', 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}/payment-verifications/receiver-accounts"
headers = {
"Cobrix-Timestamp": "<cobrix-timestamp>",
"Cobrix-Signature": "<cobrix-signature>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"receiverAccountKey": "pago_movil:a41c7e90-2b5d-4f13-8a6e-9c0d1e2f3a45",
"bankCode": "0102",
"bankName": "Banco de Venezuela",
"methods": [
"pago_movil"
],
"lookupSupported": true,
"maskedIdentifier": "••••0000",
"currency": "VES"
},
{
"receiverAccountKey": "bank:3d9a7c52-1e4b-4f6a-8c2d-7b5e9f1a0c34",
"bankCode": "0105",
"bankName": "Banco Mercantil",
"methods": [
"pago_movil",
"bank_transfer"
],
"lookupSupported": true,
"maskedIdentifier": "••••4821",
"currency": "VES"
},
{
"receiverAccountKey": "zelle:91d2b6e4-5a3c-4f7d-8e1b-2c6a9d0f4b75",
"bankCode": null,
"bankName": null,
"methods": [
"zelle"
],
"lookupSupported": false,
"maskedIdentifier": "c•••@example.com",
"currency": "USD"
}
]
}{
"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"
}
}Validación de pagos
Listar cuentas receptoras
Las cuentas de la empresa contra las que puedes validar un pago. Usa receiverAccountKey en POST payment-verifications. Una cuenta de banco aparece solo si Cobrix puede consultar a ese banco con ese método. Las cuentas Zelle traen lookupSupported: false: su validación la resuelve una persona. currency es la moneda de la cuenta y la única en la que puedes validar contra ella. Pago móvil solo aparece en cuentas en VES.
GET
/
integrations
/
v1
/
{companyId}
/
payment-verifications
/
receiver-accounts
Listar cuentas receptoras
curl --request GET \
--url https://api.cobrix.co/api/integrations/v1/{companyId}/payment-verifications/receiver-accounts \
--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}/payment-verifications/receiver-accounts', 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}/payment-verifications/receiver-accounts"
headers = {
"Cobrix-Timestamp": "<cobrix-timestamp>",
"Cobrix-Signature": "<cobrix-signature>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"receiverAccountKey": "pago_movil:a41c7e90-2b5d-4f13-8a6e-9c0d1e2f3a45",
"bankCode": "0102",
"bankName": "Banco de Venezuela",
"methods": [
"pago_movil"
],
"lookupSupported": true,
"maskedIdentifier": "••••0000",
"currency": "VES"
},
{
"receiverAccountKey": "bank:3d9a7c52-1e4b-4f6a-8c2d-7b5e9f1a0c34",
"bankCode": "0105",
"bankName": "Banco Mercantil",
"methods": [
"pago_movil",
"bank_transfer"
],
"lookupSupported": true,
"maskedIdentifier": "••••4821",
"currency": "VES"
},
{
"receiverAccountKey": "zelle:91d2b6e4-5a3c-4f7d-8e1b-2c6a9d0f4b75",
"bankCode": null,
"bankName": null,
"methods": [
"zelle"
],
"lookupSupported": false,
"maskedIdentifier": "c•••@example.com",
"currency": "USD"
}
]
}{
"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"
}
}
