Blokir dompet statis

Memblokir dompet statis

POST

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

Format requestapplication/json

wallet_id

required

uuid

ID dompet statis

Contoh permintaan

curl --request POST 'https://api.fps.pro/invoices/wallet/ban' \
  --header 'Content-Type: application/json' \
  --header 'X-Client-Id: YOUR_CLIENT_ID' \
  --header 'X-Timestamp: 1720000000' \
  --header 'X-Signature: YOUR_HMAC_SHA256_SIGNATURE' \
  --data '{
  "wallet_id": "6fd3f87a-c090-4702-82f9-e70c1323ef92"
}'

Respons berhasil

{
  "status": 200,
  "message": "wallet banned"
}

Error

Daftar detail error otorisasi ada di Otorisasi - Error

{
  "status": 422,
  "message": "Validation Error",
  "errors": [
    {
      "field": "wallet_id",
      "message": "wallet_id must be UUID"
    }
  ]
}
{
  "status": 404,
  "message": "Wallet not found"
}
{
  "status": 500,
  "message": "Internal Server Error"
}