Account data

Read your company's transactions, settlements and stores. Every list is { "data": [...], "page", "size", "total" }.

List Transactions

GET/v1/transactions

Lists the transactions of the company the key belongs to, newest first. The period defaults to the last 30 days; from and to are RFC 3339 timestamps. A filter that cannot be read (for example a date that is not RFC 3339) is answered with 400 and says which one.

https://api-stage.st-payup.com Stage, for development and testing
https://api.st-payup.com Production, for live transactions (available once your company is approved)

Parameters

NameInTypeDescription
fromquerystring (date-time)Start of the period (RFC 3339). Default is 30 days ago.
Example: 2026-10-01T00:00:00Z
toquerystring (date-time)End of the period (RFC 3339). Default is now.
Example: 2026-10-31T23:59:59Z
pagequeryinteger
Example: 1
sizequeryintegerRows per page (at most 1000).
Example: 20
statusquerystringComma-separated statuses, for example paid,declined.
currencyquerystringComma-separated ISO 4217 codes.
Example: USD
paymentMethodquerystring
cardSchemequerystring
cardMaskquerystring
merchantReferencequerystringYour own order reference.
transactionIdquerystring
payerEmailquerystring
amountFromquerynumber
amountToquerynumber

Responses

200 A page of transactions.
NameTypeDescription
dataobject[]
data[].idstring (uuid)
data[].createdAtstring (date-time)
data[].authedAtstring (date-time)
data[].confirmedAtstring (date-time)
data[].processedAtstring (date-time)
data[].amountnumber (float)
Example: 49.9
data[].currencystring
Example: USD
data[].paymentMethodstring
Example: card
data[].transactionTypestring
Example: sale
data[].statusstring
Example: paid
data[].descriptionstring
data[].cardSchemestring
Example: visa
data[].cardMaskstring
Example: 424242******4242
data[].merchantReferencestringYour own order reference.
data[].terminalIdstring (uuid)
data[].payerNamestring
data[].payerEmailstring
data[].isOnlyFullRefundboolean
pageinteger
Example: 1
sizeintegerThe page size you asked for, or the number of rows when you did not ask.
Example: 20
totalintegerHow many rows match in all, across pages.
Example: 91
{
  "data": [
    {
      "id": "string",
      "createdAt": "string",
      "authedAt": "string",
      "confirmedAt": "string",
      "processedAt": "string",
      "amount": 49.9,
      "currency": "USD",
      "paymentMethod": "card",
      "transactionType": "sale",
      "status": "paid",
      "description": "string",
      "cardScheme": "visa",
      "cardMask": "424242******4242",
      "merchantReference": "string",
      "terminalId": "string",
      "payerName": "string",
      "payerEmail": "string",
      "isOnlyFullRefund": true
    }
  ],
  "page": 1,
  "size": 20,
  "total": 91
}
400 A filter could not be read.
NameTypeDescription
messagestring
Example: An error occurred while processing your request.
codeinteger
Example: 1012
401 Missing or invalid API key.
NameTypeDescription
messagestring
Example: An error occurred while processing your request.
codeinteger
Example: 1012

Retrieve Transaction

GET/v1/transactions/{transactionId}

One transaction with its stages (created, authorized, confirmed, processed).

https://api-stage.st-payup.com Stage, for development and testing
https://api.st-payup.com Production, for live transactions (available once your company is approved)

Parameters

NameInTypeDescription
transactionId requiredpathstring (uuid)

Responses

200 The transaction.
NameTypeDescription
idstring (uuid)
createdAtstring (date-time)
authedAtstring (date-time)
confirmedAtstring (date-time)
processedAtstring (date-time)
amountnumber (float)
Example: 49.9
currencystring
Example: USD
paymentMethodstring
Example: card
transactionTypestring
Example: sale
statusstring
Example: paid
descriptionstring
cardSchemestring
Example: visa
cardMaskstring
Example: 424242******4242
merchantReferencestringYour own order reference.
terminalIdstring (uuid)
payerNamestring
payerEmailstring
isOnlyFullRefundboolean
{
  "id": "string",
  "createdAt": "string",
  "authedAt": "string",
  "confirmedAt": "string",
  "processedAt": "string",
  "amount": 49.9,
  "currency": "USD",
  "paymentMethod": "card",
  "transactionType": "sale",
  "status": "paid",
  "description": "string",
  "cardScheme": "visa",
  "cardMask": "424242******4242",
  "merchantReference": "string",
  "terminalId": "string",
  "payerName": "string",
  "payerEmail": "string",
  "isOnlyFullRefund": true
}
401 Missing or invalid API key.
NameTypeDescription
messagestring
Example: An error occurred while processing your request.
codeinteger
Example: 1012
404 No such transaction for your company.
NameTypeDescription
messagestring
Example: An error occurred while processing your request.
codeinteger
Example: 1012

List Settlements

GET/v1/settlements

The payouts calculated for your company: gross amount, fee and net amount per period. A settlement moves pending, processing, completed (or cancelled).

https://api-stage.st-payup.com Stage, for development and testing
https://api.st-payup.com Production, for live transactions (available once your company is approved)

Parameters

NameInTypeDescription
pagequeryinteger
Example: 1
sizequeryinteger
Example: 20
statusquerystring
One of: pending, processing, completed, cancelled.
currencyquerystring
Example: USD

Responses

200 A page of settlements.
NameTypeDescription
dataobject[]
data[].idstring (uuid)
data[].merchant_idstring (uuid)
data[].store_idstring (uuid)
data[].currencystring
Example: USD
data[].gross_amountnumber (float)
data[].fee_amountnumber (float)
data[].net_amountnumber (float)
data[].tx_countinteger
data[].statusstring
One of: pending, processing, completed, cancelled.
data[].typestring
One of: daily, weekly, monthly, manual.
data[].period_startstring (date-time)
data[].period_endstring (date-time)
data[].processed_atstring (date-time)
data[].notesstring
data[].created_atstring (date-time)
data[].updated_atstring (date-time)
pageinteger
Example: 1
sizeintegerThe page size you asked for, or the number of rows when you did not ask.
Example: 20
totalintegerHow many rows match in all, across pages.
Example: 91
{
  "data": [
    {
      "id": "string",
      "merchant_id": "string",
      "store_id": "string",
      "currency": "USD",
      "gross_amount": 0,
      "fee_amount": 0,
      "net_amount": 0,
      "tx_count": 0,
      "status": "string",
      "type": "string",
      "period_start": "string",
      "period_end": "string",
      "processed_at": "string",
      "notes": "string",
      "created_at": "string",
      "updated_at": "string"
    }
  ],
  "page": 1,
  "size": 20,
  "total": 91
}
401 Missing or invalid API key.
NameTypeDescription
messagestring
Example: An error occurred while processing your request.
codeinteger
Example: 1012

Retrieve Settlement

GET/v1/settlements/{settlementId}

One settlement.

https://api-stage.st-payup.com Stage, for development and testing
https://api.st-payup.com Production, for live transactions (available once your company is approved)

Parameters

NameInTypeDescription
settlementId requiredpathstring (uuid)

Responses

200 The settlement.
NameTypeDescription
idstring (uuid)
merchant_idstring (uuid)
store_idstring (uuid)
currencystring
Example: USD
gross_amountnumber (float)
fee_amountnumber (float)
net_amountnumber (float)
tx_countinteger
statusstring
One of: pending, processing, completed, cancelled.
typestring
One of: daily, weekly, monthly, manual.
period_startstring (date-time)
period_endstring (date-time)
processed_atstring (date-time)
notesstring
created_atstring (date-time)
updated_atstring (date-time)
{
  "id": "string",
  "merchant_id": "string",
  "store_id": "string",
  "currency": "USD",
  "gross_amount": 0,
  "fee_amount": 0,
  "net_amount": 0,
  "tx_count": 0,
  "status": "string",
  "type": "string",
  "period_start": "string",
  "period_end": "string",
  "processed_at": "string",
  "notes": "string",
  "created_at": "string",
  "updated_at": "string"
}
401 Missing or invalid API key.
NameTypeDescription
messagestring
Example: An error occurred while processing your request.
codeinteger
Example: 1012
404 No such settlement for your company.
NameTypeDescription
messagestring
Example: An error occurred while processing your request.
codeinteger
Example: 1012

List Stores

GET/v1/stores

The store the key belongs to, with its terminals. A payment link is issued on a terminal, so the terminalIds are what you pass as terminalId when you create one.

https://api-stage.st-payup.com Stage, for development and testing
https://api.st-payup.com Production, for live transactions (available once your company is approved)

Responses

200 The stores (the key's own store).
NameTypeDescription
dataobject[]
data[].idstring (uuid)
data[].namestring
data[].isActiveboolean
data[].terminalIdsstring[]
pageinteger
Example: 1
sizeintegerThe page size you asked for, or the number of rows when you did not ask.
Example: 20
totalintegerHow many rows match in all, across pages.
Example: 91
{
  "data": [
    {
      "id": "string",
      "name": "string",
      "isActive": true,
      "terminalIds": [
        "string"
      ]
    }
  ],
  "page": 1,
  "size": 20,
  "total": 91
}
401 Missing or invalid API key.
NameTypeDescription
messagestring
Example: An error occurred while processing your request.
codeinteger
Example: 1012