Core API Documentation
Transaction
A transaction is a payment or a refund recorded against one of the business's invoices. Transactions in every state are returned, including payments that are still in checkout and payments that failed. Requires permission to view client transactions.
Desk Only
GET /api/v2/desk/transactions
Returns a paginated list of the business's payments and refunds. See
Pagination for the
REQUEST
$ curl "https://mybiz.pike13.com/api/v2/desk/transactions?updated_since=2026-09-01T00:00:00Z&include_invoice=true&per_page=2" \
-H "Authorization: Bearer XXXXXXXXXXXXXXX"
RESPONSE
{
"transactions": [
{
"id": 749,
"invoice_id": 600,
"currency_code": "USD",
"amount_cents": 11200,
"amount": "112.00",
"error_message": null,
"description": "Stored Visa 1111, 1/29",
"payment_type_id": 3,
"type": "Payment",
"settled": true,
"state": "completed",
"uuid": "475bafff-189a-4c3c-ba14-a8ed9d593a32",
"autobill": false,
"external_transaction_id": "10392847561",
"payment_type": "creditcard",
"voided_at": null,
"created_at": "2026-09-02T18:29:58Z",
"updated_at": "2026-09-03T04:12:10Z",
"invoice": {
"id": 600,
"total_cents": 11200,
"total": "112.00",
"state_events": [
"reopen"
],
"send_receipt": true,
"receipt_email": "john.doe@example.com",
"currency": "USD",
"state": "closed"
}
},
{
"id": 812,
"invoice_id": 600,
"currency_code": "USD",
"amount_cents": 2500,
"amount": "25.00",
"error_message": null,
"description": "Stored Visa 1111, 1/29",
"payment_type_id": 3,
"type": "Refund",
"settled": false,
"state": "completed",
"uuid": "9c1e2f6a-7d4b-4e8a-b0c3-5f2a1d9e8b7c",
"autobill": false,
"payment_id": 749,
"external_transaction_id": "10392911204",
"payment_type": "creditcard",
"voided_at": null,
"created_at": "2026-09-10T16:05:41Z",
"updated_at": "2026-09-10T16:05:43Z",
"invoice": {
"id": 600,
"total_cents": 11200,
"total": "112.00",
"state_events": [
"reopen"
],
"send_receipt": true,
"receipt_email": "john.doe@example.com",
"currency": "USD",
"state": "closed"
}
}
],
"total_count": 56,
"next": "https://mybiz.pike13.com/api/v2/desk/transactions?page=2&per_page=2"
}
Parameters
| created_since | timestamp | Filter to transactions created after the given timestamp. |
|---|---|---|
| created_before | timestamp | Filter to transactions created before the given timestamp. |
| updated_since | timestamp | Filter to transactions updated after the given timestamp. |
| updated_before | timestamp | Filter to transactions updated before the given timestamp. |
| ids | comma delimited string | Filter to the given transaction ids. |
| include_invoice | boolean | Include a summary of each transaction's invoice. |
| sort | string | Sort results by the given attributes and directions. Attributes can be |
Attributes
| id | integer | The id of the transaction. |
|---|---|---|
| type | string | Either |
| invoice_id | integer | The id of the invoice the transaction belongs to. |
| payment_id | integer | Refunds only. The id of the payment that was refunded. |
| currency_code | string | The currency of the transaction, i.e. 'USD'. |
| amount_cents | integer | The amount of the transaction in cents. Refund amounts are positive. |
| amount | string | The amount of the transaction in localized currency. |
| payment_type | string | The payment type key, such as |
| payment_type_id | integer | The id of the payment type. |
| description | string | A description of how the transaction was paid, such as the stored card used or the check number. |
| state | string | Payments are |
| error_message | string | The processor's error message for a failed transaction. |
| settled | boolean | True once the payment processor reports the funds as settled. Not every payment type reports settlement. |
| autobill | boolean | True if the payment was charged automatically by recurring billing. |
| voided_at | timestamp | When the transaction was voided, or null. |
| external_transaction_id | string | The payment processor's transaction id, the check number for a check payment, or the reference entered for an external payment. |
| uuid | string | A unique identifier for the transaction. |
| created_at | timestamp | When the transaction was created. |
| updated_at | timestamp | When the transaction was last updated. |
| invoice | object | Only when |