Get payment details
curl --request GET \
--url https://api.pay.walletconnect.com/v1/payments/{id} \
--header 'Api-Key: <api-key>' \
--header 'Merchant-Id: <merchant-id>'import requests
url = "https://api.pay.walletconnect.com/v1/payments/{id}"
headers = {
"Api-Key": "<api-key>",
"Merchant-Id": "<merchant-id>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Api-Key': '<api-key>', 'Merchant-Id': '<merchant-id>'}
};
fetch('https://api.pay.walletconnect.com/v1/payments/{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.pay.walletconnect.com/v1/payments/{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 => [
"Api-Key: <api-key>",
"Merchant-Id: <merchant-id>"
],
]);
$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.pay.walletconnect.com/v1/payments/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Api-Key", "<api-key>")
req.Header.Add("Merchant-Id", "<merchant-id>")
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.pay.walletconnect.com/v1/payments/{id}")
.header("Api-Key", "<api-key>")
.header("Merchant-Id", "<merchant-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pay.walletconnect.com/v1/payments/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Api-Key"] = '<api-key>'
request["Merchant-Id"] = '<merchant-id>'
response = http.request(request)
puts response.read_body{
"info": {
"optionAmount": {
"display": {
"assetName": "USD Coin",
"assetSymbol": "USDC",
"decimals": 6,
"iconUrl": "https://assets.walletconnect.com/usdc.png",
"networkIconUrl": "https://assets.walletconnect.com/base.png",
"networkName": "Base"
},
"unit": "caip19/eip155:8453/erc20:0x0000000000000000000000000000000000000000",
"value": "1000000"
},
"txId": "0xabc123..."
},
"referenceId": "ORDER-123",
"settlement": null,
"status": "succeeded"
}{
"code": "rate_limited",
"message": "<string>"
}{
"code": "rate_limited",
"message": "<string>"
}{
"code": "rate_limited",
"message": "<string>"
}{
"code": "rate_limited",
"message": "<string>"
}Payments
Get payment details
Retrieves the full details of a payment by its ID, including settlement information when available.
GET
/
v1
/
payments
/
{id}
Get payment details
curl --request GET \
--url https://api.pay.walletconnect.com/v1/payments/{id} \
--header 'Api-Key: <api-key>' \
--header 'Merchant-Id: <merchant-id>'import requests
url = "https://api.pay.walletconnect.com/v1/payments/{id}"
headers = {
"Api-Key": "<api-key>",
"Merchant-Id": "<merchant-id>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'Api-Key': '<api-key>', 'Merchant-Id': '<merchant-id>'}
};
fetch('https://api.pay.walletconnect.com/v1/payments/{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.pay.walletconnect.com/v1/payments/{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 => [
"Api-Key: <api-key>",
"Merchant-Id: <merchant-id>"
],
]);
$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.pay.walletconnect.com/v1/payments/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Api-Key", "<api-key>")
req.Header.Add("Merchant-Id", "<merchant-id>")
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.pay.walletconnect.com/v1/payments/{id}")
.header("Api-Key", "<api-key>")
.header("Merchant-Id", "<merchant-id>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pay.walletconnect.com/v1/payments/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Api-Key"] = '<api-key>'
request["Merchant-Id"] = '<merchant-id>'
response = http.request(request)
puts response.read_body{
"info": {
"optionAmount": {
"display": {
"assetName": "USD Coin",
"assetSymbol": "USDC",
"decimals": 6,
"iconUrl": "https://assets.walletconnect.com/usdc.png",
"networkIconUrl": "https://assets.walletconnect.com/base.png",
"networkName": "Base"
},
"unit": "caip19/eip155:8453/erc20:0x0000000000000000000000000000000000000000",
"value": "1000000"
},
"txId": "0xabc123..."
},
"referenceId": "ORDER-123",
"settlement": null,
"status": "succeeded"
}{
"code": "rate_limited",
"message": "<string>"
}{
"code": "rate_limited",
"message": "<string>"
}{
"code": "rate_limited",
"message": "<string>"
}{
"code": "rate_limited",
"message": "<string>"
}Authorizations
API KeyApiKeyAppId
Headers
Path Parameters
Payment ID
Example:
"pay_7fa2ecc101ARZ3NDEKTSV4RRFFQ69G5FAV"
Response
Payment details retrieved successfully
Merchant-provided reference ID for this payment, as supplied during payment creation
Payment status
Available options:
requires_action, processing, succeeded, failed, expired, cancelled Machine-readable reason identifying why the payment failed. Present
only when status == "failed".
Available options:
declined_user Payment information (transaction hash, amount). Present when status is Succeeded, null otherwise.
Show child attributes
Show child attributes
Example:
{
"optionAmount": {
"display": {
"assetName": "USD Coin",
"assetSymbol": "USDC",
"decimals": 6,
"iconUrl": "https://assets.walletconnect.com/usdc.png",
"networkIconUrl": "https://assets.walletconnect.com/base.png",
"networkName": "Base"
},
"unit": "caip19/eip155:8453/erc20:0x0000000000000000000000000000000000000000",
"value": "1000000"
},
"txId": "0xabc123..."
}
Settlement metadata for the MTA → destination transfer. Null when settlement has not completed yet (pending, non-MTA flows, or pre-confirmation).
Show child attributes
Show child attributes
Example:
{
"successful": {
"amount": {
"unit": "caip19/eip155:1/erc20:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
},
"txId": "0xabc123def456789abc123def456789abc123def456789abc123def456789abc1"
}
}