curl --request GET \
--url https://api-test.paiera.com/v1/payment/retrieve \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api-test.paiera.com/v1/payment/retrieve"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api-test.paiera.com/v1/payment/retrieve', 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-test.paiera.com/v1/payment/retrieve",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$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-test.paiera.com/v1/payment/retrieve"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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-test.paiera.com/v1/payment/retrieve")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-test.paiera.com/v1/payment/retrieve")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"code": "success",
"message": "success",
"trace_id": "00000000000000000000000000000001",
"timestamp": 1789349142078,
"data": {
"transaction_id": "acq_example_001",
"payment_reference_id": "merchant-order-202609170001",
"status": "COMPLETED",
"description": "Product description",
"order_amount": "10",
"order_currency": "USD",
"payment_amount": "10.01",
"payment_currency": "USDT",
"user_pay_amount": "10.01",
"user_pay_currency": "USDT",
"network": "TRC20",
"tx_hash": "BLOCKCHAIN_TRANSACTION_HASH",
"fee_amount": "2",
"fee_currency": "USDT",
"exception_types": [],
"customer": {
"id": "customer-001",
"name": "Joe",
"email": "joe@example.com",
"phone": "+12025550100",
"address": {
"country": "SG",
"state": "Singapore",
"city": "Singapore",
"postal_code": "179098",
"line1": "1 Parliament Place"
}
},
"products": [
{
"name": "Example Product",
"description": "Product description",
"quantity": 2,
"unit_amount": 5,
"currency": "USD"
}
],
"metadata": {
"source": "merchant"
},
"refund_history": [],
"created_at": "2026-09-17T09:00:00Z",
"expires_at": "2026-09-17T09:30:00Z",
"completed_at": "2026-09-17T09:10:00Z"
},
"success": true
}Retrieve Payment
curl --request GET \
--url https://api-test.paiera.com/v1/payment/retrieve \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api-test.paiera.com/v1/payment/retrieve"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api-test.paiera.com/v1/payment/retrieve', 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-test.paiera.com/v1/payment/retrieve",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$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-test.paiera.com/v1/payment/retrieve"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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-test.paiera.com/v1/payment/retrieve")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-test.paiera.com/v1/payment/retrieve")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"code": "success",
"message": "success",
"trace_id": "00000000000000000000000000000001",
"timestamp": 1789349142078,
"data": {
"transaction_id": "acq_example_001",
"payment_reference_id": "merchant-order-202609170001",
"status": "COMPLETED",
"description": "Product description",
"order_amount": "10",
"order_currency": "USD",
"payment_amount": "10.01",
"payment_currency": "USDT",
"user_pay_amount": "10.01",
"user_pay_currency": "USDT",
"network": "TRC20",
"tx_hash": "BLOCKCHAIN_TRANSACTION_HASH",
"fee_amount": "2",
"fee_currency": "USDT",
"exception_types": [],
"customer": {
"id": "customer-001",
"name": "Joe",
"email": "joe@example.com",
"phone": "+12025550100",
"address": {
"country": "SG",
"state": "Singapore",
"city": "Singapore",
"postal_code": "179098",
"line1": "1 Parliament Place"
}
},
"products": [
{
"name": "Example Product",
"description": "Product description",
"quantity": 2,
"unit_amount": 5,
"currency": "USD"
}
],
"metadata": {
"source": "merchant"
},
"refund_history": [],
"created_at": "2026-09-17T09:00:00Z",
"expires_at": "2026-09-17T09:30:00Z",
"completed_at": "2026-09-17T09:10:00Z"
},
"success": true
}tx_hash_url, kyt_status, fund_status, refund-eligibility fields and trace_timeline. Product snapshots use integer quantity and numeric unit_amount, unlike creation input. Historical malformed stored snapshots may be returned as text.
See response objects.Authorizations
Use HTTP Basic authentication with api_key as username and api_secret as password. Obtain credentials in Portal > Settings > Developer.
Query Parameters
Paiera payment transaction ID. Provide at least one identifier; both identifiers may be provided, but they must identify the same payment.
Merchant payment reference. Provide at least one identifier; both identifiers may be provided, but they must identify the same payment.
Response
Query Payment successful
Business result code; success indicates a successful request
"success"Result message; success indicates a successful request
"success"Response time as a Unix timestamp in milliseconds
Declared response fields; null values may be omitted. Supply at least one identifier. If both are supplied, they must identify the same payment. OpenAPI detail removes tx_hash_url, kyt_status, fund_status, refund-eligibility fields and trace_timeline. Product snapshots use integer quantity and numeric unit_amount, unlike creation input. Historical malformed stored snapshots may be returned as text.
Show child attributes
Show child attributes
Whether the request succeeded
Trace ID used for troubleshooting
