Skip to main content
POST
/
subscribers
/
{id}
/
change-pin
Change subscriber PIN
curl --request POST \
  --url https://olive-gateway-a6ba.onrender.com/api/v1/subscribers/{id}/change-pin \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "new_pin": "<string>",
  "old_pin": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'

Path Parameters

id
string
required

Subscriber ID

Body

application/json

PIN change details

new_pin
string
required
old_pin
string
required

Response

PIN changed successfully

The response is of type object.