Langsung ke konten
lolhumanapi.

Receipt Creator 2 API

Create receipt 2. Bagian dari API Pembuat Gambar, Sertifikat, dan Stiker Teks.

GETAktifGratis

Request

Contoh memakai apikey demo. Masuk untuk melihatnya dengan apikey kamu.

GET https://api.lolhuman.xyz/api/creator/receipt2?apikey=beta&logo=https://i.postimg.cc/CM34YRFb/photo-2021-02-05-10-13-39.jpg&name=LoL%20Human%20Store&background=https://i.postimg.cc/CM34YRFb/photo-2021-02-05-10-13-39.jpg&product=Tahu%20Bacem&reff_id=lolhuman-123&serial_number=askjdajsduasduasdjasd&destination=12345678&status=sukses&time=29%20Jan,%202023%2012:12:12&status_color=green

Parameter

NamaKeteranganContoh
apikeyApikey kamu, dari halaman dashboard atau profil.beta
logoLink gambar logo.https://i.postimg.cc/CM34YRFb/photo-2021-02-05-10-13-39.jpg
nameNama.LoL Human Store
backgroundLink gambar latar.https://i.postimg.cc/CM34YRFb/photo-2021-02-05-10-13-39.jpg
product-Tahu Bacem
reff_id-lolhuman-123
serial_number-askjdajsduasduasdjasd
destination-12345678
status-sukses
time-29 Jan, 2023 12:12:12
status_color-green

Contoh kode

curl "https://api.lolhuman.xyz/api/creator/receipt2?apikey=beta&logo=https://i.postimg.cc/CM34YRFb/photo-2021-02-05-10-13-39.jpg&name=LoL%20Human%20Store&background=https://i.postimg.cc/CM34YRFb/photo-2021-02-05-10-13-39.jpg&product=Tahu%20Bacem&reff_id=lolhuman-123&serial_number=askjdajsduasduasdjasd&destination=12345678&status=sukses&time=29%20Jan,%202023%2012:12:12&status_color=green"

Respons

Endpoint data mengembalikan JSON dengan format di bawah. Endpoint pembuat gambar mengembalikan file gambarnya langsung.

{
  "status": 200,
  "message": "success",
  "result": ...
}

Kemungkinan error

Dicek sebelum endpoint berjalan. Formatnya sama, dengan result berisi "error".

400Parameter apikey tidak dikirim.
apikey parameter cannot be empty.
404Apikey salah atau sudah diganti.
apikey <apikey> not found.
429Kuota harian habis. Kuota direset tengah malam WIB.
requests limit exceeded (10 req / day), ...
403IP pemanggil diblokir dari halaman profil.
your ip address get blocked by owner apikey (...)