API v1

API reference

Every public endpoint, generated from the API's own controllers and validation rules. Base URL https://api.developers.sendjoor.com; authenticate with Authorization: Bearer <secret key>. Errors, idempotency, pagination and rate limits are described in Errors & limits.

Try it safely

“Try it” sends real requests to the sandbox with a test key you paste (sk_test_…). Live keys are refused, and the API itself rejects any key whose stored environment isn't test — Try it can never touch live data. Your key is used for that one request and isn't stored.

GET/v1/kyc/account

Customer's bank account

Requires the KYC_READ scope.

Scopes: KYC_READ

Parameters

customerReference (query)*stringYour own reference for this customer.

Responses

  • 200
  • 400INVALID_REQUEST — malformed body, failed validation, or missing Idempotency-Key.
  • 401UNAUTHENTICATED — missing, invalid, expired or revoked secret key (Authorization: Bearer, or X-API-Key).
  • 403FORBIDDEN — missing scope, IP not in the key’s allowlist, or LIVE_ACCESS_NOT_APPROVED.
  • 404NOT_FOUND — no such resource for this developer in this environment.
  • 409DUPLICATE_REFERENCE (details.chargeId names the existing charge), IDEMPOTENCY_KEY_REUSED (same key, different body) or REQUEST_IN_PROGRESS (same key still in flight — retry shortly).
  • 429RATE_LIMITED — see Retry-After. 300 requests per minute per endpoint, counted per client IP address (some create endpoints are tighter).
  • 502PROVIDER_ERROR — the payment provider failed. Nothing was charged; retryable. Retrying with the same reference cannot create a duplicate.
  • 503ENVIRONMENT_UNAVAILABLE — the key’s environment (test/live) is not served by this deployment.

Error responses use the envelope { error: { code, message, details, requestId } }.

curl -X GET "https://api.developers.sendjoor.com/v1/kyc/account" \
  -H "Authorization: Bearer $SENDJOOR_SECRET_KEY"

Try it