跳到主要内容
版本:202201

创建Transaction

POST 

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

Creates a transaction for an order.

请求

Path参数

    id string必填

    Order's ID

请求体

    transaction object
    object

响应

200

数据结构
    transaction object
    idstring
    示例: 123
    order_idstring
    示例: 7182105848352794526
    payment_channelstring
    示例: bogus
    messagestring
    示例:
    created_atstring
    示例: 2023-02-24 09:03:41
    testboolean
    默认值: true
    示例: true
    error_codestring
    示例:
    amountstring
    示例: 110.0000
    currencystring
    示例: USD
    trade_idstring
    示例: test_7182105848352794526
    statusstring
    示例: success
    payment_details object
    card_numberstring
    示例:
    card_monthstring
    示例:
    card_yearstring
    示例:
    card_first_namestring
    示例:
    card_last_namestring
    示例:
    card_first_fixstring
    示例:
    card_last_fourstring
    示例:
    avs_result_codestring
    示例:
    cvv_result_codestring
    示例:
    payment_namestring
    示例: