NATS5 REST API Payment PATCH payvia-rule
From TMM Wiki
Jump to navigationJump to search
PATCH /payment/payvia-rule
Description
- Edit payvia rule
Resource URL
- http://domain/api/payment/payvia-rule
- Replace domain with the nats domain
- PATCH
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- payviaid
- type: digit
- required
- ruleid
- type: string
- required
- rule_type
- type: trinary_digit (0, 1, or 2)
- required
- login
- type: digit_list (Either a comma-separated string of digits, or a JSON array of digits)
- optional
- country
- type: string_list (Either a comma-separated string of strings, or a JSON array of strings)
- optional
- start_time
- type: string
- optional (default value: NOW)
- end_time
- type: string
- optional (default value: FOREVER)