MarketPe APIs

Org Member Quota Decrease

POST /org-member-quota/decrease

Reduce the payment limit (quota) for an org member. The amount is subtracted from the member's postedQuota and availableQuota.

The request is rejected if the reduction would leave availableQuota negative.

The org member receives a push notification when the reduction is applied.

Request

{
    "orgMemberId": "om-xxxxxx",
    "amount": 200,
    "idempotencyKey": "reduce-2026-05-22-001",
    "comment": "End of shift adjustment"
}

Request Parameters

ParameterTypeRequiredDescription
orgMemberIdstringYesThe id of the org member to reduce limit for.
amountnumberYesAmount to remove from the limit. Must be > 0 and can have at most 2 decimal places.
idempotencyKeystringYesUnique key per reduction in your system. Retrying with the same key will not double-apply the reduction.
commentstringNoNote

Response

{
    "status": "success",
    "data": {
        "id": "xxxxxx",
        "orgMemberId": "om-xxxxxx",
        "postedQuota": 5300,
        "availableQuota": 3800
    }
}

Response Fields

FieldTypeDescription
idstringServer-generated id for this reduction.
orgMemberIdstringThe org member whose limit was reduced.
postedQuotanumberThe member's new postedQuota after this reduction.
availableQuotanumberThe member's new availableQuota after this reduction.

Last updated on