> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidoc-v1.maniscloud.com/llms.txt.
> For full documentation content, see https://apidoc-v1.maniscloud.com/llms-full.txt.

# Get List Payout Method

GET https://api/v1/payout-method

## Get Payout Methods

This endpoint retrieves a list of payout methods based on the specified parameters. It allows users to filter the payout methods by payment service provider (PSP), country, and currency, as well as paginate the results.

### Request

**HTTP Method:** GET  
**Endpoint:** `{{url}}/api/v1/payout-method`

### Query Parameters

- **pspId** (string): The ID of the payment service provider.
    
- **country** (string): The country code for which the payout methods are being requested.
    
- **currency** (string): The currency code relevant to the payout methods.
    
- **page** (integer): The page number for pagination.
    
- **pageSize** (integer): The number of items per page.
    

### Response

**Status Code:** 200  
**Content-Type:** application/json

#### Response Body

The response will contain the following fields:

- **data** (array): A list of payout methods. Each object in the array includes:
    
    - **id** (string): The unique identifier for the payout method.
        
    - **pspId**(string): ID of the PSP.
        
    - **country** (string): The country associated with the payout method.
        
    - **currency** (string): The currency associated with the payout method.
        
    - **paymentType** (string): The type of the payout method.
        
    - **manisPaymentMethodName**: The name of the manis payout method.
        
- **currentPage** (integer): The current page number of the results.
    
- **totalItem** (integer): The total number of items available across all pages.
    
- **totalPage** (integer): The total number of pages available based on the pagination.
    

### Example Response

``` json
{
  "data": [
    {
      "id": 0,
      "pspId": "",
      "country": "",
      "currency": "",
      "paymentType": "",
      "manisPaymentMethodName": ""
    }
  ],
  "currentPage": 0,
  "totalItem": 0,
  "totalPage": 0
}

 ```

Use this endpoint to effectively retrieve and manage payout methods based on your specified criteria.

This endpoint allows you to retrieve a list of available payout methods from the API. It supports pagination, enabling you to specify the number of items per page and the page number to fetch.

Reference: https://apidoc-v1.maniscloud.com/manis-unified-api-v-1-0/payout-method/get-list-payout-method

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/v1/payout-method:
    get:
      operationId: get-list-payout-method
      summary: Get List Payout Method
      description: >-
        ## Get Payout Methods


        This endpoint retrieves a list of payout methods based on the specified
        parameters. It allows users to filter the payout methods by payment
        service provider (PSP), country, and currency, as well as paginate the
        results.


        ### Request


        **HTTP Method:** GET  

        **Endpoint:** `{{url}}/api/v1/payout-method`


        ### Query Parameters


        - **pspId** (string): The ID of the payment service provider.
            
        - **country** (string): The country code for which the payout methods
        are being requested.
            
        - **currency** (string): The currency code relevant to the payout
        methods.
            
        - **page** (integer): The page number for pagination.
            
        - **pageSize** (integer): The number of items per page.
            

        ### Response


        **Status Code:** 200  

        **Content-Type:** application/json


        #### Response Body


        The response will contain the following fields:


        - **data** (array): A list of payout methods. Each object in the array
        includes:
            
            - **id** (string): The unique identifier for the payout method.
                
            - **pspId**(string): ID of the PSP.
                
            - **country** (string): The country associated with the payout method.
                
            - **currency** (string): The currency associated with the payout method.
                
            - **paymentType** (string): The type of the payout method.
                
            - **manisPaymentMethodName**: The name of the manis payout method.
                
        - **currentPage** (integer): The current page number of the results.
            
        - **totalItem** (integer): The total number of items available across
        all pages.
            
        - **totalPage** (integer): The total number of pages available based on
        the pagination.
            

        ### Example Response


        ``` json

        {
          "data": [
            {
              "id": 0,
              "pspId": "",
              "country": "",
              "currency": "",
              "paymentType": "",
              "manisPaymentMethodName": ""
            }
          ],
          "currentPage": 0,
          "totalItem": 0,
          "totalPage": 0
        }

         ```

        Use this endpoint to effectively retrieve and manage payout methods
        based on your specified criteria.


        This endpoint allows you to retrieve a list of available payout methods
        from the API. It supports pagination, enabling you to specify the number
        of items per page and the page number to fetch.
      tags:
        - subpackage_payoutMethod
      parameters:
        - name: pspId
          in: query
          required: false
          schema:
            type: string
        - name: country
          in: query
          required: false
          schema:
            type: string
        - name: currency
          in: query
          required: false
          schema:
            type: string
        - name: page
          in: query
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Payout Method_Get List Payout
                  Method_Response_200
servers:
  - url: https:/
components:
  schemas:
    ApiV1PayoutMethodGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        id:
          type: string
        pspId:
          type: string
        country:
          type: string
        currency:
          type: string
        paymentType:
          type: string
        manisPaymentMethodName:
          type: string
      required:
        - id
        - pspId
        - country
        - currency
        - paymentType
        - manisPaymentMethodName
      title: ApiV1PayoutMethodGetResponsesContentApplicationJsonSchemaDataItems
    Payout Method_Get List Payout Method_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: >-
              #/components/schemas/ApiV1PayoutMethodGetResponsesContentApplicationJsonSchemaDataItems
        totalItem:
          type: integer
        totalPage:
          type: integer
        currentPage:
          type: integer
      required:
        - data
        - totalItem
        - totalPage
        - currentPage
      title: Payout Method_Get List Payout Method_Response_200

```

## SDK Code Examples

```python Payout Method_Get List Payout Method_example
import requests

url = "https://https/api/v1/payout-method"

querystring = {"pspId":"{{pspId}}","country":"{{country}}","currency":"{{currency}}","page":"{{page}}","pageSize":"{{pageSize}}"}

response = requests.get(url, params=querystring)

print(response.json())
```

```javascript Payout Method_Get List Payout Method_example
const url = 'https://https/api/v1/payout-method?pspId=%7B%7BpspId%7D%7D&country=%7B%7Bcountry%7D%7D&currency=%7B%7Bcurrency%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Payout Method_Get List Payout Method_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://https/api/v1/payout-method?pspId=%7B%7BpspId%7D%7D&country=%7B%7Bcountry%7D%7D&currency=%7B%7Bcurrency%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Payout Method_Get List Payout Method_example
require 'uri'
require 'net/http'

url = URI("https://https/api/v1/payout-method?pspId=%7B%7BpspId%7D%7D&country=%7B%7Bcountry%7D%7D&currency=%7B%7Bcurrency%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java Payout Method_Get List Payout Method_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://https/api/v1/payout-method?pspId=%7B%7BpspId%7D%7D&country=%7B%7Bcountry%7D%7D&currency=%7B%7Bcurrency%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D")
  .asString();
```

```php Payout Method_Get List Payout Method_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://https/api/v1/payout-method?pspId=%7B%7BpspId%7D%7D&country=%7B%7Bcountry%7D%7D&currency=%7B%7Bcurrency%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D');

echo $response->getBody();
```

```csharp Payout Method_Get List Payout Method_example
using RestSharp;

var client = new RestClient("https://https/api/v1/payout-method?pspId=%7B%7BpspId%7D%7D&country=%7B%7Bcountry%7D%7D&currency=%7B%7Bcurrency%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift Payout Method_Get List Payout Method_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://https/api/v1/payout-method?pspId=%7B%7BpspId%7D%7D&country=%7B%7Bcountry%7D%7D&currency=%7B%7Bcurrency%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```