GET
/
merchant
/
payment
/
timeline
/
list
curl --request GET \
  --url https://api.unibee.top/merchant/payment/timeline/list \
  --header 'Authorization: Bearer <token>'
{
  "code": 123,
  "data": {
    "paymentTimeLines": [
      {
        "autoCharge": true,
        "createTime": 123,
        "currency": "<string>",
        "externalTransactionId": "<string>",
        "fullRefund": 123,
        "gatewayId": 123,
        "id": 123,
        "invoiceId": "<string>",
        "merchantId": 123,
        "payment": {
          "authorizeComment": "<string>",
          "authorizeReason": "<string>",
          "authorizeStatus": 123,
          "autoCharge": true,
          "automatic": 123,
          "balanceAmount": 123,
          "billingReason": "<string>",
          "cancelTime": 123,
          "countryCode": "<string>",
          "createTime": 123,
          "currency": "<string>",
          "externalPaymentId": "<string>",
          "failureReason": "<string>",
          "gasPayer": "<string>",
          "gatewayCurrencyExchange": {
            "exchange_amount": 123,
            "exchange_rate": 123,
            "from_currency": "<string>",
            "to_currency": "<string>"
          },
          "gatewayId": 123,
          "gatewayPaymentId": "<string>",
          "gatewayPaymentType": "<string>",
          "invoiceId": "<string>",
          "lastError": "<string>",
          "link": "<string>",
          "merchantId": 123,
          "metadata": {},
          "paidTime": 123,
          "paymentAmount": 123,
          "paymentId": "<string>",
          "refundAmount": 123,
          "returnUrl": "<string>",
          "status": 123,
          "subscriptionId": "<string>",
          "totalAmount": 123,
          "userId": 123
        },
        "paymentId": "<string>",
        "refund": {
          "countryCode": "<string>",
          "createTime": 123,
          "currency": "<string>",
          "externalRefundId": "<string>",
          "gatewayCurrencyExchange": {
            "exchange_amount": 123,
            "exchange_rate": 123,
            "from_currency": "<string>",
            "to_currency": "<string>"
          },
          "gatewayId": 123,
          "gatewayRefundId": "<string>",
          "invoiceId": "<string>",
          "merchantId": 123,
          "metadata": {},
          "paymentId": "<string>",
          "refundAmount": 123,
          "refundComment": "<string>",
          "refundCommentExplain": "<string>",
          "refundId": "<string>",
          "refundTime": 123,
          "returnUrl": "<string>",
          "status": 123,
          "subscriptionId": "<string>",
          "type": 123,
          "userId": 123
        },
        "refundId": "<string>",
        "status": 123,
        "subscriptionId": "<string>",
        "timelineType": 123,
        "totalAmount": 123,
        "transactionId": "<string>",
        "userId": 123
      }
    ],
    "total": 123
  },
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

userId
integer

Filter UserId, Default All

amountStart
integer

The filter start amount of timeline

amountEnd
integer

The filter end amount of timeline

status
integer[]

The filter status, 0-pending, 1-success, 2-failure,3-cancel

timelineTypes
integer[]

The filter timelineType, 0-pay, 1-refund

gatewayIds
integer[]

The filter ids of gateway

currency
string

Currency

sortField
string

Sort,invoice_id|gmt_create|gmt_modify|period_end|total_amount,Default gmt_modify

sortType
string

Sort Type,asc|desc,Default desc

page
integer

Page,Start 0

count
integer

Count Of Page

createTimeStart
integer

CreateTimeStart

createTimeEnd
integer

CreateTimeEnd

Response

200 - application/json
code
integer
data
object
message
string
redirect
string
requestId
string