POST
Deposit / Buat QRIS
Membuat kode QRIS dinamis untuk pembayaran deposit instant pelanggan.
/v1/deposit/qr
Parameter Request
| Field | Tipe | Wajib | Keterangan |
|---|---|---|---|
| order_id | String | Ya | ID order unik dari sistem merchant (cth: DEP-8821) |
| amount | Integer | Ya | Nominal deposit dalam Rupiah (min: 10000) |
| customer_name | String | Ya | Nama lengkap pelanggan |
| customer_email | String | Opsional | Email untuk pengiriman resi pembayaran |
| expires_in | Integer | Opsional | Durasi kedaluwarsa QR dalam detik (default: 900 / 15 menit) |
curl -X POST https://api.rebondspay.com/v1/deposit/qr \
-H "Authorization: Bearer rpay_live_secret_998311" \
-H "Content-Type: application/json" \
-d '{
"order_id": "DEP-882190",
"amount": 100000,
"customer_name": "Budi Santoso",
"customer_email": "budi@example.com",
"expires_in": 900
}'Response Preview
HTTP 200 OK{
"status_code": 200,
"status_message": "QRIS successfully generated",
"transaction_id": "REB-TX-998124",
"order_id": "DEP-882190",
"amount": 100000,
"admin_fee": 500,
"total_amount": 100500,
"qr_string": "00020101021226670016ID.CO.QRIS.WWW0118936009143000000001...",
"qr_image_url": "https://api.rebondspay.com/v1/qr/image/REB-TX-998124.png",
"status": "pending",
"expires_at": "2026-08-17T19:15:00Z"
}Respon JSON real-time dari server Rebonds Pay API v1.