GET
https://api.fps.pro/invoices/history
Format requestpathParam
pagenumber | Nomor halaman Default: 1 |
Format responsdata object
iduuid | ID invoice |
statusstring | Status pembayaran (lihat Status pembayaran) |
created_atstring (ISO 8601 (RFC 3339), UTC) | Tanggal pembuatan pembayaran |
Contoh permintaan
curl --request GET 'https://api.fps.pro/invoices/history?page=1' \ --header 'X-Client-Id: YOUR_CLIENT_ID' \ --header 'X-Timestamp: 1720000000' \ --header 'X-Signature: YOUR_HMAC_SHA256_SIGNATURE'
Respons berhasil
{
"status": 200,
"message": "success",
"data": [
{
"id": "0a718b02-138d-495a-9661-39ca52139c07",
"status": "paid",
"created_at": "2026-01-05T13:30:43.000Z"
}
],
"meta": {
"total": 1,
"page": 1,
"per_page": 20,
"last_page": 1
}
}Error
Daftar detail error otorisasi ada di Otorisasi - Error
{
"status": 422,
"message": "Validation Error",
"errors": [
{
"field": "invoice",
"message": "The invoice must be UUID."
}
]
}{
"status": 500,
"message": "Internal Server Error"
}