Skip to main content
POST
/
api
/
external
/
v1
/
education-pin
/
purchase
Purchase education pin
curl --request POST \
  --url https://api.dancity.app/api/external/v1/education-pin/purchase \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'channel: <channel>' \
  --data '
{
  "quantity": 123,
  "product": "<string>",
  "pin": "<string>",
  "customerRef": "<string>",
  "promocode": "<string>",
  "deviceKey": "<string>"
}
'

Authorizations

Authorization
string
header
required

Merchant API key from the Dancity dashboard.

Headers

channel
string
required

Body

application/json
quantity
number
required
product
string
required
pin
string
required
customerRef
string
promocode
string
deviceKey
string

Response

200

OK