---
title: "Create Product Billing Cycle"
method: POST
path: "/pws/pws_create_product_billing_cycle/"
tags: ["Credit billing cycle"]
---

# Create Product Billing Cycle

`POST /pws/pws_create_product_billing_cycle/`

## Request

- Base URL: `https://api.uat.paymentology.com/ppws/api`
- URL: `https://api.uat.paymentology.com/ppws/api/pws/pws_create_product_billing_cycle/`
- Auth: none declared

This web service creates a billing cycle for a credit product

## Request body

- PwsProductCycleConfigModel
  - `api_call_unique_identifier` string, required: Unique number that must be passed at each API request. Identifier to make each API request unique
  - `client_billing_cycle_config_id` string, required: <p>client_billing_cycle_config_id :config Id that is created during create client billing cycle.</p><p>For the product related to that client the config id is used from client billing cycle .config Id which is comma separated value thus we can configure single or multiple config for that product</p>
  - `client_id` integer, required: Unique identifier for the client which Paymentology will provide at outset
  - `prod_id` integer, required: Prod Id
  - `user_id` string: User Id of the Customer who triggered the API request.
  - `remarks` string: Remarks for API request

## Response `200`

Successful Response

- InsertClientCycleResponse
  - `header` ClientCycleHeader
    - `error_id` integer: error id
    - `error_desc` string: error message
  - `body` ClientCycleBody
    - `config_id` string: config id that is obtained after inserting cycle config for client

## Other responses

- `404`: Webservices does not exist
- `500`: Internal Server error

## Changes

- **2026-11-03** `73c2771493b1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/paymentology/apis/payapi-docs/changes/pws/pws_create_product_billing_cycle/post.md)

---

[API](https://skmtc.dev/paymentology/apis/payapi-docs.md) - [All operations](https://skmtc.dev/paymentology/apis/payapi-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/paymentology/apis/payapi-docs/revisions/73c2771493b1?raw)
