POST
/
merchant
/
payment
/
timeline
/
list
curl --request POST \
  --url https://api.unibee.top/merchant/payment/timeline/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amountEnd": 123,
  "amountStart": 123,
  "count": 123,
  "createTimeEnd": 123,
  "createTimeStart": 123,
  "currency": "<string>",
  "gatewayIds": [
    123
  ],
  "page": 123,
  "sortField": "<string>",
  "sortType": "<string>",
  "status": [
    123
  ],
  "timelineTypes": [
    123
  ],
  "userId": 123
}'
{
  "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.

Body

application/json
amountEnd
integer

The filter end amount of timeline

amountStart
integer

The filter start amount of timeline

count
integer

Count Of Page

createTimeEnd
integer

CreateTimeEnd

createTimeStart
integer

CreateTimeStart

currency
string

Currency

gatewayIds
integer[]

The filter ids of gateway

page
integer

Page,Start 0

sortField
string

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

sortType
string

Sort Type,asc|desc,Default desc

status
integer[]

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

timelineTypes
integer[]

The filter timelineType, 0-pay, 1-refund

userId
integer

Filter UserId, Default All

Response

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