Skip to main content
GET
/
v1
/
tech
/
services
/
get
Get Service Details
curl --request GET \
  --url https://app.unpay.in/api/v1/tech/services/get \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "body": "UNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAY"
}
'
{
  "success": true,
  "user_id": "USR20260001",
  "products": [
    {
      "product_id": "<string>",
      "product_name": "<string>",
      "status": "ACTIVE"
    }
  ],
  "services": [
    {
      "service_id": "<string>",
      "service_name": "<string>",
      "product_id": "<string>",
      "status": "ACTIVE"
    }
  ],
  "providers": [
    {
      "provider_id": "<string>",
      "provider_name": "<string>",
      "service_id": "<string>",
      "status": "ACTIVE"
    }
  ],
  "debit_accounts": [
    {
      "account_id": "UNPW4065468842",
      "account_type": "WALLET",
      "balance": 10000,
      "currency": "INR",
      "status": "ACTIVE"
    }
  ],
  "credit_accounts": [
    {
      "account_id": "<string>",
      "account_type": "<string>",
      "bank_name": "<string>",
      "account_number": "<string>",
      "ifsc_code": "<string>",
      "status": "ACTIVE"
    }
  ]
}

Authorizations

x-api-key
string
header
required

Use your API Key from the UnPay dashboard. Required for all tech/server-to-server endpoints.

Headers

Content-Type
string
default:application/json
required

Must be application/json

Body

application/json
body
string
required

AES-256-CBC encrypted payload (HEX encoded). Encrypt a JSON object containing user_id.

Example:

"UNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAYUNPAY"

Response

Service details retrieved successfully

success
boolean
Example:

true

user_id
string
Example:

"USR20260001"

products
object[]

All products available to the user.

services
object[]

All services under each product.

providers
object[]

Service providers linked to the user.

debit_accounts
object[]

User's debit account details.

credit_accounts
object[]

User's credit account details.