Skip to main content
POST
/
api
/
v1
/
internet
/
buy
Purchase internet bundle
curl --request POST \
  --url https://api.dancity.app/api/v1/internet/buy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "plan": "<string>",
  "accountid": "<string>",
  "phone": "080*******",
  "customerRef": "<string>"
}
'
{
  "success": true,
  "message": "Internet bundle purchase successful",
  "data": {
    "transactionId": "TXN-20260506-005",
    "status": "SUCCESS",
    "plan": "Spectranet 10GB"
  }
}

Authorizations

Authorization
string
header
required

Merchant API key from the Dancity dashboard.

Body

application/json
plan
string
required
accountid
string
required
phone
string
required
Example:

"080*******"

customerRef
string

Response

OK