Retrieve a specific payment by ID
curl --request GET \
--url https://api.paywint.com/api/platform/payment/get-payment/{payment_id} \
--header 'X-Platform-ID: <x-platform-id>' \
--header 'X-Signature: <x-signature>'import requests
url = "https://api.paywint.com/api/platform/payment/get-payment/{payment_id}"
headers = {
"X-Platform-ID": "<x-platform-id>",
"X-Signature": "<x-signature>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Platform-ID': '<x-platform-id>', 'X-Signature': '<x-signature>'}
};
fetch('https://api.paywint.com/api/platform/payment/get-payment/{payment_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.paywint.com/api/platform/payment/get-payment/{payment_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Platform-ID: <x-platform-id>",
"X-Signature: <x-signature>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paywint.com/api/platform/payment/get-payment/{payment_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Platform-ID", "<x-platform-id>")
req.Header.Add("X-Signature", "<x-signature>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.paywint.com/api/platform/payment/get-payment/{payment_id}")
.header("X-Platform-ID", "<x-platform-id>")
.header("X-Signature", "<x-signature>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paywint.com/api/platform/payment/get-payment/{payment_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Platform-ID"] = '<x-platform-id>'
request["X-Signature"] = '<x-signature>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Operation completed.",
"data": {
"payment_id": "f47ac10b-****-****-****-0e02b2c3d479",
"transaction_id": 1501,
"payer_id": "f47ac10b-****-****-****-0e02b2c3d479",
"payee_id": "f47ac10b-****-****-****-0e02b2c3d479",
"amount": 100,
"processing_fee": 1.5,
"delivery_fee": 0.5,
"invoice_no": "INV-2024-001234",
"currency": "USD",
"description": "June invoice for services",
"created_at": "2025-06-16T10:04:51.739761Z",
"payment_date": "2025-06-16T10:13:16.749655Z",
"status": "success",
"card_id": "f47ac10b-****-****-****-0e02b2c3d479",
"bank_id": "f47ac10b-****-****-****-0e02b2c3d479",
"payee_card_id": "f47ac10b-****-****-****-0e02b2c3d479",
"payee_bank_id": "f47ac10b-****-****-****-0e02b2c3d479",
"to_pw_bank_id": "f47ac10b-****-****-****-0e02b2c3d479",
"failure_reason": "Insufficient wallet balance",
"payout_currency": "INR",
"payout_amount": 8500,
"exchange_rate": 84.91,
"payment_method": "WALLET",
"receiving_method": "WALLET"
},
"queryGeneratedTime": 1718006400
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Get Payment Details
Fetch the details of a specific payment using its unique ID.
This endpoint:
- Retrieves a payment record by its
id - Ensures the request is made by an authenticated platform via API key
- Returns the payment data in a standardized format
GET
/
api
/
platform
/
payment
/
get-payment
/
{payment_id}
Retrieve a specific payment by ID
curl --request GET \
--url https://api.paywint.com/api/platform/payment/get-payment/{payment_id} \
--header 'X-Platform-ID: <x-platform-id>' \
--header 'X-Signature: <x-signature>'import requests
url = "https://api.paywint.com/api/platform/payment/get-payment/{payment_id}"
headers = {
"X-Platform-ID": "<x-platform-id>",
"X-Signature": "<x-signature>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Platform-ID': '<x-platform-id>', 'X-Signature': '<x-signature>'}
};
fetch('https://api.paywint.com/api/platform/payment/get-payment/{payment_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.paywint.com/api/platform/payment/get-payment/{payment_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Platform-ID: <x-platform-id>",
"X-Signature: <x-signature>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.paywint.com/api/platform/payment/get-payment/{payment_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Platform-ID", "<x-platform-id>")
req.Header.Add("X-Signature", "<x-signature>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.paywint.com/api/platform/payment/get-payment/{payment_id}")
.header("X-Platform-ID", "<x-platform-id>")
.header("X-Signature", "<x-signature>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.paywint.com/api/platform/payment/get-payment/{payment_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Platform-ID"] = '<x-platform-id>'
request["X-Signature"] = '<x-signature>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Operation completed.",
"data": {
"payment_id": "f47ac10b-****-****-****-0e02b2c3d479",
"transaction_id": 1501,
"payer_id": "f47ac10b-****-****-****-0e02b2c3d479",
"payee_id": "f47ac10b-****-****-****-0e02b2c3d479",
"amount": 100,
"processing_fee": 1.5,
"delivery_fee": 0.5,
"invoice_no": "INV-2024-001234",
"currency": "USD",
"description": "June invoice for services",
"created_at": "2025-06-16T10:04:51.739761Z",
"payment_date": "2025-06-16T10:13:16.749655Z",
"status": "success",
"card_id": "f47ac10b-****-****-****-0e02b2c3d479",
"bank_id": "f47ac10b-****-****-****-0e02b2c3d479",
"payee_card_id": "f47ac10b-****-****-****-0e02b2c3d479",
"payee_bank_id": "f47ac10b-****-****-****-0e02b2c3d479",
"to_pw_bank_id": "f47ac10b-****-****-****-0e02b2c3d479",
"failure_reason": "Insufficient wallet balance",
"payout_currency": "INR",
"payout_amount": 8500,
"exchange_rate": 84.91,
"payment_method": "WALLET",
"receiving_method": "WALLET"
},
"queryGeneratedTime": 1718006400
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Headers
Unique platform identifier (UUID). You receive this during onboarding. Must be sent with every API request.
HMAC-SHA256 request signature for authentication. Use your platform secret key to compute it as: METHOD + PATH + QUERY + BODY_HASH.
Path Parameters
Unique identifier (UUID) of the payment to be retrieved.
Response
Successful Response
Indicates whether the request was processed successfully.
Example:
true
A short, human-readable message describing the result of the request.
Example:
"Operation completed."
The main response payload, if applicable
Show child attributes
Show child attributes
The Unix timestamp (in seconds) indicating when the response was generated.
Example:
1718006400

