NATS5 REST API Payment GET payment-search
From TMM Wiki
Jump to navigationJump to search
GET /payment/payment-search
Description
- Search payments
Resource URL
- http://domain/api/payment/payment-search
- Replace domain with the nats domain
- GET
Response Format
- JSON
- HTTP headers
Parameters
Parameters can be sent as url encoded params
- username
- type: string
- optional
- loginid
- type: digit
- optional
- loginid_compare
- type: string
- optional (default value: =)
- payvia_type_id
- type: digit
- optional
- payvia_type_id_compare
- type: string
- optional (default value: =)
- payvia_type
- type: string
- optional
- stored
- type: datetime (A date string to be parsed by php strtotime, or a unix timestamp integer)
- optional
- paid
- type: datetime (A date string to be parsed by php strtotime, or a unix timestamp integer)
- optional
- text_search
- type: string
- optional
- order
- type: string
- optional
- direction
- type: trinary_digit (0, 1, or 2)
- optional
- start
- type: digit
- optional
- count
- type: digit
- optional (default value: 25)