⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
dalily.dev-unit.com
/
.scribe
/
endpoints
/
View File Name :
12.yaml
name: 'Payment Methods' description: '' endpoints: - httpMethods: - GET uri: api/paymentMethods metadata: groupName: 'Payment Methods' groupDescription: '' subgroup: '' subgroupDescription: '' title: 'List payment methods' description: '' authenticated: false custom: [] headers: Content-Type: application/json Accept: application/json Content-Language: en X-AppApiToken: Uk1DSFlVUVhIRXpHbWt6d2pIZjlPTG15akRPN2tJTUs= X-AppType: docs urlParameters: [] cleanUrlParameters: [] queryParameters: countryCode: name: countryCode description: 'Country code. Select only the payment methods related to a country.' required: false example: US type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] sort: name: sort description: 'The sorting parameter (Order by DESC with the given column. Use "-" as prefix to order by ASC). Possible values: lft.' required: false example: '-lft' type: string enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanQueryParameters: countryCode: US sort: '-lft' bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 200 content: '{"success":true,"message":null,"result":{"data":[{"id":5,"name":"offlinepayment","display_name":"Offline Payment","description":null,"has_ccbox":0,"is_compatible_api":1,"countries":"","active":1,"lft":5,"rgt":5,"depth":1,"parent_id":0}]}}' headers: content-type: 'application/json; charset=UTF-8' cache-control: 'no-cache, private' vary: Origin description: null custom: [] responseFields: [] auth: [] controller: null method: null route: null custom: [] - httpMethods: - GET uri: 'api/paymentMethods/{id}' metadata: groupName: 'Payment Methods' groupDescription: '' subgroup: '' subgroupDescription: '' title: 'Get payment method' description: '' authenticated: false custom: [] headers: Content-Type: application/json Accept: application/json Content-Language: en X-AppApiToken: Uk1DSFlVUVhIRXpHbWt6d2pIZjlPTG15akRPN2tJTUs= X-AppType: docs urlParameters: id: name: id description: 'Can be the ID (int) or name (string) of the payment method.' required: true example: 1 type: integer enumValues: [] exampleWasSpecified: true nullable: false custom: [] cleanUrlParameters: id: 1 queryParameters: [] cleanQueryParameters: [] bodyParameters: [] cleanBodyParameters: [] fileParameters: [] responses: - status: 404 content: '{"success":false,"message":"Payment method not found","result":null,"error":"Payment method not found"}' headers: content-type: 'application/json; charset=UTF-8' cache-control: 'no-cache, private' vary: Origin description: null custom: [] responseFields: [] auth: [] controller: null method: null route: null custom: []