/api/v2/billing/activity Return billing transactions or account-credit activity.
Use kind=transaction for invoice payments and refunds; use kind=credit for account-credit movements.
Transaction method is a canonical machine enum (card, swish, bankgiro, sepa, accountCredit, alipay, paypal, invoice, other, or null).
Display text such as Card payment is carried separately in methodLabel; card-backed hosted checkout and wallet flows are normalized to method: card.
Entry amount values are in major units of the entry's currencyCode.
read:billing
Authenticate with an API key in the Authorization: Bearer <token> header.
kind string · default: transaction · enum transaction lists payment/refund rows. credit lists account-credit ledger rows.
transaction credit page integer · min: 0 · default: 0 Zero-based transaction activity page. Used only for kind=transaction.
Authorization Bearer <token> Accept application/json kind string · enum required
· Example: transaction transaction entries array<object> required entries[].id string required
· Example: txn_01hxa3b4c5d6e7f8g9h0j1k2m3 entries[].description string · nullable required
· Example: Payment for invoice 202664056 Nullable: may be null when not applicable.
entries[].method string · nullable · enum required
· Example: card Canonical payment method enum. Card-backed hosted checkout and wallet flows are all card.
card accountCredit swish bankgiro sepa alipay crypto paypal invoice other entries[].methodLabel string · nullable required
· Example: Card payment Human-readable display label. Use this for UI text instead of branching on upstream gateway names.
entries[].amount number required
· Example: 98.75 Signed amount in major currency units. Payments into the account are positive; outgoing/refund rows may be negative.
entries[].currencyCode string required
· Example: SEK entries[].createdAt string · nullable required
· Example: 2026-04-28T09:47:47.000Z Nullable: may be null when not applicable.
entries[].invoiceId string · nullable required
· Example: inv_01hxa3b4c5d6e7f8g9h0j1k2m3 Nullable: may be null when not applicable.
entries[].invoiceNumber string · nullable required
· Example: 202664056 Nullable: may be null when not applicable.
hasMore boolean required
· Example: false kind string · enum required
· Example: credit credit entries array<object> required entries[].id string required
· Example: credit_01hxa3b4c5d6e7f8g9h0j1k2m3 entries[].description string · nullable required
· Example: Credit applied Nullable: may be null when not applicable.
entries[].amount number required
· Example: -25.5 Signed credit movement in major currency units.
entries[].balanceAfter number
· Example: 74.5 entries[].currencyCode string required
· Example: SEK entries[].createdAt string · nullable required
· Example: 2026-04-18T11:00:00.000Z Nullable: may be null when not applicable.
entries[].invoiceId string
· Example: inv_01hxa3b4c5d6e7f8g9h0j1k2m3 entries[].invoiceNumber string · nullable
· Example: 202600002 Nullable: may be null when not applicable.
hasMore boolean required
· Example: false kind query parameter. 10 fields type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object Retry-After seconds plus X-RateLimit-* headers. 10 fields type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object type string
· Example: https://developer.hostup.se/errors/invalid_request title string
· Example: Validation failed status integer
· Example: 400 detail string
· Example: The request body failed validation. code string
· Example: invalid_request Stable machine-readable code. Branch on this field, not on detail.
instance string
· Example: /api/v2/orders requestId string
· Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3 timestamp string
· Example: 2026-04-27T12:34:56.000Z errors array<object> Field-level validation errors when code is invalid_request.
errors[].pointer string required
· Example: /items/0/eppCode errors[].detail string required
· Example: `eppCode` is required for this transfer. errors[].code string required
· Example: missing_required extensions object https://cloud.hostup.se/api/v2/billing/activity curl -X GET "https://cloud.hostup.se/api/v2/billing/activity" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Accept: application/json" // Invoice payment transaction
{
"kind": "transaction",
"entries": [
{
"id": "txn_06ex6zs4w83tanyv1e5bnn2j4c",
"description": "Payment for invoice 202664056",
"method": "card",
"methodLabel": "Card payment",
"amount": 98.75,
"currencyCode": "EUR",
"createdAt": "2026-04-28T09:47:47.000Z",
"invoiceId": "inv_06ex6yz35kn5w7dgzpzg4f4v3g",
"invoiceNumber": "202664056"
}
],
"hasMore": false
}
// Account-credit movement
{
"kind": "credit",
"entries": [],
"hasMore": false
}