Skip to main content
Version: 202201

Transaction List

GET 

/openapi/2022-01/orders/:id/transactions

Retrieve all transactions attached to the specified order, including status, payment channel, amount, and gateway response details.

Request​

Path Parameters

    id stringrequired

    Order's ID

Query Parameters

    status string

    Transaction status, authorized, void, processing, success, error, refunding, refunded, refund_failed,expire

    payment_channel string

    Payment channel

Responses​

200

Schema
    transactions object[]
  • Array [
  • idstring
    Example: 2150768865
    order_idstring
    Example: 633130-00000007
    payment_channelstring
    Example: bogus
    messagestring
    Example:
    created_atstring
    Example: 2024-04-19 09:54:03
    testboolean
    Default value: true
    Example: true
    error_codestring
    Example:
    amountstring
    Example: 109.9000
    currencystring
    Example: CNY
    trade_idstring
    Example: test_633130-00000007
    statusstring
    Example: success
    payment_details object
    card_numberstring
    Example: 420000******0000
    card_monthstring
    Example: 01
    card_yearstring
    Example: 27
    card_first_namestring
    Example: ryan
    card_last_namestring
    Example: zhang
    card_first_fixstring
    Example: 420000
    card_last_fourstring
    Example: 0000
    avs_result_codestring
    Example:
    cvv_result_codestring
    Example:
    payment_namestring
    Example:
  • ]
  • countinteger
    Default value: 0
    Example: 1
    since_idstring
    Example: 2150768865