01
bigo_idbigo_uid
GET
https://bigodiamond.com/v1/identity/bigo/{bigo_id}X-API-Key: YOUR_API_KEYAccept: application/json
curl --request GET \ https://bigodiamond.com/v1/identity/bigo/your_bigo_id \ --header "X-API-Key: YOUR_API_KEY" \ --header "Accept: application/json"
{
"status": "ok",
"data": {
"status": "success",
"source": "live",
"bigo_user": {
"bigo_id": "your_bigo_id",
"bigo_uid": "123456789",
"bigo_name": "BIGO user",
"bigo_avatar": "https://…/avatar.jpg",
"bigo_gender": "…",
"bigo_age": 0,
"bigo_register_time": "2021-01-01 00:00:00",
"bigo_follow_count": 0,
"bigo_fans_count": 0
}
}
}
02
POST
https://bigodiamond.com/v1/recharge/bigo/customX-API-Key: YOUR_API_KEYAccept: application/jsonContent-Type: application/json
bigo_idbigo_uiddiamondsprice_cents
curl --request POST \ https://bigodiamond.com/v1/recharge/bigo/custom \ --header "X-API-Key: YOUR_API_KEY" \ --header "Accept: application/json" \ --header "Content-Type: application/json" \ --data '{"bigo_id": "your_bigo_id", "bigo_uid": "123456789", "diamonds": 10, "price_cents": 20}'
03
https://bigodiamond.com/v1/orders/check04
order_idstatusbigo_idbigo_uiddiamondsprice_centscompleted_at
curl --request POST \ https://your-domain.example/webhook/bigo/callback \ --header "Content-Type: application/json" \ --header "Accept: application/json" \ --header "X-Callback-Code: YOUR_CALLBACK_SECRET" \ --data '{"order_id": "1000000000000000001", "status": "success", "bigo_id": "your_bigo_id", "bigo_uid": "123456789", "diamonds": 10, "price_cents": 20, "completed_at": "2026-01-01 00:00:00"}'
HTTP/1.1 200 OK
{ "status": "ok", "message": "Callback verified & received successfully" }