Get your test account ready to pay out
POST/test-helpers/seedProbar
La llamada la hace tu navegador, contra el servidor que elijas arriba. Si la documentación no está servida desde el mismo origen que la API, el navegador puede bloquear la respuesta por CORS: en ese caso abre estas páginas desde la propia API (/docs) o usa el curl de arriba.
const url = 'http://localhost:3000/v1/test-helpers/seed';const options = {method: 'POST', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:3000/v1/test-helpers/seed \ --header 'x-api-key: <x-api-key>'Scope beneficiaries:write (it registers beneficiaries); without it, 403 insufficient_scope. Only with an sk_test_ key of a test account (environment: sandbox in GET /tenant/me); with any other, 403 test_account_required. It exists locally and in QA; not in production (404, before any 403). Idempotent: registers 3 fictitious beneficiaries (Prueba Pago Movil V10000001, 0102, 04140000001; Prueba Transferencia V10000002, 0134, account 01340000000000000002; Prueba Otro Banco V10000003, 0105, account 01050000000000000003) and, depending on your funding model, leaves Bs 1,000,000.00 simulated in your prefunding, a sample selling rate or, with ticket prefunding, your test prefund already loaded (testPrefund; you normally have it since you got your key). With an own account, besides the sample USDT selling rate (1,000.00), if your inventory is at zero it leaves a Bs 1,000,000.00 funding at that rate (funding); more balance with POST /test-helpers/fundings. None of this is real money.
Authorizations
Sección titulada «Authorizations»Responses
Sección titulada «Responses»Lo que quedó sembrado
object
object
object
Céntimos de Bs tras sembrar
Céntimos de Bs añadidos ahora
Con prefondeo por ticket: tu prefondeo de pruebas ya cargado (Bs simulados). Su forma es la del prefondeo por ticket.
object
object
Con cuenta propia e inventario en cero: el fondeo de pruebas que se dejó aprobado (Bs simulados)
object
Céntimos de Bs
Centavos de USD
Bs por USD de este fondeo
Example
{ "model": "prefunded", "beneficiaries": [ { "method": "pago_movil" } ]}test_account_required (la key no es sk_test_ de una cuenta de pruebas) o insufficient_scope (la key no tiene beneficiaries:write)
No existe en este entorno