> 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 Payin transaction from PSP By Manis Id

GET https://api/v1/payins/%7BtransactionId%7D/psp/%7BpspId%7D

Reference: https://apidoc-v1.maniscloud.com/manis-unified-api-v-1-0/payin/get-payin-transaction-from-psp-by-manis-id

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/v1/payins/%7BtransactionId%7D/psp/%7BpspId%7D:
    get:
      operationId: get-payin-transaction-from-psp-by-manis-id
      summary: Get Payin transaction from PSP By Manis Id
      tags:
        - subpackage_payin
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Payin_Get Payin transaction from PSP By
                  Manis Id_Response_200
servers:
  - url: https:/
components:
  schemas:
    ApiV1Payins7BtransactionId7DPsp7BpspId7DGetResponsesContentApplicationJsonSchemaSyncStatus:
      type: object
      properties:
        state:
          type: string
      required:
        - state
      title: >-
        ApiV1Payins7BtransactionId7DPsp7BpspId7DGetResponsesContentApplicationJsonSchemaSyncStatus
    Payin_Get Payin transaction from PSP By Manis Id_Response_200:
      type: object
      properties:
        pspId:
          type: string
        amount:
          type: integer
        createAt:
          type: string
          format: date-time
        currency:
          type: string
        updatedAt:
          type: string
          format: date-time
        customerId:
          type: string
        pspPayinId:
          type: string
        syncStatus:
          $ref: >-
            #/components/schemas/ApiV1Payins7BtransactionId7DPsp7BpspId7DGetResponsesContentApplicationJsonSchemaSyncStatus
        pspPaymentType:
          type: string
        manisPaymentType:
          type: string
        pspTransactionId:
          type: string
        manisTransactionId:
          type: string
        pspTransactionStatus:
          type: string
        manisTransactionStatus:
          type: string
        pspSpecificTransactionId:
          type: string
      required:
        - pspId
        - amount
        - createAt
        - currency
        - updatedAt
        - customerId
        - pspPayinId
        - syncStatus
        - pspPaymentType
        - manisPaymentType
        - pspTransactionId
        - manisTransactionId
        - pspTransactionStatus
        - manisTransactionStatus
        - pspSpecificTransactionId
      title: Payin_Get Payin transaction from PSP By Manis Id_Response_200

```

## SDK Code Examples

```python Payin_Get Payin transaction from PSP By Manis Id_example
import requests

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

response = requests.get(url)

print(response.json())
```

```javascript Payin_Get Payin transaction from PSP By Manis Id_example
const url = 'https://https/api/v1/payins/%7BtransactionId%7D/psp/%7BpspId%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 Payin_Get Payin transaction from PSP By Manis Id_example
package main

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

func main() {

	url := "https://https/api/v1/payins/%7BtransactionId%7D/psp/%7BpspId%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 Payin_Get Payin transaction from PSP By Manis Id_example
require 'uri'
require 'net/http'

url = URI("https://https/api/v1/payins/%7BtransactionId%7D/psp/%7BpspId%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 Payin_Get Payin transaction from PSP By Manis Id_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://https/api/v1/payins/%7BtransactionId%7D/psp/%7BpspId%7D")
  .asString();
```

```php Payin_Get Payin transaction from PSP By Manis Id_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://https/api/v1/payins/%7BtransactionId%7D/psp/%7BpspId%7D');

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

```csharp Payin_Get Payin transaction from PSP By Manis Id_example
using RestSharp;

var client = new RestClient("https://https/api/v1/payins/%7BtransactionId%7D/psp/%7BpspId%7D");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift Payin_Get Payin transaction from PSP By Manis Id_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://https/api/v1/payins/%7BtransactionId%7D/psp/%7BpspId%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()
```