Storspay Docs
Support

Accounts for marketplaces

Open a Storspay Account for each of your customers.

Platforms and marketplaces open a Storspay Account for each of their customers (an account holder): a buyer, a seller, a business.

  1. POST /v1/virtual-accounts with holder (type individual, business or organisation, name, email, phone, country) and your own clientRef: one call opens the account holder and its account details, and returns a hosted verification link. (Or POST /v1/accounts and fill the application through the API.) The holder starts pending.
  2. Send them a hosted verification link (POST /v1/applications/{id}/verification-links with a returnUrl), or fill the application through the API.
  3. When verification is approved, the holder becomes active and its Storspay Account (balance and account details) is issued automatically (account.activated, virtual_account.created).
  4. Act on a holder by adding the header Storspay-Account-Id: acct_… to any call.
  5. Move money between accounts with POST /v1/transfers (optionally escrow, then release or cancel). Paying a seller's Storspay Account is always a transfer; POST /v1/payouts pays a beneficiary's bank or mobile money. A seller cashes out with a transfer whose to is { payout: { beneficiaryId, quoteId } }.
curl -X POST https://api.sandbox.storspay.com/v1/virtual-accounts \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "holder": { "type": "individual", "name": "Test Approved", "email": "buyer@example.com", "phone": "+12025550100", "country": "USA" },
    "currency": "USD",
    "clientRef": "buyer-001"
  }'

"What's still needed" endpoints

EndpointTells you
GET /v1/payouts/requirements?country=&currency=&route=The exact recipient (and sender) fields for individuals and businesses, with formats and examples
GET /v1/accounts/{id}/requirementsWhat a verification still needs: steps, documents, disclosures, open information requests
GET /v1/applications/{id}/requirementsThe same, per application
GET /v1/virtual-accounts/requirements?currency=What is needed before dedicated account details can be issued

Statuses

Account holder: pending → active; frozen, closed. Verification: not_started, in_review, needs_information, approved, rejected.