Get a permanent address by id
curl --request GET \
--url https://api.pawpayments.com/api/v2/permanent/{address_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pawpayments.com/api/v2/permanent/{address_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.pawpayments.com/api/v2/permanent/{address_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.pawpayments.com/api/v2/permanent/{address_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-api-key: <api-key>"
],
]);
$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.pawpayments.com/api/v2/permanent/{address_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.pawpayments.com/api/v2/permanent/{address_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pawpayments.com/api/v2/permanent/{address_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ok": true,
"result": {
"active": true,
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"created_at": 1763398900,
"deactivated_at": null,
"family": "evm",
"id": "65f1c3a4e8b1c2d3a4b5c6f0",
"metadata": {
"label": "main wallet"
},
"notify_url": "https://shop.example.com/webhook/paw",
"user_id": "u_42"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"details": [
{
"field": "amount",
"message": "Field required"
}
],
"message": "Validation failed"
},
"ok": false
}{
"error": {
"code": "VALIDATION_ERROR",
"details": [
{
"field": "amount",
"message": "Field required"
}
],
"message": "Validation failed"
},
"ok": false
}{
"error": {
"code": "VALIDATION_ERROR",
"details": [
{
"field": "amount",
"message": "Field required"
}
],
"message": "Validation failed"
},
"ok": false
}{
"error": {
"code": "VALIDATION_ERROR",
"details": [
{
"field": "amount",
"message": "Field required"
}
],
"message": "Validation failed"
},
"ok": false
}Permanent addresses
Get a permanent address by id
GET
/
api
/
v2
/
permanent
/
{address_id}
Get a permanent address by id
curl --request GET \
--url https://api.pawpayments.com/api/v2/permanent/{address_id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.pawpayments.com/api/v2/permanent/{address_id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.pawpayments.com/api/v2/permanent/{address_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.pawpayments.com/api/v2/permanent/{address_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-api-key: <api-key>"
],
]);
$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.pawpayments.com/api/v2/permanent/{address_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.pawpayments.com/api/v2/permanent/{address_id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pawpayments.com/api/v2/permanent/{address_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ok": true,
"result": {
"active": true,
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"created_at": 1763398900,
"deactivated_at": null,
"family": "evm",
"id": "65f1c3a4e8b1c2d3a4b5c6f0",
"metadata": {
"label": "main wallet"
},
"notify_url": "https://shop.example.com/webhook/paw",
"user_id": "u_42"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"details": [
{
"field": "amount",
"message": "Field required"
}
],
"message": "Validation failed"
},
"ok": false
}{
"error": {
"code": "VALIDATION_ERROR",
"details": [
{
"field": "amount",
"message": "Field required"
}
],
"message": "Validation failed"
},
"ok": false
}{
"error": {
"code": "VALIDATION_ERROR",
"details": [
{
"field": "amount",
"message": "Field required"
}
],
"message": "Validation failed"
},
"ok": false
}{
"error": {
"code": "VALIDATION_ERROR",
"details": [
{
"field": "amount",
"message": "Field required"
}
],
"message": "Validation failed"
},
"ok": false
}Authorizations
Path Parameters
Unique 24-character hex permanent address id.
Response
OK
Public shape of a permanent deposit address.
Deliberately omits the internal bookkeeping fields carried by addresses the
Telegram userbot creates (label, label_key, stats_excluded,
created_via, created_by_tg_id). _serialize whitelists by the fields
declared here, so leaving them out keeps them out of both the JSON response
and the published OpenAPI spec.
Show child attributes
Show child attributes
Example:
{
"active": true,
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
"created_at": 1763398900,
"deactivated_at": null,
"family": "evm",
"id": "65f1c3a4e8b1c2d3a4b5c6f0",
"metadata": { "label": "main wallet" },
"notify_url": "https://shop.example.com/webhook/paw",
"user_id": "u_42"
}

