Member Authentication
Merchant
Credit
Promo Credit
Discount
User Discount
Email Template
Gateway
- POSTPayment Gateway Archive
- GETPayment Gateway
- POSTPayment Gateway
- POSTPayment Gateway Edit
- POSTPayment Gateway Country Config Edit
- POSTEdit Payment Gateway Sort
- GETGet Payment Gateway List
- POSTPayment Gateway Setup
- POSTExchange Rate Api Setup
- GETGet Payment Gateway Setup List
- POSTPayment Gateway Webhook Setup
- POSTWire Transfer Edit
- POSTWire Transfer Setup
- POSTSegment Setup
Invoice
- POSTAdmin Cancel Invoice
- POSTDelete Pending Invoice
- GETInvoice Detail
- POSTInvoice Detail
- POSTInvoice Edit
- POSTFinish Invoice
- GETGet Invoice List
- POSTGet Invoice List
- POSTMark Invoice Refund
- POSTMark Invoice Refund As Success
- POSTMark Wire Transfer Invoice As Success
- POSTNew Invoice
- POSTGenerate Invoice PDF
- POSTUpdate Invoice PDF
- POSTAdmin Reconvert Crypto Data and Send Invoice Email
- POSTCreate InvoiceRefund
- POSTSend Invoice Email
Admin Member
Metric
Metric Event
Payment
- POSTCancel Payment
- POSTCapture Payment
- GETPayment Detail
- GETGet OneTime Payment Item List
- GETGet Payment List
- POSTDelete Payment Method
- GETPayment Method
- GETPayment Method List
- POSTCreate New Payment Method
- POSTNew Payment
- POSTCancel Payment Refund
- GETPayment Refund Detail
- GETGet Payment Refund List
- POSTNew Payment Refund
- GETGet Payment TimeLine List
- POSTGet Payment TimeLine List
Plan
Product
Search
Session
Subscription Update
Subscription
- POSTAppend Subscription TrialEnd
- POSTCancel Subscription Immediately
- POSTCancel Subscription At Period End
- POSTCancel Last Cancel Subscription At Period End
- POSTChange Subscription Gateway
- POSTCreate Subscription Preview
- POSTCreate Subscription
- GETSubscription Detail
- POSTSubscription Detail
- GETGet Subscription List
- POSTGet Subscription List
- GETSubscription Next Invoice Preview
- GETUser Pending Crypto Subscription Detail
- POSTUser Pending Crypto Subscription Detail
- GETUser Subscription Detail
- POSTUser Subscription Detail
Subscription Note
Subscription Config
Subscription Payment
Subscription Timeline
User
- GETGet User Admin Note List
- POSTGet User Admin Note List
- POSTChange User Email
- POSTChange User Default Gateway
- POSTClear AutoCharge Method
- GETUser Count
- GETGet User Profile
- GETUser List
- POSTUser List
- POSTNew User
- POSTNew Admin Note
- POSTResume User
- GETUser Search
- POSTUser Search
- POSTSuspend User
- POSTUpdate User Profile
Vat Gateway
Get 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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Filter UserId, Default All
The filter start amount of timeline
The filter end amount of timeline
The filter status, 0-pending, 1-success, 2-failure,3-cancel
The filter timelineType, 0-pay, 1-refund
The filter ids of gateway
Currency
Sort,invoice_id|gmt_create|gmt_modify|period_end|total_amount,Default gmt_modify
Sort Type,asc|desc,Default desc
Page,Start 0
Count Of Page
CreateTimeStart
CreateTimeEnd
Response
Payment TimeLine Object List
create utc time
currency
ExternalTransactionId
0-no, 1-yes
gateway id
invoice id
merchant id
authorize status,0-waiting authorize,1-authorized,2-authorized_request
balance_amount
cancel time, utc time
country code
create time, utc time
currency,“SGD” “MYR” “PHP” “IDR” “THB”
external_payment_id
who pay the gas, merchant|user
the exchange amount of gateway
the exchange rate of gateway, set to 0 if using https://app.exchangerate-api.com/ instead of fixed exchange rate
the currency of gateway exchange from
the currency of gateway exchange to
gateway_id
gateway_payment_id
gateway_payment_type
invoice id
last error
merchant id
paid time, utc time
payment_amount
payment id
total refund amount
return url
status 10-pending,20-success,30-failure, 40-cancel
subscription id
total amount
user_id
PaymentId
country code
create utc time
currency
external_refund_id
the exchange amount of gateway
the exchange rate of gateway, set to 0 if using https://app.exchangerate-api.com/ instead of fixed exchange rate
the currency of gateway exchange from
the currency of gateway exchange to
gateway_id
gateway refund id
invoice id
merchant id
relative payment id
refund amount, cent
refund comment
refund comment
refund id (system generate)
refund success time
return url after refund success
status。10-pending,20-success,30-failure, 40-cancel
subscription id
1-gateway refund,2-mark refund
user_id
refund id
0-pending, 1-success, 2-failure,3-cancel
subscription id
0-pay, 1-refund
total amount
TransactionId
userId
Total
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>"
}