• 新平台

    该接口用于获取一笔支付对应的全生命周期业务,按照时间倒叙进行展示:
    https://api-reference.checkout.com/#operation/getPaymentActions

    HTTP调用方式为Get
    沙箱环境地址:https://api.sandbox.checkout.com/payments/{id}/actions
    生产环境地址:https://api.checkout.com/payments/{id}/actions

    通过URL中添加Path参数来发起调用

    Path 参数名 是否必填 说明
    id
    - [x]

    | 正则表达式:^(pay|sid)_(\w{26})$

    该id为调用Create HPP或者Payment完成支付后返回。
    具体见后文如何获取pay | sid i |

    成功返回报文示例:

    1. [
    2. {
    3. "id": "act_fd3h6evhpn3uxdoqbuu3lqnqbm",
    4. "type": "Refund",
    5. "processed_on": "2018-01-20T10:30:48Z",
    6. "amount": 1000,
    7. "approved": true,
    8. "response_code": "10000",
    9. "response_summary": "Approved"
    10. },
    11. {
    12. "id": "act_gefycn3jcvuupboxfmqrhk2aym",
    13. "type": "Capture",
    14. "processed_on": "2018-01-17T10:30:48Z",
    15. "amount": 6540,
    16. "approved": true,
    17. "response_code": "10000",
    18. "response_summary": "Approved",
    19. "processing": {
    20. "acquirer_reference_number": "24021219099007452440793",
    21. "acquirer_transaction_id": "00745244079"
    22. },
    23. "metadata": {
    24. "shipping_ref": "MQIBN2"
    25. }
    26. },
    27. {
    28. "id": "act_y3oqhf46pyzuxjbcn2giaqnb44",
    29. "type": "Authorization",
    30. "processed_on": "2018-01-17T09:30:48Z",
    31. "amount": 6540,
    32. "approved": true,
    33. "auth_code": "643381",
    34. "response_code": "10000",
    35. "response_summary": "Approved",
    36. "reference": "ORD-5023-4E89",
    37. "processing": {
    38. "retrieval_reference_number": "909913440644",
    39. "acquirer_transaction_id": "440644309099499894406"
    40. }
    41. }
    42. ]

    对于一笔卡支付来说,可能产生的业务类型有:

    Authorization,授权记录
    Capture,请款记录
    Refund,退款记录
    Card Verificatin,卡验证记录
    Void,撤销记录