---
title: "Resolve the current payment workspace mapping"
method: POST
path: "/v1/commerce/payments/workspace"
---

# Resolve the current payment workspace mapping

`POST /v1/commerce/payments/workspace`

## Request

- Base URL: `https://api.decionis.com`
- URL: `https://api.decionis.com/v1/commerce/payments/workspace`
- Auth: HTTP bearer

Default off. Current ordinary workspace API key with decision:read and decision:write; no runtime-key scope expansion. Metadata only: returns the exact SYNCED Accounts mapping after checking the current ordinary key. No provider read, key issuance or payment execution.

## Request body

- CommercePaymentWorkspaceRequest
  - `version` 'commerce-payment-workspace-request-v1', required

## Response `200`

Bound result. A grant, when one is bound, is a single-use permit for one exact payment line; Core executes nothing.

- CommercePaymentWorkspaceResponse
  - `version` 'commerce-payment-workspace-v1', required
  - `workspace` object, required
    - `org_id` string, required
    - `workspace_id` string, required
    - `environment` 'sandbox' | 'production', required
    - `source_org_id` string, uuid, required

## Other responses

- `400`: Bounded refusal or unavailable dependency; no payment execution.
- `401`: Bounded refusal or unavailable dependency; no payment execution.
- `402`: Bounded refusal or unavailable dependency; no payment execution.
- `403`: Bounded refusal or unavailable dependency; no payment execution.
- `404`: Bounded refusal or unavailable dependency; no payment execution.
- `409`: Bounded refusal or unavailable dependency; no payment execution.
- `413`: Bounded refusal or unavailable dependency; no payment execution.
- `429`: Bounded refusal or unavailable dependency; no payment execution.
- `503`: Bounded refusal or unavailable dependency; no payment execution.

---

[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)
