Skip to main content
POST
/
purchaseData
curl --location 'https://api.bleeprs.com/api/purchaseData' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '[
  {
    "phoneNumber": "08107176819",
    "productCode": "LV_MTN_XTRADATA_3DAYS_200_200"
  }
]'
{
  "gatewayStatus": "<string>",
  "gatewayMessage": "<string>",
  "requestReference": "<string>",
  "data": "<string>"
}

Overview

Purchase a data bundle for any Nigerian phone number using a specific product code. The data will be credited instantly to the recipient’s phone.

Request

curl --location 'https://api.bleeprs.com/api/purchaseData' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '[
  {
    "phoneNumber": "08107176819",
    "productCode": "LV_MTN_XTRADATA_3DAYS_200_200"
  }
]'

Request Body

Response

gatewayStatus
string
Status code indicating success (“00”) or error
gatewayMessage
string
Human-readable status message
requestReference
string
Unique reference ID for tracking this transaction
data
string
Status message about the data purchase

Example Response

{
  "gatewayStatus": "00",
  "gatewayMessage": "Sucessfully Processed",
  "requestReference": "KpEAFZutv3SvQ4aMjrv7",
  "data": "Data purchased processing"
}

How to Use

  1. Get Available Plans: First, call the List Data Plans endpoint to see available data plans for a specific network
  2. Select Product Code: Choose the desired data plan and note its ProductCode
  3. Purchase Data: Use the ProductCode in this endpoint to purchase the data bundle

Example Product Codes

  • LV_MTN_XTRADATA_3DAYS_200_200 - MTN 200MB for 3 days
  • LV_GLOBACOM_DATA_14DAYS_1800MB_500 - Glo 1.8GB for 14 days
  • LV_AIRTEL_DATA_1DAY_1GB_300 - Airtel 1GB for 1 day

Notes

  • Data is credited instantly to the recipient’s phone
  • Phone numbers should be in Nigerian format (e.g., 08107176819)
  • Product codes are case-sensitive
  • Transaction processing may take a few seconds
  • Ensure the phone number is on the correct network for the data plan