Skip to main content

API Keys

All endpoints in the API module require an API key.

Environments

Waysdrop has two environments:
  • Live: https://api.waysdrop.com
  • Staging: https://staging-api.waysdrop.com
API keys are environment-specific. Grab your key from:

Authentication

Send your API key using the api-key header:

API key format

API keys must match this format:
  • wsp_live_<64 hex chars> or wsp_staging_<64 hex chars>
If the header is missing or malformed, the request returns 401 Unauthorized.

Funding your wallet

On staging, you can fund your wallet in the dev mobile app using this test card:
On live, fund your wallet using a real card or a dedicated virtual account.

Error responses

All errors use the standard envelope described in Errors.

Missing API key

Invalid API key format

Rate limit / quota exceeded

Notes

  • Requests authenticated via API key are associated with a user internally. Deliveries created through the API will store delivery.apiKeyId so webhook delivery can be routed back to the correct key.