Change the payment cycle
POST/api/v3/package/:package_id/_action/setPayCycle
Valid values for specifying paycycle
:
dly
- daily1wk
- weekly2wk
- 2 weeks4wk
- 4 weeks2mn
- 2 monthsmon
- monthlyqtr
- quarterlyyrl
- yearly2yr
- 2 years3yr
- 3 years4yr
- 4 years5yr
- 5 years10y
- 10 yearssix
- 6 months30d
- 30 days8wk
- 8 weeks12w
- 12 weeks
Request
- application/json
Body
paycycle string
Responses
- 200
- 400
- 401
Action completed successfully
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
code integer
status string
message stringnullable
details objectnullable
response boolean
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": true
}
{
"code": 200,
"status": "OK",
"message": "",
"details": {},
"response": true
}
Bad request
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
code integer
status string
message stringnullable
details objectnullable
response boolean
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": true
}
{
"code": 400,
"status": "Error",
"message": "Missing or invalid parameter.",
"details": {},
"response": false
}
Authentication error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
code integer
status string
message stringnullable
details objectnullable
response boolean
{
"code": 0,
"status": "string",
"message": "string",
"details": {},
"response": true
}
{
"code": 401,
"status": "Error",
"message": "Invalid or incorrect authorization [Missing (basic) authorization header.]",
"details": {},
"response": false
}
Loading...