Monta
Monta API

Revenue Share


List revenue-share agreements

GET
https://partner-api.monta.com
/api/v1/revenue-share/agreements

Required scope: revenue-share:read

List revenue-share agreements › query Parameters

page
​integer · int32

page number to retrieve (starts with 0)

Default: 0
perPage
​integer · int32

number of items per page (between 1 and 100, default 10)

Default: 10
status
​string · enum

Filter by lifecycle status.

Enum values:
Active
Paused
Other
Example: Active
policyCode
​string | null

Filter by the code of the applied policy.

Example: P-ACME-3
sourceTeamId
​integer | null · int64

Filter by the team the revenue is shared from.

Example: 1024
recipientTeamId
​integer | null · int64

Filter by the team the revenue is shared to.

Example: 2048

List revenue-share agreements › Responses

Revenue-share agreements matching the filters

​RevenueShareAgreement[] · required
​MontaPage.Meta · required

Apply a revenue-share policy to a team pair

POST
https://partner-api.monta.com
/api/v1/revenue-share/agreements

Required scope: revenue-share:write. Applies the policy identified by policyCode to the team pair.

Clients may send an Idempotency-Key header for safe retry semantics; the header is currently accepted and ignored (no enforcement yet).

Apply a revenue-share policy to a team pair › Headers

Idempotency-Key
​string

Opaque client-supplied key used for safe retries. Accepted today; behavior not yet enforced.

Example: 01HX5Z6Q1ABC1234FZ7K9PQRDE

Apply a revenue-share policy to a team pair › Request Body

policyCode
​string · minLength: 1 · required

Code of the policy this agreement applies.

Example: P-ACME-3
sourceTeamId
​integer · int64 · required

Id of the team the revenue is shared from.

Example: 1024
recipientTeamId
​integer · int64 · required

Id of the team the revenue is shared to.

Example: 2048
attributionSourceTeamId
​integer | null · int64

Optional id of the team charges are attributed to.

Example: 1024
startedAt
​string | null · date-time

Optional start of the agreement.

Example: 2026-01-01T00:00:00Z

Apply a revenue-share policy to a team pair › Responses

The created revenue-share agreement

code
​string · required

Stable code identifying the agreement.

Example: A-ACME-7
status
​string · enum · required

Lifecycle status.

Enum values:
Active
Paused
Other
Example: Active
policyCode
​string | null

Code of the policy this agreement applies.

Example: P-ACME-3
policyVersion
​integer | null · int32

Version of the policy this agreement applies.

Example: 1
sourceTeamId
​integer | null · int64

Id of the team the revenue is shared from.

Example: 1024
sourceTeamName
​string | null

Name of the team the revenue is shared from.

Example: Acme Fleet
recipientTeamId
​integer | null · int64

Id of the team the revenue is shared to.

Example: 2048
recipientTeamName
​string | null

Name of the team the revenue is shared to.

Example: Acme Sites
attributionSourceTeamId
​integer | null · int64

Id of the team charges are attributed to.

Example: 1024
startedAt
​string | null · date-time

When the agreement started.

Example: 2026-01-01T00:00:00Z
endedAt
​string | null · date-time

When the agreement ended.

Example: 2026-12-31T23:59:59Z
createdAt
​string | null · date-time

Creation timestamp.

updatedAt
​string | null · date-time

Last update timestamp.


Retrieve a single revenue-share agreement

GET
https://partner-api.monta.com
/api/v1/revenue-share/agreements/{code}

Required scope: revenue-share:read

Retrieve a single revenue-share agreement › path Parameters

code
​string · required

Retrieve a single revenue-share agreement › Responses

Revenue-share agreement with the provided code

code
​string · required

Stable code identifying the agreement.

Example: A-ACME-7
status
​string · enum · required

Lifecycle status.

Enum values:
Active
Paused
Other
Example: Active
policyCode
​string | null

Code of the policy this agreement applies.

Example: P-ACME-3
policyVersion
​integer | null · int32

Version of the policy this agreement applies.

Example: 1
sourceTeamId
​integer | null · int64

Id of the team the revenue is shared from.

Example: 1024
sourceTeamName
​string | null

Name of the team the revenue is shared from.

Example: Acme Fleet
recipientTeamId
​integer | null · int64

Id of the team the revenue is shared to.

Example: 2048
recipientTeamName
​string | null

Name of the team the revenue is shared to.

Example: Acme Sites
attributionSourceTeamId
​integer | null · int64

Id of the team charges are attributed to.

Example: 1024
startedAt
​string | null · date-time

When the agreement started.

Example: 2026-01-01T00:00:00Z
endedAt
​string | null · date-time

When the agreement ended.

Example: 2026-12-31T23:59:59Z
createdAt
​string | null · date-time

Creation timestamp.

updatedAt
​string | null · date-time

Last update timestamp.


Update a revenue-share agreement

PATCH
https://partner-api.monta.com
/api/v1/revenue-share/agreements/{code}

Required scope: revenue-share:write

Update a revenue-share agreement › path Parameters

code
​string · required

Update a revenue-share agreement › Request Body

endedAt
​string | null · date-time

When the agreement ended.

startedAt
​string | null · date-time

When the agreement started.

attributionSourceTeamId
​integer | null · int64

Optional id of the team charges are attributed to.

Update a revenue-share agreement › Responses

The updated revenue-share agreement

code
​string · required

Stable code identifying the agreement.

Example: A-ACME-7
status
​string · enum · required

Lifecycle status.

Enum values:
Active
Paused
Other
Example: Active
policyCode
​string | null

Code of the policy this agreement applies.

Example: P-ACME-3
policyVersion
​integer | null · int32

Version of the policy this agreement applies.

Example: 1
sourceTeamId
​integer | null · int64

Id of the team the revenue is shared from.

Example: 1024
sourceTeamName
​string | null

Name of the team the revenue is shared from.

Example: Acme Fleet
recipientTeamId
​integer | null · int64

Id of the team the revenue is shared to.

Example: 2048
recipientTeamName
​string | null

Name of the team the revenue is shared to.

Example: Acme Sites
attributionSourceTeamId
​integer | null · int64

Id of the team charges are attributed to.

Example: 1024
startedAt
​string | null · date-time

When the agreement started.

Example: 2026-01-01T00:00:00Z
endedAt
​string | null · date-time

When the agreement ended.

Example: 2026-12-31T23:59:59Z
createdAt
​string | null · date-time

Creation timestamp.

updatedAt
​string | null · date-time

Last update timestamp.


Delete a revenue-share agreement

DELETE
https://partner-api.monta.com
/api/v1/revenue-share/agreements/{code}

Required scope: revenue-share:delete

Delete a revenue-share agreement › path Parameters

code
​string · required

Delete a revenue-share agreement › Responses

The revenue-share agreement was deleted

No data returned

Pause a revenue-share agreement

POST
https://partner-api.monta.com
/api/v1/revenue-share/agreements/{code}/pause

Required scope: revenue-share:write.

Pause a revenue-share agreement › path Parameters

code
​string · required

Pause a revenue-share agreement › Responses

The paused revenue-share agreement

code
​string · required

Stable code identifying the agreement.

Example: A-ACME-7
status
​string · enum · required

Lifecycle status.

Enum values:
Active
Paused
Other
Example: Active
policyCode
​string | null

Code of the policy this agreement applies.

Example: P-ACME-3
policyVersion
​integer | null · int32

Version of the policy this agreement applies.

Example: 1
sourceTeamId
​integer | null · int64

Id of the team the revenue is shared from.

Example: 1024
sourceTeamName
​string | null

Name of the team the revenue is shared from.

Example: Acme Fleet
recipientTeamId
​integer | null · int64

Id of the team the revenue is shared to.

Example: 2048
recipientTeamName
​string | null

Name of the team the revenue is shared to.

Example: Acme Sites
attributionSourceTeamId
​integer | null · int64

Id of the team charges are attributed to.

Example: 1024
startedAt
​string | null · date-time

When the agreement started.

Example: 2026-01-01T00:00:00Z
endedAt
​string | null · date-time

When the agreement ended.

Example: 2026-12-31T23:59:59Z
createdAt
​string | null · date-time

Creation timestamp.

updatedAt
​string | null · date-time

Last update timestamp.


Resume a paused revenue-share agreement

POST
https://partner-api.monta.com
/api/v1/revenue-share/agreements/{code}/resume

Required scope: revenue-share:write.

Resume a paused revenue-share agreement › path Parameters

code
​string · required

Resume a paused revenue-share agreement › Responses

The resumed revenue-share agreement

code
​string · required

Stable code identifying the agreement.

Example: A-ACME-7
status
​string · enum · required

Lifecycle status.

Enum values:
Active
Paused
Other
Example: Active
policyCode
​string | null

Code of the policy this agreement applies.

Example: P-ACME-3
policyVersion
​integer | null · int32

Version of the policy this agreement applies.

Example: 1
sourceTeamId
​integer | null · int64

Id of the team the revenue is shared from.

Example: 1024
sourceTeamName
​string | null

Name of the team the revenue is shared from.

Example: Acme Fleet
recipientTeamId
​integer | null · int64

Id of the team the revenue is shared to.

Example: 2048
recipientTeamName
​string | null

Name of the team the revenue is shared to.

Example: Acme Sites
attributionSourceTeamId
​integer | null · int64

Id of the team charges are attributed to.

Example: 1024
startedAt
​string | null · date-time

When the agreement started.

Example: 2026-01-01T00:00:00Z
endedAt
​string | null · date-time

When the agreement ended.

Example: 2026-12-31T23:59:59Z
createdAt
​string | null · date-time

Creation timestamp.

updatedAt
​string | null · date-time

Last update timestamp.


List revenue-share calculations

GET
https://partner-api.monta.com
/api/v1/revenue-share/calculations

Required scope: revenue-share:read

List revenue-share calculations › query Parameters

page
​integer · int32

page number to retrieve (starts with 0)

Default: 0
perPage
​integer · int32

number of items per page (between 1 and 100, default 10)

Default: 10
policyCode
​string | null

Filter by the policy code the calculation applied.

Example: P-ACME-3
agreementCode
​string | null

Filter by the agreement code the calculation belongs to.

Example: A-ACME-3
sourceTeamId
​string | null

Filter by the team that generated the revenue.

Example: 10
recipientTeamId
​string | null

Filter by the team receiving the share.

Example: 20
dateFrom
​string | null · date-time

Return calculations computed on or after this timestamp (ISO 8601, e.g. 2026-01-01T00:00:00Z).

Example: 2026-01-01T00:00:00Z
dateTo
​string | null · date-time

Return calculations computed on or before this timestamp (ISO 8601, e.g. 2026-01-31T23:59:59Z).

Example: 2026-01-31T23:59:59Z
settlementStatus
​string | null

Filter by settlement status.

Example: settled
sort
​string | null

Sort expression, prefixed with - for descending.

Example: -computed_at

List revenue-share calculations › Responses

Revenue-share calculations matching the filters

​RevenueShareCalculation[] · required
​MontaPage.Meta · required

List revenue-share policies

GET
https://partner-api.monta.com
/api/v1/revenue-share/policies

Required scope: revenue-share:read

List revenue-share policies › query Parameters

page
​integer · int32

page number to retrieve (starts with 0)

Default: 0
perPage
​integer · int32

number of items per page (between 1 and 100, default 10)

Default: 10
status
​string · enum

Filter by lifecycle status.

Enum values:
Draft
Active
Example: Active
kind
​string · enum

Filter by policy kind.

Enum values:
team_to_team
operator_to_team
Example: operator_to_team
moneyFlow
​string · enum

Filter by money flow.

Enum values:
wallet_live
wallet_monthly
external
Example: wallet_live
search
​string | null

Free-text match on code, name or description.

includeDeleted
​boolean | null

Include soft-deleted policies in the results.

Example: true

List revenue-share policies › Responses

Revenue-share policies matching the filters

​RevenueSharePolicy[] · required
​MontaPage.Meta · required

Create a revenue-share policy

POST
https://partner-api.monta.com
/api/v1/revenue-share/policies

Required scope: revenue-share:write. The policy is created in Draft status.

Create a revenue-share policy › Request Body

name
​string · minLength: 1 · required

Human-readable name.

Example: Fleet 85/15
kind
​string · enum · required

Who the revenue is shared between.

Enum values:
team_to_team
operator_to_team
Example: operator_to_team
seller
​string · enum · required

Who sells the electricity.

Enum values:
cpo
site_owner
Example: cpo
policyType
​string · enum · required

How the share is measured.

Enum values:
percentage
per_kwh
Example: percentage
policyValue
​number · min: 0 · required

The share value: a percentage of net, or an amount per kWh.

Example: 15
moneyFlow
​string · enum · required

How the settled share reaches the recipient.

Enum values:
wallet_live
wallet_monthly
external
Example: wallet_live
validFrom
​string · date-time · required

Start of the validity window.

Example: 2026-01-01T00:00:00Z
description
​string | null

Optional internal description.

validTo
​string | null · date-time

Optional end of the validity window.

Example: 2026-12-31T23:59:59Z

Create a revenue-share policy › Responses

The created revenue-share policy

code
​string · required

Stable code identifying the policy.

Example: P-ACME-3
name
​string · required

Human-readable name.

Example: Fleet 85/15
kind
​string · enum · required

Who the revenue is shared between.

Enum values:
team_to_team
operator_to_team
Example: operator_to_team
seller
​string · enum · required

Who sells the electricity.

Enum values:
cpo
site_owner
Example: cpo
policyType
​string · enum · required

How the share is measured.

Enum values:
percentage
per_kwh
Example: percentage
policyValue
​number · required

The share value: a percentage of net, or an amount per kWh.

Example: 15
moneyFlow
​string · enum · required

How the settled share reaches the recipient.

Enum values:
wallet_live
wallet_monthly
external
Example: wallet_live
status
​string · enum · required

Lifecycle status.

Enum values:
Draft
Active
Example: Active
description
​string | null

Optional internal description.

version
​integer · int32

Policy version.

Example: 1
validFrom
​string | null · date-time

Start of the validity window.

Example: 2026-01-01T00:00:00Z
validTo
​string | null · date-time

End of the validity window.

Example: 2026-12-31T23:59:59Z
createdAt
​string | null · date-time

Creation timestamp.

updatedAt
​string | null · date-time

Last update timestamp.

deletedAt
​string | null · date-time

Soft-delete timestamp, null when the policy is not deleted.


Retrieve a single revenue-share policy

GET
https://partner-api.monta.com
/api/v1/revenue-share/policies/{code}

Required scope: revenue-share:read

Retrieve a single revenue-share policy › path Parameters

code
​string · required

Retrieve a single revenue-share policy › query Parameters

includeDeleted
​boolean | null

Retrieve a single revenue-share policy › Responses

Revenue-share policy with the provided code

code
​string · required

Stable code identifying the policy.

Example: P-ACME-3
name
​string · required

Human-readable name.

Example: Fleet 85/15
kind
​string · enum · required

Who the revenue is shared between.

Enum values:
team_to_team
operator_to_team
Example: operator_to_team
seller
​string · enum · required

Who sells the electricity.

Enum values:
cpo
site_owner
Example: cpo
policyType
​string · enum · required

How the share is measured.

Enum values:
percentage
per_kwh
Example: percentage
policyValue
​number · required

The share value: a percentage of net, or an amount per kWh.

Example: 15
moneyFlow
​string · enum · required

How the settled share reaches the recipient.

Enum values:
wallet_live
wallet_monthly
external
Example: wallet_live
status
​string · enum · required

Lifecycle status.

Enum values:
Draft
Active
Example: Active
description
​string | null

Optional internal description.

version
​integer · int32

Policy version.

Example: 1
validFrom
​string | null · date-time

Start of the validity window.

Example: 2026-01-01T00:00:00Z
validTo
​string | null · date-time

End of the validity window.

Example: 2026-12-31T23:59:59Z
createdAt
​string | null · date-time

Creation timestamp.

updatedAt
​string | null · date-time

Last update timestamp.

deletedAt
​string | null · date-time

Soft-delete timestamp, null when the policy is not deleted.


Update a revenue-share policy

PATCH
https://partner-api.monta.com
/api/v1/revenue-share/policies/{code}

Required scope: revenue-share:write. Updating an active policy creates a new version.

Update a revenue-share policy › path Parameters

code
​string · required

Update a revenue-share policy › Request Body

name
​string | null · pattern: .*\S.*

Human-readable name.

description
​string | null

Optional internal description.

policyValue
​number | null · min: 0

The share value.

moneyFlow
​string · enum

How the settled share reaches the recipient.

Enum values:
wallet_live
wallet_monthly
external
validFrom
​string | null · date-time

Start of the validity window.

validTo
​string | null · date-time

End of the validity window.

Update a revenue-share policy › Responses

The updated revenue-share policy

code
​string · required

Stable code identifying the policy.

Example: P-ACME-3
name
​string · required

Human-readable name.

Example: Fleet 85/15
kind
​string · enum · required

Who the revenue is shared between.

Enum values:
team_to_team
operator_to_team
Example: operator_to_team
seller
​string · enum · required

Who sells the electricity.

Enum values:
cpo
site_owner
Example: cpo
policyType
​string · enum · required

How the share is measured.

Enum values:
percentage
per_kwh
Example: percentage
policyValue
​number · required

The share value: a percentage of net, or an amount per kWh.

Example: 15
moneyFlow
​string · enum · required

How the settled share reaches the recipient.

Enum values:
wallet_live
wallet_monthly
external
Example: wallet_live
status
​string · enum · required

Lifecycle status.

Enum values:
Draft
Active
Example: Active
description
​string | null

Optional internal description.

version
​integer · int32

Policy version.

Example: 1
validFrom
​string | null · date-time

Start of the validity window.

Example: 2026-01-01T00:00:00Z
validTo
​string | null · date-time

End of the validity window.

Example: 2026-12-31T23:59:59Z
createdAt
​string | null · date-time

Creation timestamp.

updatedAt
​string | null · date-time

Last update timestamp.

deletedAt
​string | null · date-time

Soft-delete timestamp, null when the policy is not deleted.


Delete a revenue-share policy

DELETE
https://partner-api.monta.com
/api/v1/revenue-share/policies/{code}

Required scope: revenue-share:delete

Delete a revenue-share policy › path Parameters

code
​string · required

Delete a revenue-share policy › Responses

The revenue-share policy was deleted

No data returned

Activate a revenue-share policy

POST
https://partner-api.monta.com
/api/v1/revenue-share/policies/{code}/activate

Required scope: revenue-share:write.

Activate a revenue-share policy › path Parameters

code
​string · required

Activate a revenue-share policy › Responses

The activated revenue-share policy

code
​string · required

Stable code identifying the policy.

Example: P-ACME-3
name
​string · required

Human-readable name.

Example: Fleet 85/15
kind
​string · enum · required

Who the revenue is shared between.

Enum values:
team_to_team
operator_to_team
Example: operator_to_team
seller
​string · enum · required

Who sells the electricity.

Enum values:
cpo
site_owner
Example: cpo
policyType
​string · enum · required

How the share is measured.

Enum values:
percentage
per_kwh
Example: percentage
policyValue
​number · required

The share value: a percentage of net, or an amount per kWh.

Example: 15
moneyFlow
​string · enum · required

How the settled share reaches the recipient.

Enum values:
wallet_live
wallet_monthly
external
Example: wallet_live
status
​string · enum · required

Lifecycle status.

Enum values:
Draft
Active
Example: Active
description
​string | null

Optional internal description.

version
​integer · int32

Policy version.

Example: 1
validFrom
​string | null · date-time

Start of the validity window.

Example: 2026-01-01T00:00:00Z
validTo
​string | null · date-time

End of the validity window.

Example: 2026-12-31T23:59:59Z
createdAt
​string | null · date-time

Creation timestamp.

updatedAt
​string | null · date-time

Last update timestamp.

deletedAt
​string | null · date-time

Soft-delete timestamp, null when the policy is not deleted.


List revenue-share settlements

GET
https://partner-api.monta.com
/api/v1/revenue-share/settlements

Required scope: revenue-share:read

List revenue-share settlements › query Parameters

page
​integer · int32

page number to retrieve (starts with 0)

Default: 0
perPage
​integer · int32

number of items per page (between 1 and 100, default 10)

Default: 10
agreementCode
​string | null

Filter settlements by the agreement they belong to.

Example: A-ACME-1
status
​string · enum

Filter by lifecycle status.

Enum values:
Pending
Settled
Failed
Other
Example: Settled
periodFrom
​string | null · date-time

Return settlements whose period starts on or after this timestamp (ISO 8601, e.g. 2026-01-01T00:00:00Z).

Example: 2026-01-01T00:00:00Z
periodTo
​string | null · date-time

Return settlements whose period ends on or before this timestamp (ISO 8601, e.g. 2026-01-31T23:59:59Z).

Example: 2026-01-31T23:59:59Z

List revenue-share settlements › Responses

Revenue-share settlements matching the filters

​RevenueShareSettlement[] · required
​MontaPage.Meta · required