Refund timeline
GET
/v4/refunds/{id}/timeline
const url = 'https://console.orangepill.cloud/v4/refunds/example/timeline';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://console.orangepill.cloud/v4/refunds/example/timeline \ --header 'Authorization: Bearer <token>'Return a derived timeline of refund events.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Refund identifier
Responses
Section titled “Responses”Default Response
Media typeapplication/json
Array<object>
object
description
required
string
metadata
object
key
additional properties
timestamp
required
string
type
required
string
Example generated
[ { "description": "example", "metadata": { "additionalProperty": "example" }, "timestamp": "example", "type": "example" }]Default Response
Media typeapplication/json
object
error
required
Error message
string
message
string
Example generated
{ "error": "example", "message": "example"}Default Response