This page is generated from the contract (data/gateway-v1.json): each operation shows its verb, path, parameters, body, responses, whether it carries an Idempotency-Key, and the equivalent method in all five SDKs. For the end-to-end flow with complete examples, see the implementation guide.

Operations in tag monetary-allowance #

Contract description: Monetary allowance eligibility, period generation and disbursement.

MethodPathOperationScopeIdem.
GET/v1/gateway/subsidies/monetary-allowance/List the period's monetary allowancessubsidies:read—
POST/v1/gateway/subsidies/monetary-allowance/generate/Evaluate eligibility and generate the period's monetary allowancesubsidies:submitrecommended
POST/v1/gateway/subsidies/monetary-allowance/{disb_id}/disburse/Disburse a monetary allowancesubsidies:disburserecommended

List the period's monetary allowances #

GET/v1/gateway/subsidies/monetary-allowance/

  • operationId listMonetaryAllowance
  • Authentication X-API-Key · scope subsidies:read
  • Idempotency-Key not applicable

Parameters

NameInTypeDescription
periodquerystringSettlement period YYYY-MM. E.g.: 2026-06
pagequeryinteger
page_sizequeryinteger
statusquerystring

Responses

CodeDescriptionBody
200Paginated monetary allowances.Page application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.monetary_allowance.list()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Evaluate eligibility and generate the period's monetary allowance #

POST/v1/gateway/subsidies/monetary-allowance/generate/

  • operationId generateMonetaryAllowance
  • Authentication X-API-Key · scope subsidies:submit
  • Idempotency-Key recommended (the SDK generates it)

Parameters

NameInTypeDescription
Idempotency-KeyheaderstringClient-generated key that makes a write safely retryable. Replaying the same key returns the original result with idempotent_replay: true; a replay while the original is still in flight returns 409. E.g.: horizonte-2026-06-26-credit-000123

Request body

Content type: application/json · required

Schema MonetaryAllowanceGenerateIn — Evaluate eligibility and generate the period’s monetary allowance for the compensation fund.

FieldTypeDescription
dry_runbooleanEvaluate without persisting disbursements. E.g.: false
period requiredstringSettlement period YYYY-MM. E.g.: "2026-06"

Accepts additional fields (additionalProperties): they're forwarded to the engine unchanged.

Responses

CodeDescriptionBody
200Accepted; transaction enqueued / processed.TransactionEnvelope application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.monetary_allowance.generate()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.

Disburse a monetary allowance #

POST/v1/gateway/subsidies/monetary-allowance/{disb_id}/disburse/

  • operationId disburseMonetaryAllowance
  • Authentication X-API-Key · scope subsidies:disburse
  • Idempotency-Key recommended (the SDK generates it)

Parameters

NameInTypeDescription
disb_id requiredpathstringDisbursement id. E.g.: MA-2026-06-000777
Idempotency-KeyheaderstringClient-generated key that makes a write safely retryable. Replaying the same key returns the original result with idempotent_replay: true; a replay while the original is still in flight returns 409. E.g.: horizonte-2026-06-26-credit-000123

Responses

CodeDescriptionBody
200Accepted; transaction enqueued / processed.TransactionEnvelope application/json
Possible errors (400, 401, 403, 404, 409, 422, 429, 500, 502, 504) — application/problem+json
400Malformed request.about:blank
401Missing or invalid API key.about:blank
403The key is valid but lacks the required scope, or the source IP is not allow-listed.about:blank
404The requested resource does not exist.about:blank
409Idempotency conflict — same key, original still processing.https://errors.compense.co/gateway/idempotency-conflict
422Request body failed validation.https://errors.compense.co/gateway/validation
429Per-key rate limit or monthly quota exceeded; see Retry-After.https://errors.compense.co/gateway/rate-limited
500Unexpected gateway error; quote the trace_id to support.about:blank
502The processing engine returned an error.https://errors.compense.co/gateway/upstream-error
504The processing engine did not respond in time.https://errors.compense.co/gateway/upstream-error

See problem+json errors for the equivalent exception in each SDK.

Example

SDK method and HTTP request
client.monetary_allowance.disburse()

Each SDK's methods come from its contract parity suite. The cURL runs against the sandbox; <field> values are placeholders.