Server-side APIEndpointsLocations & configuration

Payment methods

What the clinic accepts — cash, at-clinic, online.

GET /v2/workspaces/payment-methods

This decides whether reserve-slot should send a returnUrl. Online payment also needs the clinic admin to have enabled a gateway; without one medos answers GATEWAY_NOT_CONFIGURED.

entitlement-gated on devapi_catalog_payment_methods.

Try it

GET/v2/workspaces/payment-methodsdevapi_catalog_payment_methods
Request
GET /v2/workspaces/payment-methods
to https://api.medos.one
Use a dedicated test key, and put your browser's address on its allowlist

A Developer API key authenticates on its own, so it only works from the addresses registered against it — and this page calls from your browser, not your servers. Unless your own public address is on the list you get a 403 naming it, which is the allowlist doing its job. Your browser may also reach us over IPv6 even when your server does not, so the address in the error is often not the one you expected. The key here is kept in memory only and never written to storage, but create a test key for it and deactivate that key when you are done.

Request

curl -s "https://api.medos.one/v2/workspaces/payment-methods" \
  -H "x-api-key: $MEDOS_API_KEY"

Common failures

StatusCause
403 with requiredFeatureNot entitled to this operation.

On this page