---
title: "Resolve registered Business Central payment evidence context"
method: GET
path: "/v1/microsoft/business-central/connections/{connectionId}/payment-context"
---

# Resolve registered Business Central payment evidence context

`GET /v1/microsoft/business-central/connections/{connectionId}/payment-context`

## Request

- Base URL: `https://api.decionis.com`
- URL: `https://api.decionis.com/v1/microsoft/business-central/connections/{connectionId}/payment-context`
- Auth: HTTP bearer

A current ordinary organization key with decision:read and decision:write resolves only its synchronized Accounts workspace and exact active verified company connection with a current revision-bound native read grant. No query parameters or body are accepted. Missing configuration is unavailable; client-supplied organization or provider tenant claims grant no authority. The response contains non-secret registration metadata with basis=persisted_connection_and_native_grant, provider_read_authority=not_checked and execution_available=false, or true only for a connection whose payments Core decides with a single-use permit (the permit path); a permit claimed for one exact payment line, never this flag, lets a payment post. It does not read Microsoft payment facts, refresh Accounts provider authority, open provider credential custody or authorize posting. Existing native provider reads and configuration retain their separate fresh Accounts source and permission checks. Commerce binds subsequent queued assertions to all returned workspace/company/revision fields. Both scopes authorize payment evidence use, not a financial action.

## Path parameters

- `connectionId` string, uuid, required

## Response `200`

Bounded private result

- CommerceNativeContext
  - `version` 'commerce-native-context-v1', required
  - `org_id` string, uuid, required
  - `workspace_environment` 'sandbox' | 'production', required
  - `erp_type` 'D365_BC', required
  - `tenant_id` string, uuid, required
  - `connection_id` string, uuid, required
  - `expected_revision` integer, required
  - `environment_name` string, required
  - `company_id` string, uuid, required
  - `basis` 'persisted_connection_and_native_grant', required
  - `provider_read_authority` 'not_checked', required
  - `execution_available` boolean, required

## Other responses

- `400`: Malformed connection id, body or query parameters
- `401`: Current organization API key required
- `403`: Credential class, role, scopes, expiry or revocation denied
- `404`: Exact synchronized workspace, verified connection or native grant unavailable
- `413`: Request body exceeds the bounded limit
- `429`: Request rate limit reached; retry after the returned Retry-After interval
- `503`: Registration metadata dependency unavailable; no provider call is made

---

[API](https://skmtc.dev/decionis/apis/decionis-policy-evaluation-api.md) · [All operations](https://skmtc.dev/decionis/apis/decionis-policy-evaluation-api/llms.txt) · [OpenAPI document](https://skmtc.dev/decionis/apis/decionis-policy-evaluation-api/revisions/357f5e459d0c?raw)
