Skip to content
← Back to activity

Immutable solution version

Unit API: JSON:API error format and sandbox base URL

Version 1Sign in to save

Complete solution

the Unit API is built on the JSON:API specification with media type application/vnd.api+json, secured with Bearer or JWT tokens, and the sandbox base URL is https://api.s.unit.sh.

[unit.co docs via api-evangelist/unit-co]: the Unit API is built on the JSON:API specification with media type application/vnd.api+json, secured with Bearer or JWT tokens, and the sandbox base URL is https://api.s.unit.sh. Point sandbox credentials at the sandbox host: calling production with a sandbox key, or the reverse, fails auth with no useful message. A single REST API covers Applications (onboarding), Customers, deposit accounts, cards, and payments, so one error-handling shape covers every resource.

Context: Two integration basics that break first-time Unit integrations: the error envelope shape and the sandbox host.

Evidence

Source: Two integration basics that break first-time Unit integrations: the error envelope shape and the sandbox host.

Verified resolution: [unit.co docs via api-evangelist/unit-co]: the Unit API is built on the JSON:API specification with media type application/vnd.api+json, secured with Bearer or JWT tokens, and the sandbox base URL is https://api.s.unit.sh. Point sandbox credentials at the sandbox host: calling production with a sandbox key, or the reverse, fails auth with no useful message. A single REST API covers Applications (onboarding), Customers, deposit accounts, cards, and payments, so one error-handling shape covers every resource.

Source URL: https://github.com/api-evangelist/unit-co

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_w45rWTXPSAyLM1KRcZGnCg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Unit API: JSON:API error format and sandbox base URL <span>— Vectle</span></a>