Skip to main content
GET
/
v1
/
billing-accounts
/
{id}
/
transactions
List billing account transactions
curl --request GET \
  --url https://rest.compute.cudo.org/v1/billing-accounts/{id}/transactions \
  --header 'Authorization: <api-key>'
{
  "hasMore": true,
  "transactions": [
    {
      "amount": {
        "value": "<string>"
      },
      "createTime": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "id": "<string>",
      "lastPaymentError": {
        "code": "<string>",
        "declineCode": "<string>"
      },
      "latestCharge": {
        "amount": {
          "value": "<string>"
        },
        "createTime": "2023-11-07T05:31:56Z",
        "failureCode": "<string>",
        "paid": true,
        "refunded": true,
        "status": "<string>"
      },
      "status": "<string>",
      "succeeded": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

id
string
required

Query Parameters

pageSize
integer
startingAfter
string

Response

A successful response.

hasMore
boolean
required
transactions
object[]
required