API

Retrieve a subtransaction

Retrieves information about an existing subtransaction. Check-in devices cannot use field selection or expansion.

GET/v1/hq/subtransactions/{subtransaction_id}
AuthorizationBearer <token>

Bearer token issued to a paired device; an operation's scopes list the device types allowed to call it, such as checkin.

In: header

Scope: checkin

Path Parameters

subtransaction_id*string

Subtransaction ID

Query Parameters

select?array<string>
expand?array<string>

Response Body

application/json

curl -X GET "https://api.noona.is/v1/hq/subtransactions/string"
{
  "id": "8wa9uiah28dawd123",
  "amount": 2990,
  "currency": "ISK",
  "state": "pending",
  "failure_state": "declined",
  "origin": "checkin",
  "payment_method_id": "31aadiah28usli390",
  "payment_method_instance_id": "8nH4ahiOWX0ueoyphoWomeuu",
  "data": {
    "type": "terminal",
    "terminal_id": "9d8aj2oi2audawo"
  },
  "transaction_id": "8wa9uiah28dawd123",
  "note": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}
Empty
Empty
Empty
Empty
Empty