Skip to main content
GET
/
v1
/
escrow
/
category
/
get
/
{categoryId}
Get category by ID
curl --request GET \
  --url https://staging.api.payluk.ng/v1/escrow/category/get/{categoryId} \
  --header 'Authorization: Bearer <token>'
{
  "status": 200,
  "message": "Category fetched successfully",
  "data": {
    "id": "665f1b2c9a1e4d0012ab3c30",
    "name": "Electronics"
  }
}

Authorizations

Authorization
string
header
required

Your secret key as a Bearer token. The key prefix selects the environment: sk_test_... (test) or sk_live_... (live).

Path Parameters

categoryId
string
required

The category's unique identifier.

Response

200 - application/json

Category fetched.

status
integer
Example:

200

message
string
Example:

"Category fetched successfully"

data
object