API reference · Identity & onboarding

Document schemes

GET Fetch one document scheme

GET /document/scheme/{countryCode}/{schemeCode}

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
countryCode
schemeCode

Example

Response: GenericResponseDocumentSchemeResponse

curl -X GET "https://api.bridgemoni.com/document/scheme/value/value" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Document scheme fetched successfully
404No scheme is registered for that country and code

GET List the legal constraints on a document scheme

GET /document/scheme/{id}/constraints

The field that actually decides whether a country can ship. A blocking constraint is not a temporary condition.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
id

Example

Response: GenericResponseListSchemeConstraintResponse

curl -X GET "https://api.bridgemoni.com/document/scheme/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/constraints" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Constraints fetched successfully

GET List the document schemes this platform knows

GET /document/schemes

The registry that removes the country list from integrator code. Ask for a document class and the registry resolves which scheme applies in which country.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Query parameters

NameDefault
countryOptional

Example

Response: GenericResponseListDocumentSchemeResponse

curl -X GET "https://api.bridgemoni.com/document/schemes" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200Document schemes fetched successfully

Generated from the OpenAPI document. Branch on the HTTP status: there is no machine-readable error code on the wire. Errors