List events and their delivery
Newest first. delivery is the delivery to your current endpoint, or null when none was made.
apiKeyheader
AuthorizationBearer <token>lbp_test_... or lbp_live_...
type?stringdelivery_status?stringValue in
"pending""delivered""failed"payment_id?stringOnly this payment's events, including its refunds' events.
limit?integerRange
1 <= value <= 100Default
20starting_after?stringA page of events
application/json- response
object?"list"Value in
"list"data?array<>has_more?booleancurl -X GET 'https://pay.piti.id/v1/events'Contoh respons
{ "object": "list", "data": [ { "id": "string", "object": "event", "type": "payment.paid", "mode": "test", "app_id": "string", "created_at": "2019-08-24T14:15:22Z", "data": {}, "delivery": { "status": "pending", "attempts": 0, "last_status_code": 0, "last_error": "string", "delivered_at": "2019-08-24T14:15:22Z", "next_attempt_at": "2019-08-24T14:15:22Z" } } ], "has_more": true}