CartirraAPI
Get API keys

Retrieve a balance transaction

gethttps://api.cartirra.com/v1/balance/transactions/{id}

One movement with its fees, provider, settlement date and activity.

Authentication
Secret key (Authorization: Bearer sk_…). How keys work
Permission
balance:read

Path parameters

  • idstringrequired

Responses

200OKTransactionDetailResponse
  • idstringrequired

    pay_ (order payment), po_ (withdrawal), rf_ (refund) or dep_ (deposit)

    Example pay_0193a1b2c3d47e5f8a9b0c1d2e3f4a5b

  • typestringrequired

    One of order_payment, withdrawal, refund, deposit, billing

  • referencestringrequired

    WAL- for withdrawals and deposits, RFD- for refunds, the order's ORD- for payments

    Example WAL-20261024-001

  • order_referencestringnullablerequired
  • order_idstringnullablerequired
  • descriptionstringrequired

    Example Order payment

  • statusstringrequired

    Order payments stay pending until they settle at Lagos midnight

    One of pending, successful, failed, expired

  • directionstringrequired

    One of credit, debit

  • amountMoneyResponserequired

    What moved in the balance: credits net of fees, debits including them

  • created_atstringrequired
  • gross_amountMoneyResponserequired
  • feeMoneyResponserequired
  • providerstringnullablerequired
  • methodstringrequired

    Example bank_transfer

  • settlement_datestringnullablerequired

    Order payments: when the money becomes available

  • completed_atstring (date-time)nullablerequired
  • failure_reasonstringnullablerequired
  • bankTransactionBankResponsenullablerequired

    Withdrawals

  • activityarray of TransactionActivityResponserequired

    Newest first

Errors

Every error has the same body: { "error": { "code", "message", "details"?, "request_id" } }. See Errors for every code.

  • 400The request is malformed or a field is invalid (`VALIDATION_FAILED`).
  • 401Missing, malformed, revoked or expired API key (`UNAUTHENTICATED`), or a key this route does not accept, such as a public key (`CREDENTIAL_NOT_ACCEPTED`).
  • 403The key may not do this (`PERMISSION_DENIED`, `LIVE_MODE_NOT_ENABLED`, `PLAN_LIMIT_REACHED`, …).
  • 404No such resource in this business and mode (`NOT_FOUND`).
  • 429Too many requests for this key (`RATE_LIMITED`); wait for `Retry-After` seconds.
  • 500Something went wrong on our side (`INTERNAL`). Safe to retry with the same `Idempotency-Key`.