Transactions

Available for user tokens and project keys

Transactions

GET https://api.suble.io/projects/:projectId/transactions

Retrieve list of all transactions sorted by newest

Path Parameters

NameTypeDescription

projectId

string

Unique id for the project

Headers

NameTypeDescription

Authorization

string

User token or project key

{
    "_id: ObjectId,
    "project: ObjectId,
    "user: ObjectId,
    "userName: String, // Full name of user that created the transaction
    "status: String, // Enum ("pending" / "error" / "success")
    "orderid: String,
    "amount: Number,
    "date: Number, // Unix timestamp
    "identifier: String,
    "url: String
}

Last updated