Donasi QRIS ke kreator Saweria — bikin tagihan, dapat QR siap-scan, dan cek status pembayaran secara real-time. Anonim, tanpa login.
profilepassing, 0.3sdonatepassing, 0.6sstatuspassing, 0.2s/v1/finance:saweria/profile/:username5m cache1 paramchecking key…// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";
const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });
const data = await client.run("finance:saweria", "profile", {
"username": "zaadevofc"
});
console.log(data);curl -X GET "https://api.zpi.web.id/v1/finance:saweria/profile/zaadevofc" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"/v1/finance:saweria/profile/:usernameInfo kreator Saweria: nama, avatar, deskripsi, nominal cepat, dan sosial media.usernamestringrequiredin pathcurl -X GET "https://api.zpi.web.id/v1/finance:saweria/profile/zaadevofc" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"id": "0ed02b12-460e-4008-9dfc-501e320c986d",
"plus": true,
"avatar": "https://saweria-space.sgp1.cdn.digitaloceanspaces.com/prd/pp/0ed02b12-460e-4008-9dfc-501e320c986d-e2c0303a-2759-4b56-880a-8a5707e90c04.jpg",
"socials": {
"youtube": "zaadevofc",
"instagram": "zaadevofc"
},
"currency": "IDR",
"provider": "saweria",
"username": "zaadevofc",
"verified": false,
"profileUrl": "https://saweria.co/zaadevofc",
"description": "thanks for support my work ^^",
"hasWishlist": false,
"minDonation": 10000,
"quickAmounts": [
5000,
25000,
50000,
100000
]
}/v1/finance:saweria/donate/:usernameBikin tagihan donasi QRIS anonim ke kreator. Balikin QR string, gambar QR, link bayar, dan nominal yang harus dibayar.usernamestringrequiredin pathamountnumberrequiredin bodymessagestringoptionalin bodynamestringoptionalin bodyemailstringoptionalin bodycurl -X POST "https://api.zpi.web.id/v1/finance:saweria/donate/zaadevofc" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"to": "zaadevofc",
"from": "Anonim",
"note": "Bayar PERSIS Rp10.071 dengan scan `qrImage`/`qrString` pakai e-wallet atau m-banking. Cek status pakai endpoint `status` dengan `donationId`.",
"amount": 10000,
"payUrl": "https://saweria.co/qris/snap/7177f379-dec3-4c0f-bab8-b97a3a250fd5",
"status": "pending",
"message": "Semangat terus berkarya!",
"qrImage": "https://api.qrserver.com/v1/create-qr-code/?size=320x320&data=00020101021226650013CO.XENDIT.WWW01189360084800000000020215WNtXtb6qmr4ZJBw0303UME51370014ID.CO.QRIS.WWW0215ID20253781998505204509953033605405100715802ID5922PT%20Harta%20Tahta%20Sukaria6013JAKARTA%20PUSAT61051034062290525TpMmeM4kRGT7jRd8Vu6rAcYe863041DD1",
"currency": "IDR",
"provider": "saweria",
"qrString": "00020101021226650013CO.XENDIT.WWW01189360084800000000020215WNtXtb6qmr4ZJBw0303UME51370014ID.CO.QRIS.WWW0215ID20253781998505204509953033605405100715802ID5922PT Harta Tahta Sukaria6013JAKARTA PUSAT61051034062290525TpMmeM4kRGT7jRd8Vu6rAcYe863041DD1",
"createdAt": "Sun, 16 Aug 2026 08:28:04 GMT",
"donationId": "7177f379-dec3-4c0f-bab8-b97a3a250fd5",
"amountToPay": 10071,
"paymentType": "qris"
}/v1/finance:saweria/status/:donationIdCek apakah donasi QRIS sudah dibayar (paid/pending/expired). Poll pakai donationId dari endpoint donate.donationIdstringrequiredin pathcurl -X GET "https://api.zpi.web.id/v1/finance:saweria/status/00000000-0000-0000-0000-000000000000" \
-H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"{
"to": "zaadevofc",
"amount": 10071,
"isPaid": false,
"status": "pending",
"currency": "IDR",
"provider": "saweria",
"qrString": "00020101021226650013CO.XENDIT.WWW01189360084800000000020215WNtXtb6qmr4ZJBw0303UME51370014ID.CO.QRIS.WWW0215ID20253781998505204509953033605405100715802ID5922PT Harta Tahta Sukaria6013JAKARTA PUSAT61051034062290525P2Y5NROondzrK6Hwj5Jxlu92V6304D73C",
"createdAt": "Fri, 12 Jun 2026 03:27:59 GMT",
"donationId": "0dc802ff-19ac-4558-a3c8-9f7d88aa04d4",
"amountToPay": 10071
}