Skip to main content
POST
/
cards
/
link
Link parent card to subscriber
curl --request POST \
  --url https://olive-gateway-a6ba.onrender.com/api/v1/cards/link \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "card_serial": "OLIV0001",
  "pin": "1234",
  "subscriber_id": "subscriber-uuid"
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json

Link card details

card_serial
string
required

Supports any alphanumeric: CARD0001, 48290173K, etc.

Example:

"OLIV0001"

pin
string
required
Example:

"1234"

subscriber_id
string
required
Example:

"subscriber-uuid"

Response

Card linked successfully

The response is of type object.