ZeroPointPayments

API reference

Platform

Who am I

GET/v1/me

Returns the platform that owns the API key you sent. Use it first to confirm your key works and to learn whether you are in test mode (livemode=false). Requires Authorization: Bearer.

Errors: api_key_missing, api_key_malformed, api_key_invalid.

Next step: read GET /v1/docs/getting-started.

Parameters

NameDescription
ZeroPoint-Accountheader, string or null

Optional. The merchant (mch_...) this request acts on, when the body has no merchant_id: the analogue of Stripe's Stripe-Account header.

Stripe-Accountheader, string or null

Optional. A synonym of ZeroPoint-Account; holds a merchant id (mch_...).

Responses

StatusDescriptionBody
200

Successful Response

PlatformOut
400

Invalid request. A parameter, header or body field failed validation (code parameter_invalid, with param naming it), or another invalid_request code this operation's description lists. Fix the request; do not retry it unchanged.

ErrorResponse
401

The API key is missing, malformed, unknown or revoked (api_key_missing, api_key_malformed, api_key_invalid). Fix the Authorization header.

ErrorResponse
403

The key is valid but may not do this: platform_suspended, insufficient_scope, live_mode_unavailable, or a permission code this operation's description lists (for example processor_currency_unsupported).

ErrorResponse
429

Too many requests (rate_limited). Wait for the Retry-After header, then retry.

ErrorResponse

Example

Shell
curl -X GET "https://api.zeropointapp.com/v1/me" \
  -H "Authorization: Bearer zp_test_..."