Policies

Get a policy

Returns a single policy by its ID.

get/v1/policies/{id}

Request

  • Base URL
    https://policies-api.paymongo.com
  • URL
    https://policies-api.paymongo.com/v1/policies/{id}
  • Auth
    HTTP basic

Path parameters

idstring required

Policy ID

Response

Policy

has_moreboolean

Example response

{
  "data": {
    "author": "usr_abc123",
    "created_at": "2026-01-01 00:00:00+00:00",
    "id": "pol_abc123",
    "language": "rego",
    "name": "Require minimum payment amount",
    "operation": "create",
    "organization_id": "org_abc123",
    "resource": "payment",
    "source": "package authz\ndefault allow := false",
    "status": "enabled",
    "updated_at": "2026-01-02 00:00:00+00:00"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.