वॉलेट सूची

आपके स्थिर वॉलेट की सूची

GET

https://api.fps.pro/invoices/wallet

अनुरोध प्रारूपpathParam

order_id

string

आपके सिस्टम में ऑर्डर ID

token

string

स्थिर वॉलेट बनाने में उपयोग टोकन कोड

network

string

स्थिर वॉलेट बनाने में उपयोग नेटवर्क कोड

page

integer

पृष्ठांकन

डिफ़ॉल्ट: 1

प्रतिक्रिया प्रारूपdata object

data[].id

uuid

स्थिर वॉलेट ID

data[].order_id

string

आपके सिस्टम में ऑर्डर ID

data[].address

string

भुगतान प्राप्त करने का अंतिम पता

data[].token

string

टोकन कोड

data[].network

string

नेटवर्क कोड

अनुरोध उदाहरण

curl --request GET 'https://api.fps.pro/invoices/wallet/?order_id=ORD-1001&token=tether&network=tron&page=1' \
  --header 'X-Client-Id: YOUR_CLIENT_ID' \
  --header 'X-Timestamp: 1720000000' \
  --header 'X-Signature: YOUR_HMAC_SHA256_SIGNATURE'

सफल प्रतिक्रिया

{
  "status": 200,
  "message": "ok",
  "data": [
    {
      "id": "95b97d47-4f0f-4822-8f26-4c3550fd1b7a",
      "order_id": "order-1001",
      "address": "TQ5x...abc",
      "token": "tether",
      "network": "tron"
    }
  ],
  "meta": {
    "total": 1,
    "page": 1,
    "per_page": 20,
    "last_page": 1
  }
}

त्रुटियां

प्राधिकरण त्रुटियों की विस्तृत सूची यहां दी गई है: प्राधिकरण - त्रुटियाँ

{
  "status": 422,
  "message": "Validation Error",
  "errors": [
    {
      "field": "page",
      "message": "page must be positive int"
    }
  ]
}
{
  "status": 400,
  "message": "Token is not exist"
}
{
  "status": 400,
  "message": "Network is not exist"
}
{
  "status": 500,
  "message": "Internal Server Error"
}