> 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 AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidoc-v1.maniscloud.com/_mcp/server.

# Get Payout from PSP

GET https://api/v1/payouts/psp/%7BpspId%7D

Get the payout list directly from PSP.

#### **Request Params**

| **Field** | **type** | **Require** | **Description** |
| --- | --- | --- | --- |
| createdAt | date(yyyy-mm-dd) | No |  |
| page | number | No |  |
| pageSize | number | No |  |
| realTime | boolean | No |  |
| refresh | boolean | No |  |

#### Response Body

| Field | Type | **Description** |
| --- | --- | --- |
| `manisTransactionId` | string | ID of payout transaction from Manis |
| `pspTransactionId` | string | ID of transaction from PSP |
| `customerId` | string | ID of the customer |
| `beneficiaryId` | string | ID of the beneficiary |
| `pspPayoutId` | string | ID of payout from PSP |
| `pspId` | string | ID of the PSP |
| `merchantId` | string | ID of the merchant |
| `paymentType` | string | PAYOUT |
| `status` | string | Status of payout  <br>PENDING  <br>COMPLETED  <br>FAILED  <br>EXPIRED  <br>REFUNDED  <br>CANCELLED |
| `currency` | string | Currency |
| `amount` | number | Amount of transaction |
| `createdAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') |  |
| `updatedAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') |  |

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

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/v1/payouts/psp/%7BpspId%7D:
    get:
      operationId: get-payout-from-psp
      summary: Get Payout from PSP
      description: >-
        Get the payout list directly from PSP.


        #### **Request Params**


        | **Field** | **type** | **Require** | **Description** |

        | --- | --- | --- | --- |

        | createdAt | date(yyyy-mm-dd) | No |  |

        | page | number | No |  |

        | pageSize | number | No |  |

        | realTime | boolean | No |  |

        | refresh | boolean | No |  |


        #### Response Body


        | Field | Type | **Description** |

        | --- | --- | --- |

        | `manisTransactionId` | string | ID of payout transaction from Manis |

        | `pspTransactionId` | string | ID of transaction from PSP |

        | `customerId` | string | ID of the customer |

        | `beneficiaryId` | string | ID of the beneficiary |

        | `pspPayoutId` | string | ID of payout from PSP |

        | `pspId` | string | ID of the PSP |

        | `merchantId` | string | ID of the merchant |

        | `paymentType` | string | PAYOUT |

        | `status` | string | Status of payout  <br>PENDING  <br>COMPLETED 
        <br>FAILED  <br>EXPIRED  <br>REFUNDED  <br>CANCELLED |

        | `currency` | string | Currency |

        | `amount` | number | Amount of transaction |

        | `createdAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') |  |

        | `updatedAt` | date(yyyy-MM-dd'T'HH:mm:ss.SSS'Z') |  |
      tags:
        - subpackage_payout
      parameters:
        - name: createdAt
          in: query
          description: yyyy-mm-dd
          required: false
          schema:
            type: string
        - name: page
          in: query
          required: false
          schema:
            type: string
        - name: pageSize
          in: query
          required: false
          schema:
            type: string
        - name: refresh
          in: query
          required: false
          schema:
            type: string
        - name: realTime
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: >-
                    #/components/schemas/ApiV1PayoutsPsp7BpspId7DGetResponsesContentApplicationJsonSchemaItems
servers:
  - url: https:/
    description: https://{url}
components:
  schemas:
    ApiV1PayoutsPsp7BpspId7DGetResponsesContentApplicationJsonSchemaItems:
      type: object
      properties:
        pspId:
          type: string
        amount:
          type: integer
        status:
          type: string
        currency:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        customerId:
          type: string
        merchantId:
          type: string
          format: uuid
        paymentType:
          type: string
        pspPayoutId:
          type: string
        beneficiaryId:
          type: string
        manisTransactionId:
          type: string
      required:
        - pspId
        - amount
        - status
        - currency
        - createdAt
        - updatedAt
        - customerId
        - merchantId
        - paymentType
        - pspPayoutId
        - beneficiaryId
        - manisTransactionId
      title: ApiV1PayoutsPsp7BpspId7DGetResponsesContentApplicationJsonSchemaItems

```

## Examples



**Response**

```json
[
  {
    "pspId": "finmo",
    "amount": 10,
    "status": "PENDING",
    "currency": "USD",
    "createdAt": "2025-07-29T13:59:25.768Z",
    "updatedAt": "2025-07-29T13:59:30Z",
    "customerId": "cus-01k0s4dm5g62ts91et7gk59rbv",
    "merchantId": "5e1fbca1-3584-494b-bc4a-47f6d1964128",
    "paymentType": "PAYOUT",
    "pspPayoutId": "payout_e4cf6cee0de9403ea107fecd5f396c19",
    "beneficiaryId": "benef-01k0s4mfyvwp3dp4n328tc08q4",
    "manisTransactionId": "txn-01k1b7n8namyme887caxf41s63"
  }
]
```

**SDK Code**

```python Payout_Get Payout from PSP_example
import requests

url = "https://https/api/v1/payouts/psp/%7BpspId%7D"

querystring = {"createdAt":"{{createdAt}}","page":"{{page}}","pageSize":"{{pageSize}}","refresh":"{{refresh}}","realTime":"{{realTime}}"}

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

print(response.json())
```

```javascript Payout_Get Payout from PSP_example
const url = 'https://https/api/v1/payouts/psp/%7BpspId%7D?createdAt=%7B%7BcreatedAt%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D&refresh=%7B%7Brefresh%7D%7D&realTime=%7B%7BrealTime%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_Get Payout from PSP_example
package main

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

func main() {

	url := "https://https/api/v1/payouts/psp/%7BpspId%7D?createdAt=%7B%7BcreatedAt%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D&refresh=%7B%7Brefresh%7D%7D&realTime=%7B%7BrealTime%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_Get Payout from PSP_example
require 'uri'
require 'net/http'

url = URI("https://https/api/v1/payouts/psp/%7BpspId%7D?createdAt=%7B%7BcreatedAt%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D&refresh=%7B%7Brefresh%7D%7D&realTime=%7B%7BrealTime%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_Get Payout from PSP_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://https/api/v1/payouts/psp/%7BpspId%7D?createdAt=%7B%7BcreatedAt%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D&refresh=%7B%7Brefresh%7D%7D&realTime=%7B%7BrealTime%7D%7D")
  .asString();
```

```php Payout_Get Payout from PSP_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://https/api/v1/payouts/psp/%7BpspId%7D?createdAt=%7B%7BcreatedAt%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D&refresh=%7B%7Brefresh%7D%7D&realTime=%7B%7BrealTime%7D%7D');

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

```csharp Payout_Get Payout from PSP_example
using RestSharp;

var client = new RestClient("https://https/api/v1/payouts/psp/%7BpspId%7D?createdAt=%7B%7BcreatedAt%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D&refresh=%7B%7Brefresh%7D%7D&realTime=%7B%7BrealTime%7D%7D");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift Payout_Get Payout from PSP_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://https/api/v1/payouts/psp/%7BpspId%7D?createdAt=%7B%7BcreatedAt%7D%7D&page=%7B%7Bpage%7D%7D&pageSize=%7B%7BpageSize%7D%7D&refresh=%7B%7Brefresh%7D%7D&realTime=%7B%7BrealTime%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()
```