Saltar al contenido
SendIt está en desarrollo y todavía no opera comercialmente · SendIt is in development and not yet commercially available.
SendItdocs
English
Esc
navigateopen⌘Jpreview
En esta página

Organizations & personal sandbox

How organizations work, your personal test organization, and switching context between teams.

Everything in SendIt lives inside an organization: shipments, addresses, wallet, and keys. Your account can belong to several and switch context without signing in again.

Your personal organization

When you sign up, SendIt creates a personal organization. It is a full-featured organization that always stays with you. The only things you cannot do are leave it or delete it: it is your account’s permanent home.

Property Value at creation
Plan Free (upgrade any time)
Real balance $0 MXN — funded via CLABE/SPEI, card, or PayPal
Test balance $10,000 MXN virtual, resettable any time
Default key sk_test_... with all scopes

With that test key you can generate your first label in minutes, with no payment method on file.

Sandbox is a mode, not another account

There is no separate “sandbox account”. Every organization has both modes, personal or team. You switch between them with your key’s prefix (sk_test_ or sk_live_) or, in the dashboard, with the mode toggle (?livemode=false). The simulated behavior is detailed in Test mode.

The wallet’s two balances

Every wallet keeps two completely separate balances:

  • Real balance. Funded via CLABE/SPEI, card, or PayPal. Live label purchases debit it. Low-balance alerts apply here only.
  • Test balance. Virtual, starts at $10,000 MXN. Test-mode purchases debit it. Real money is never touched, and test activity never triggers alerts.

GET /v1/wallet/balance and GET /v1/wallet/transactions respond according to the request’s mode: with sk_test_ you see the test balance and test transactions; with sk_live_, real money only.

Team organizations

Create additional organizations to separate businesses, clients, or environments:

curl -X POST https://api.sendit.mx/v1/organizations \
  -H "Authorization: Bearer <jwt>" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Mi Tienda MX" }'

And switch your account’s active context:

curl -X POST https://api.sendit.mx/v1/organizations/switch/{organizationId} \
  -H "Authorization: Bearer <jwt>"

Everything you create is scoped to the organization (and mode) active at creation time. API keys never need to “switch” organizations: each key belongs to one and always operates on it.

Personal vs team

Action Personal org Team org
Funding (CLABE, card, PayPal) Yes Yes
Plan upgrade Yes Yes
Invite members Yes Yes
Test + live keys Yes Yes
Reset test balance Yes Yes
Leave No (403) — it is your account’s home Yes (if not the sole OWNER)

Invite your team

Members are invited by email with a role: VIEWER, OPERATOR, ADMIN, or OWNER (see roles). Invitations expire after 7 days and the acceptance link is bound to the invited email.

Delete your account

Closing your account is irreversible and takes effect immediately:

curl -X DELETE https://api.sendit.mx/v1/users/me \
  -H "Authorization: Bearer <jwt>" \
  -H "Content-Type: application/json" \
  -d '{ "confirm": "DELETE" }'
  • User session only. API keys can never delete accounts: this endpoint rejects them. It acts on your own identity, so no role is required.
  • The body must be exactly { "confirm": "DELETE" }. Any other value returns 400. This is a deliberate guard against accidental calls.

Before deleting

If you are the sole OWNER of any team organization, deletion is rejected with SOLE_OWNER_OF_ORGANIZATION. The organizationIds come in details. Promote another member to OWNER in each one and retry. Your personal organization never blocks deletion: it is closed as part of the process.

What happens on deletion

  1. You leave every organization you were a member of.
  2. Your personal organization is closed: its API keys are revoked, its webhooks are disabled, and its pending invitations are cancelled.
  3. Your profile is anonymized (name, phone, avatar, and email). The account can no longer sign in, and the same identity cannot register again.

Wallet balance

A pending balance does not block deletion. If your real wallet holds a positive balance at deletion time, a support case opens to settle it with you. The response includes its refundCaseId. The test balance is virtual and is discarded.

What is retained (and why)

Deletion never erases the financial and audit history the law requires keeping. That history is anonymized and retained, tied to the closed organization and never to you personally:

Retained Why
CFDI invoices and fiscal data SAT requires keeping them at least 5 years
Wallet transactions and ledger entries Financial regulatory retention (≈ 7 years)
Audit log Verifiable integrity of the organization’s history

Everything that identifies you personally (name, email, phone, avatar) is removed. Any active paid subscription is cancelled as part of the closure.

¿Te ha resultado útil esta página?