Skip to main content
PUT
/
v1
/
escrow
/
category
/
position
/
{categoryId}
Update category position
curl --request PUT \
  --url https://staging.api.payluk.ng/v1/escrow/category/position/{categoryId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "newPosition": 2
}
'
{
  "status": 200,
  "message": "Category position updated successfully",
  "data": {
    "id": "665f1b2c9a1e4d0012ab3c30",
    "category_position": 2
  }
}

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.

Body

application/json
newPosition
integer
required
Example:

2

Response

200 - application/json

Position updated.

status
integer
Example:

200

message
string
Example:

"Category fetched successfully"

data
object