Retrieve Wallet List
GET /wallet/
Access a full list of available wallets.
Headers
Name
Value
Content-Type
application/json
X-API-KEY
<token>
Response
[
{
"id": 0,
"label": "string",
"postback_url": "http://example.com",
"currency": "string",
"address": "string",
"created_at": "2019-08-24T14:15:22Z",
"expires_at": "2019-09-24T14:15:22Z",
}
]{
"detail": [
{
"loc": [],
"msg": "string",
"type": "string"
}
]
}Example
curl -X GET "https://api.nord-pay.com/wallet/" \
-H "Content-Type: application/json" \
-H "X-API-KEY: YOUR_API_KEY"import requests
def get_wallets():
response = requests.get(
"https://api.nord-pay.com/wallet/",
headers={
"Content-Type": "application/json",
"X-API-KEY": "YOUR_API_KEY"
}
)
response.raise_for_status()
return response.json()
# usage:
wallets = get_wallets()<?php
function getWallets(): array {
$ch = curl_init("https://api.nord-pay.com/wallet/");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: YOUR_API_KEY"
],
]);
$response = curl_exec($ch);
curl_close($ch);
return json_decode($response, true);
}
// usage:
$wallets = getWallets();Last updated