HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Order Payment

Data structure of order_payment

FieldColumn TypeDescriptionExample
payment_method_idStringPayment Method ID
付款方式ID
58d25cd501cda3475300002e
ref_payment_idString3rd party payment reference ID
payment_typeStringPayment Method
付款方式
shopline_payment
bank_transfer
cash_on_delivery
custom tw_711_b2c_pay
tw_711_pay
sl_logistics_ninjavan_cod
sl_logistics_kerry_th_cod
sl_logistics_kerry_th_cod
sl_logistics_kerry_th_cod
sl_logistics_ghtk_cod
sl_logistics_janio_cod
sl_logistics_poslaju_cod
name_translationsTranslationPayment Method Name
付款方式之名稱
{"en": "credit card",
"zh-hant": "信用卡"}
statusStringPayment Status
付款狀態

-Note:
下單時 order_payment 的
status 預設是 temp;
payment_status 預設是 pending
Payment status allows
temp 未付款(預設)
pending 未付款
failed 付款失敗
expired 超過付款時間
completed 已付款
refunding 退款中
refunded 已退款
partially_refunded 已部分退款
payment_feeMoneyPayment Fee
附加費
0
totalMoneyPayment Total
付款金額
623
paid_atDateTimePaid Time
付款完成時間
(UTC +0)
2018-01-10T09:32:29.154+00:00
updated_atDateTimeUpdated Time related to change of payment
付款更新時間
(UTC +0)
2018-01-10T09:32:29.154+00:00
created_atDateTimeCreated Date
訂單創造時間
(UTC +0)
2018-01-10T09:32:29.154+00:00
payment_dataHashPayment Details Info
付款詳細資訊
(如有串接第三方金流)
Please refer to the example below
last_four_digitsStringCredit Card Last Four Digits.
信用卡後四碼
1234

JSON Sample

{
  "order_payment": {
    "payment_method_id": "58d25cd501cda3475300002e",
    "payment_type": "shopline_payment",
    "name_translations": {
      "en": "credit card",
      "zh-hant": "信用卡"
    },
    "status": "pending",
    "payment_fee": {
      "cents": 0,
      "currency_symbol": "NT$",
      "currency_iso": "TWD",
      "label": "",
      "dollars": 0
    },
    "total": {
      "cents": 623,
      "currency_symbol": "NT$",
      "currency_iso": "TWD",
      "label": "NT$623",
      "dollars": 623
    },
    "paid_at": "2018-01-10T09:32:29.154+00:00",
    "updated_at": "2018-01-10T09:32:29.154+00:00",
    "created_at": "2018-01-10T09:32:29.154+00:00",
		 "payment_data": {
                    "create_payment": {
                        "subCode": "",
                        "subMsg": "",
                        "resp": {
                            "orderId": "20200825005246830990241370000",
                            "appOrderId": "20200824165245716",
                            "chOrderId": "99920200824165245716",
                            "amount": "500.0",
                            "payData": {
                                "merchantCode": "250405304072",
                                "riskLevel": "0",
                                "channelPayUrl": "https://test-portal-xpay.yy.com/channel/TwoCheckout/Card/999/YlRzdXdjVjZHQTdTS2dyQXJWQmEzWWRrUmloM0JWeXd0dkxUVGZ1QTZhUk9UZlREY05HMHVtZkxzL0dRK3lSTFluc055RkFoZHVaL3ZUZkpNemdack96NGdJL1RZZ1JrRE40RFFnenZjWG5jaFRmRUd2eGNaYm5ISCs1VllZNkk=",
                                "riskResult": {
                                    "enable": "true",
                                    "result": {
                                        "checkSuccess": "true",
                                        "pass": "true",
                                        "expectRiskLevel": "80",
                                        "riskLevel": "0",
                                        "detail": "{\"appId\":\"shopline_recharge\",\"assocAcctType\":255.0,\"persona_risk_mask\":\"0\",\"phone\":\"\",\"risk_level\":0.0,\"termType\":0.0,\"timestamp\":1.598287967238E12,\"traceId\":\"1297939924594503680\",\"uid\":\"5edddd9201afcd24a0f86606\"}"
                                    }
                                },
                                "publicKey": "77620313-EAA5-4EB9-B484-E108C8F87ADE"
                            },
                            "attach": "",
                            "statusCode": "PAYING",
                            "statusMsg": "2checkout paying.",
                            "chDealTime": "",
                            "chDealId": "",
                            "paymentOrderId": "20200825005246830990241370000",
                            "merchantOrderId": "20200824165245716"
                        },
                        "success": "true",
                        "code": "10000",
                        "msg": "成功"
                    },
                    "notify_response": {
                        "appId": "999",
                        "signType": "RSA2",
                        "timestamp": "20200825005356",
                        "sign": "UhYsUizoDb7kM5L0XUGBNNkmJKhpCfVnlLxLhvMFV44msY9qWXy34ZGotmZfMzFyxCFeK2pgSN6T5MyCkk7+ofcj4BKWHw8RkkFp51bFjtARvD1Bsj8uHNA7TTeC1ZGNJRzDNydnyHMYgdCHiVgxWxX+fohnN6zQZh5S4bvM7hw=",
                        "bizContent": "{\"paymentOrderId\":\"20200825005246830990241370000\",\"merchantOrderId\":\"20200824165245716\",\"orderId\":\"20200825005246830990241370000\",\"appOrderId\":\"20200824165245716\",\"chOrderId\":\"99920200824165245716\",\"amount\":500.00,\"currency\":\"TWD\",\"payData\":{\"merchantCode\":\"250405304072\",\"riskLevel\":0.0,\"channelPayUrl\":\"https://test-portal-xpay.yy.com/channel/TwoCheckout/Card/999/YlRzdXdjVjZHQTdTS2dyQXJWQmEzWWRrUmloM0JWeXd0dkxUVGZ1QTZhUk9UZlREY05HMHVtZkxzL0dRK3lSTFluc055RkFoZHVaL3ZUZkpNemdack96NGdJL1RZZ1JrRE40RFFnenZjWG5jaFRmRUd2eGNaYm5ISCs1VllZNkk=\",\"publicKey\":\"77620313-EAA5-4EB9-B484-E108C8F87ADE\",\"payTokenData\":{\"last4\":\"1111\",\"bin\":\"4111\",\"card_type\":\"visa\"},\"chId\":\"TwoCheckout\",\"payMethod\":\"Card\",\"userId\":\"5edddd9201afcd24a0f86606\"},\"statusCode\":\"SUCCESS\",\"statusMsg\":\"pay success.\",\"chDealTime\":\"20200825005328\",\"chDealId\":\"131004268\",\"orderType\":\"\",\"prodId\":\"5f3a5188e38809a2d1388bdd\"}",
                        "controller": "order_payments",
                        "action": "notify",
                        "payment_gateway": "two_checkout",
                        "id": "5f43f05de388093f603a3ac6"
                    }
                },
    "last_four_digits": "1234"
  }
}
"order_payment": {
        "id": "62a061055d7311001e3f02b2",
        "payment_method_id": "628311291dd861001599eed3",
        "payment_type": "shopline_payment",
        "name_translations": {
            "en": "Credit Card Installment",
            "zh-hant": "SHOPLINE Payments 信用卡分期付款",
            "zh-cn": "信用卡分期付款",
            "th": "การผ่อนชำระผ่านบัตรเครดิต"
        },
        "status": "refunded",
        "payment_fee": {
            "cents": 0,
            "currency_symbol": "NT$",
            "currency_iso": "TWD",
            "label": "",
            "dollars": 0.0
        },
        "total": {
            "cents": 100,
            "currency_symbol": "NT$",
            "currency_iso": "TWD",
            "label": "NT$100",
            "dollars": 100.0
        },
        "paid_at": "2022-06-08T08:42:52.202+00:00",
        "updated_at": "2022-06-09T03:34:21.344+00:00",
        "created_at": "2022-06-08T08:42:45.364+00:00",
        "payment_data": {
            "create_payment": {
                "amount": {
                    "currency": "TWD",
                    "value": 10000
                },
                "nextAction": {
                    "type": "Confirm",
                    "url": "https://payment-pci-api-sg.myshopline.com/v1/api/trades/confirm/10010060818187469604524974080"
                },
                "paidAmount": {
                    "currency": "TWD",
                    "value": 0
                },
                "passthrough": "{\"referenceOrderId\": \"62a061055d7311001e3f02ad\"}",
                "status": "CREATED",
                "tradeOrderId": "10010060818187469604524974080",
                "payment_gateway": "shopline_payment_standard"
            },
            "notify_response": {
                "created": 1654677771557,
                "data": {
                    "amount": {
                        "currency": "TWD",
                        "value": 10000
                    },
                    "channelDealId": "16546777679040128050000",
                    "channelReferenceId": "16546777679040128050000",
                    "lastPayment": {
                        "brand": "Visa",
                        "extension": {
                            "payBarCode": null
                        },
                        "last4": "8509",
                        "paymentInstrument": {
                            "paymentMethod": "CreditCard"
                        },
                        "paymentMethod": "CreditCard",
                        "paymentMethodOptions": {
                            "installments": {
                                "count": "3",
                                "installDownPay": 3400,
                                "installPay": 3300
                            }
                        }
                    },
                    "nextAction": {
                        "confirmStatus": "SUCCEEDED",
                        "data": null,
                        "method": "GET",
                        "target": "Channel",
                        "type": "Redirect",
                        "url": "https://twshop.vickyvickyvicky.com/shopline_payment_standard/order_payments/62a061055d7311001e3f02b2/return?appId=670&referenceOrderId=62a061055d7311001e3f02ad&status=SUCCEEDED&tradeOrderId=10010060818187469604524974080"
                    },
                    "paidAmount": {
                        "currency": "TWD",
                        "value": 10000
                    },
                    "passthrough": "{\"referenceOrderId\": \"62a061055d7311001e3f02ad\"}",
                    "paymentError": null,
                    "riskResult": {
                        "authNotify": null,
                        "captureNotify": null,
                        "channelRiskResult": null,
                        "prePay": {
                            "detail": {
                                "cybsDecision": "ACCEPT",
                                "decision": "RISK_3D_NON",
                                "ruleId": null,
                                "toast": null,
                                "toastId": null
                            },
                            "eventId": "1534455891193266176",
                            "merchantId": null,
                            "orderId": "202206081642479010128050000",
                            "resCode": 0,
                            "riskLevel": 0,
                            "uid": "605b0c08be2174001223f7cd"
                        },
                        "refundAfter": null,
                        "refundBefore": null
                    },
                    "status": "SUCCEEDED",
                    "subStatus": "",
                    "tradeOrderId": "10010060818187469604524974080"
                },
                "id": "62a061055d7311001e3f02b2",
                "type": "trade.succeeded",
                "controller": "order_payments",
                "action": "notify",
                "payment_gateway": "shopline_payment_standard",
                "order_payment": {
                    "created": 1654677771557,
                    "data": {
                        "amount": {
                            "currency": "TWD",
                            "value": 10000
                        },
                        "channelDealId": "16546777679040128050000",
                        "channelReferenceId": "16546777679040128050000",
                        "lastPayment": {
                            "brand": "Visa",
                            "extension": {
                                "payBarCode": null
                            },
                            "last4": "8509",
                            "paymentInstrument": {
                                "paymentMethod": "CreditCard"
                            },
                            "paymentMethod": "CreditCard",
                            "paymentMethodOptions": {
                                "installments": {
                                    "count": "3",
                                    "installDownPay": 3400,
                                    "installPay": 3300
                                }
                            }
                        },
                        "nextAction": {
                            "confirmStatus": "SUCCEEDED",
                            "data": null,
                            "method": "GET",
                            "target": "Channel",
                            "type": "Redirect",
                            "url": "https://twshop.vickyvickyvicky.com/shopline_payment_standard/order_payments/62a061055d7311001e3f02b2/return?appId=670&referenceOrderId=62a061055d7311001e3f02ad&status=SUCCEEDED&tradeOrderId=10010060818187469604524974080"
                        },
                        "paidAmount": {
                            "currency": "TWD",
                            "value": 10000
                        },
                        "passthrough": "{\"referenceOrderId\": \"62a061055d7311001e3f02ad\"}",
                        "paymentError": null,
                        "riskResult": {
                            "authNotify": null,
                            "captureNotify": null,
                            "channelRiskResult": null,
                            "prePay": {
                                "detail": {
                                    "cybsDecision": "ACCEPT",
                                    "decision": "RISK_3D_NON",
                                    "ruleId": null,
                                    "toast": null,
                                    "toastId": null
                                },
                                "eventId": "1534455891193266176",
                                "merchantId": null,
                                "orderId": "202206081642479010128050000",
                                "resCode": 0,
                                "riskLevel": 0,
                                "uid": "605b0c08be2174001223f7cd"
                            },
                            "refundAfter": null,
                            "refundBefore": null
                        },
                        "status": "SUCCEEDED",
                        "subStatus": "",
                        "tradeOrderId": "10010060818187469604524974080"
                    },
                    "id": "00010060818187470450603601920202206",
                    "type": "trade.succeeded"
                }
            },
            "refund_responses": [
                {
                    "paymentError": null,
                    "refundOrderId": "30010060818189370072859463680",
                    "reason": null,
                    "amount": {
                        "currency": "TWD",
                        "value": 10000
                    },
                    "riskResult": null,
                    "tradeOrderId": "10010060818187469604524974080",
                    "referenceRefundOrderId": "20220608084245716-1654689093",
                    "channelDealId": "202206081951402180128060000",
                    "passthrough": "{\"referenceOrderId\": \"62a061055d7311001e3f02ad\"}",
                    "paidAmount": {
                        "currency": "TWD",
                        "value": 10000
                    },
                    "status": "SUCCEEDED",
                    "timestamp": "20220609033421"
                }
            ]
        },
"order_payment": {
        "id": "62cd5549f0c5b8001db34676",
        "payment_method_id": "62cd3b334d40cf0011e063bc",
        "payment_type": "shopline_payment",
        "name_translations": {
            "en": "zingala - BNPL by Chailease",
            "zh-hant": "中租 - zingala銀角零卡分期",
            "zh-cn": "zingala - BNPL by Chailease",
            "th": "zingala - BNPL by Chailease"
        },
        "status": "refunded",
        "payment_fee": {
            "cents": 0,
            "currency_symbol": "NT$",
            "currency_iso": "TWD",
            "label": "",
            "dollars": 0.0
        },
        "total": {
            "cents": 100,
            "currency_symbol": "NT$",
            "currency_iso": "TWD",
            "label": "NT$100",
            "dollars": 100.0
        },
        "paid_at": "2022-07-12T11:05:00.608+00:00",
        "updated_at": "2022-07-12T11:21:01.694+00:00",
        "created_at": "2022-07-12T11:04:41.272+00:00",
        "payment_data": {
            "create_payment": {
                "amount": {
                    "currency": "TWD",
                    "value": 10000
                },
                "nextAction": {
                    "payToken": "6f0eaff30ba346af87135f76c9cf8390",
                    "type": "Confirm",
                    "url": "https://cashiers-sg.myshopline.com/v1/api/cashier/payment/10010071218681745884519833600"
                },
                "paidAmount": {
                    "currency": "TWD",
                    "value": 0
                },
                "passthrough": "{\"referenceOrderId\": \"62cd5549f0c5b8001db34671\"}",
                "status": "CREATED",
                "tradeOrderId": "10010071218681745884519833600",
                "payment_gateway": "shopline_payment_standard"
            },
            "notify_response": {
                "created": 1657623899899,
                "data": {
                    "amount": {
                        "currency": "TWD",
                        "value": 10000
                    },
                    "channelDealId": "202207121904435550128120000",
                    "channelReferenceId": "202207121904435550128120000",
                    "lastPayment": {
                        "bin": null,
                        "brand": null,
                        "cardCategory": null,
                        "cardType": null,
                        "extension": {},
                        "issuerBank": null,
                        "issuerCountry": null,
                        "last4": null,
                        "paymentInstrument": {
                            "paymentMethod": "ChaileaseBNPL"
                        },
                        "paymentMethod": "ChaileaseBNPL",
                        "paymentMethodOptions": {
                            "installments": {
                                "count": "3",
                                "installDownPay": 3400,
                                "installPay": 3300
                            }
                        }
                    },
                    "nextAction": {
                        "confirmStatus": "PENDING",
                        "data": null,
                        "method": "GET",
                        "target": "Channel",
                        "type": "Redirect",
                        "url": "https://www.chailease.com.tw/0card/Ecommerce?transid=Gen3wBinZWmil42QAgdct7%2b0%2baEspo4Rxkd19shTY0g%3d"
                    },
                    "paidAmount": {
                        "currency": "TWD",
                        "value": 10000
                    },
                    "passthrough": "{\"referenceOrderId\": \"62cd5549f0c5b8001db34671\"}",
                    "paymentError": null,
                    "riskResult": {
                        "authNotify": null,
                        "captureNotify": null,
                        "channelRiskResult": null,
                        "prePay": {
                            "detail": {
                                "cybsDecision": "ACCEPT",
                                "decision": "RISK_PASS",
                                "ruleId": null,
                                "toast": null,
                                "toastId": null
                            },
                            "eventId": "1546812795871162368",
                            "merchantId": null,
                            "orderId": "202207121904435550128120000",
                            "resCode": 0,
                            "riskLevel": 0,
                            "uid": "61075b5a431bc2000fec7dd6"
                        },
                        "refundAfter": null,
                        "refundBefore": null
                    },
                    "status": "SUCCEEDED",
                    "subStatus": "",
                    "tradeOrderId": "10010071218681745884519833600"
                },
                "id": "62cd5549f0c5b8001db34676",
                "type": "trade.succeeded",
                "controller": "order_payments",
                "action": "notify",
                "payment_gateway": "shopline_payment_standard",
                "order_payment": {
                    "created": 1657623899899,
                    "data": {
                        "amount": {
                            "currency": "TWD",
                            "value": 10000
                        },
                        "channelDealId": "202207121904435550128120000",
                        "channelReferenceId": "202207121904435550128120000",
                        "lastPayment": {
                            "bin": null,
                            "brand": null,
                            "cardCategory": null,
                            "cardType": null,
                            "extension": {},
                            "issuerBank": null,
                            "issuerCountry": null,
                            "last4": null,
                            "paymentInstrument": {
                                "paymentMethod": "ChaileaseBNPL"
                            },
                            "paymentMethod": "ChaileaseBNPL",
                            "paymentMethodOptions": {
                                "installments": {
                                    "count": "3",
                                    "installDownPay": 3400,
                                    "installPay": 3300
                                }
                            }
                        },
                        "nextAction": {
                            "confirmStatus": "PENDING",
                            "data": null,
                            "method": "GET",
                            "target": "Channel",
                            "type": "Redirect",
                            "url": "https://www.chailease.com.tw/0card/Ecommerce?transid=Gen3wBinZWmil42QAgdct7%2b0%2baEspo4Rxkd19shTY0g%3d"
                        },
                        "paidAmount": {
                            "currency": "TWD",
                            "value": 10000
                        },
                        "passthrough": "{\"referenceOrderId\": \"62cd5549f0c5b8001db34671\"}",
                        "paymentError": null,
                        "riskResult": {
                            "authNotify": null,
                            "captureNotify": null,
                            "channelRiskResult": null,
                            "prePay": {
                                "detail": {
                                    "cybsDecision": "ACCEPT",
                                    "decision": "RISK_PASS",
                                    "ruleId": null,
                                    "toast": null,
                                    "toastId": null
                                },
                                "eventId": "1546812795871162368",
                                "merchantId": null,
                                "orderId": "202207121904435550128120000",
                                "resCode": 0,
                                "riskLevel": 0,
                                "uid": "61075b5a431bc2000fec7dd6"
                            },
                            "refundAfter": null,
                            "refundBefore": null
                        },
                        "status": "SUCCEEDED",
                        "subStatus": "",
                        "tradeOrderId": "10010071218681745884519833600"
                    },
                    "id": "00010071218681748766178099200202207",
                    "type": "trade.succeeded"
                }
            },
            "refund_responses": [
                {
                    "paymentError": null,
                    "refundOrderId": "30010071218681909686183546880",
                    "reason": null,
                    "amount": {
                        "currency": "TWD",
                        "value": 10000
                    },
                    "riskResult": null,
                    "tradeOrderId": "10010071218681745884519833600",
                    "referenceRefundOrderId": "20220712110441090-1657624857",
                    "channelDealId": "822071272958647",
                    "passthrough": "{\"referenceOrderId\": \"62cd5549f0c5b8001db34671\"}",
                    "paidAmount": {
                        "currency": "TWD",
                        "value": 10000
                    },
                    "status": "SUCCEEDED",
                    "timestamp": "20220712112101"
                }
            ]
        },
        "last_four_digits": "",
        "ref_payment_id": "10010071218681745884519833600",
        "shopline_payment_payment": "chailease"
    },
"order_payment": {
        "id": "62eca03b1efd730019cb2b2b",
        "payment_method_id": "627b7415c4fc61001edce153",
        "payment_type": "shopline_payment",
        "name_translations": {
            "en": "Atome (Buy Now Pay Later)",
            "zh-hant": "Atome(先買後付)",
            "zh-cn": "Atome(先买后付)",
            "th": "Atome (ซื้อเลย จ่ายทีหลัง)"
        },
        "status": "completed",
        "payment_fee": {
            "cents": 1,
            "currency_symbol": "NT$",
            "currency_iso": "TWD",
            "label": "NT$1",
            "dollars": 1.0
        },
        "total": {
            "cents": 51,
            "currency_symbol": "NT$",
            "currency_iso": "TWD",
            "label": "NT$51",
            "dollars": 51.0
        },
        "paid_at": "2022-08-05T04:45:19.873+00:00",
        "updated_at": "2022-08-05T04:45:19.873+00:00",
        "created_at": "2022-08-05T04:44:43.746+00:00",
        "payment_data": {
            "create_payment": {
                "amount": {
                    "currency": "TWD",
                    "value": 5100
                },
                "nextAction": {
                    "payToken": "4fdfc394500840a7b5f7158f9b782678",
                    "type": "Confirm",
                    "url": "https://cashiers-sg.myshopline.com/v1/api/cashier/payment/10010080519025813371496529920"
                },
                "paidAmount": {
                    "currency": "TWD",
                    "value": 0
                },
                "passthrough": "{\"referenceOrderId\": \"62eca03b1efd730019cb2b25\"}",
                "status": "CREATED",
                "tradeOrderId": "10010080519025813371496529920",
                "payment_gateway": "shopline_payment_standard"
            },
            "notify_response": {
                "created": 1659674719182,
                "data": {
                    "amount": {
                        "currency": "TWD",
                        "value": 5100
                    },
                    "channelDealId": "10010080519025813371496529920",
                    "channelReferenceId": "10010080519025813371496529920",
                    "lastPayment": {
                        "bin": null,
                        "brand": null,
                        "cardCategory": null,
                        "cardType": null,
                        "extension": {},
                        "issuerBank": null,
                        "issuerCountry": null,
                        "last4": null,
                        "paymentInstrument": {
                            "paymentMethod": "AtomeBNPL"
                        },
                        "paymentMethod": "AtomeBNPL",
                        "paymentMethodOptions": {}
                    },
                    "nextAction": {
                        "confirmStatus": "PENDING",
                        "data": null,
                        "method": "GET",
                        "target": "Channel",
                        "type": "Redirect",
                        "url": "https://gateway.atome.tw/payment/gateway?token=c45f852707eb49c5819361b8bb9bdff0"
                    },
                    "paidAmount": {
                        "currency": "TWD",
                        "value": 5100
                    },
                    "passthrough": "{\"referenceOrderId\": \"62eca03b1efd730019cb2b25\"}",
                    "paymentError": null,
                    "riskResult": {
                        "authNotify": null,
                        "captureNotify": null,
                        "channelRiskResult": null,
                        "prePay": {
                            "detail": {
                                "cybsDecision": "ACCEPT",
                                "decision": "RISK_PASS",
                                "ruleId": null,
                                "toast": null,
                                "toastId": null
                            },
                            "eventId": "1555414482049679360",
                            "merchantId": null,
                            "orderId": "202208051244453580128130000",
                            "resCode": 0,
                            "riskLevel": 0,
                            "uid": "60a9e612f27cf0000977ba02"
                        },
                        "refundAfter": null,
                        "refundBefore": null
                    },
                    "status": "SUCCEEDED",
                    "subStatus": "",
                    "tradeOrderId": "10010080519025813371496529920"
                },
                "id": "62eca03b1efd730019cb2b2b",
                "type": "trade.succeeded",
                "controller": "order_payments",
                "action": "notify",
                "payment_gateway": "shopline_payment_standard",
                "order_payment": {
                    "created": 1659674719182,
                    "data": {
                        "amount": {
                            "currency": "TWD",
                            "value": 5100
                        },
                        "channelDealId": "10010080519025813371496529920",
                        "channelReferenceId": "10010080519025813371496529920",
                        "lastPayment": {
                            "bin": null,
                            "brand": null,
                            "cardCategory": null,
                            "cardType": null,
                            "extension": {},
                            "issuerBank": null,
                            "issuerCountry": null,
                            "last4": null,
                            "paymentInstrument": {
                                "paymentMethod": "AtomeBNPL"
                            },
                            "paymentMethod": "AtomeBNPL",
                            "paymentMethodOptions": {}
                        },
                        "nextAction": {
                            "confirmStatus": "PENDING",
                            "data": null,
                            "method": "GET",
                            "target": "Channel",
                            "type": "Redirect",
                            "url": "https://gateway.atome.tw/payment/gateway?token=c45f852707eb49c5819361b8bb9bdff0"
                        },
                        "paidAmount": {
                            "currency": "TWD",
                            "value": 5100
                        },
                        "passthrough": "{\"referenceOrderId\": \"62eca03b1efd730019cb2b25\"}",
                        "paymentError": null,
                        "riskResult": {
                            "authNotify": null,
                            "captureNotify": null,
                            "channelRiskResult": null,
                            "prePay": {
                                "detail": {
                                    "cybsDecision": "ACCEPT",
                                    "decision": "RISK_PASS",
                                    "ruleId": null,
                                    "toast": null,
                                    "toastId": null
                                },
                                "eventId": "1555414482049679360",
                                "merchantId": null,
                                "orderId": "202208051244453580128130000",
                                "resCode": 0,
                                "riskLevel": 0,
                                "uid": "60a9e612f27cf0000977ba02"
                            },
                            "refundAfter": null,
                            "refundBefore": null
                        },
                        "status": "SUCCEEDED",
                        "subStatus": "",
                        "tradeOrderId": "10010080519025813371496529920"
                    },
                    "id": "00010080519025819147056762880202208",
                    "type": "trade.succeeded"
                }
            }
        },
        "last_four_digits": "",
        "ref_payment_id": "10010080519025813371496529920",
        "shopline_payment_payment": "atome"
    },
    "order_delivery": {
        "id": "62eca03b1efd730019cb2b2c",
        "delivery_option_id": "60b62cfe258a4d00234b3253",
        "platform": "tw_fm_c2c_nopay",
        "status": "pending",
        "delivery_status": "pending",
        "name_translations": {
            "en": "Family Mart Pickup only (C2C)",
            "zh-hant": "全家 取貨不付款 (C2C)",
            "zh-cn": "全家 取货不付款 (C2C)",
            "th": "รับสินค้าที่ร้าน Family Mart เท่านั้น  (C2C)"
        },
        "total": {
            "cents": 0,
            "currency_symbol": "NT$",
            "currency_iso": "TWD",
            "label": "",
            "dollars": 0.0
        },
        "shipped_at": null,
        "arrived_at": null,
        "collected_at": null,
        "returned_at": null,
        "updated_at": "2022-08-10T07:31:11.101+00:00",
        "remark": null,
        "request_accepted_at": null,
        "request_authorized_at": null,
        "request_submitted_at": null,
        "requested_fmt_at": null,
        "require_expired_upload": false,
        "require_storeclosed_upload": false,
        "return_order_id": null,
        "store_closed_at": null,
        "storeclosed_upload_at": null,
        "exp_type": null,
        "requires_customer_address": false
    },
    "delivery_address": {
        "country_code": "TW",
        "country": "台灣",
        "city": null,
        "state": null,
        "postcode": null,
        "address_1": null,
        "address_2": null,
        "key": null,
        "layer1": null,
        "layer2": null,
        "layer3": null,
        "district": null,
        "logistic_codes": [],
        "recipient_name": "測試",
        "recipient_phone": "0926000999",
        "recipient_phone_country_code": null,
        "remarks": null
    },
    "delivery_data": {
        "hk_sfplus_home_region": null,
        "location_code": "F006492",
        "location_name": "全家新竹元村店",
        "location_short_name": null,
        "name_translations": null,
        "store_address": "新竹市香山區元培街197號",
        "url": null,
        "tracking_number": "",
        "scheduled_delivery_date": null,
        "time_slot_key": null,
        "time_slot_translations": {},
        "store_address_detail": {}
    },
    "cart_attributes": {
        "affiliate_data": {},
        "shop_session_id": ""
    },
    "customer_id": "60a9e612f27cf0000977ba02",
    "customer_name": "Michelle",
    "customer_email": "[email protected]",
    "customer_phone": "0926000999",
    "customer_phone_country_code": "",
    "customer_info": {
        "gender": "",
        "birthday": "2009-08-04",
        "custom_data": [
            {
                "value": "",
                "name_translations": {
                    "zh-hant": "手機自訂欄位"
                },
                "field_id": "608fc72bd619d60014bb53b3"
            }
        ]
    },
    "currency_iso": "TWD",
    "subtotal": {
        "cents": 50,
        "currency_symbol": "NT$",
        "currency_iso": "TWD",
        "label": "NT$50",
        "dollars": 50.0
    },
    "order_discount": {
        "cents": 0,
        "currency_symbol": "NT$",
        "currency_iso": "TWD",
        "label": "",
        "dollars": 0.0
    },
    "user_credit": {
        "cents": 0,
        "currency_symbol": "NT$",
        "currency_iso": "TWD",
        "label": "",
        "dollars": 0.0
    },
    "total_tax_fee": {
        "cents": 0,
        "currency_symbol": "NT$",
        "currency_iso": "TWD",
        "label": "",
        "dollars": 0.0
    },
    "total": {
        "cents": 51,
        "currency_symbol": "NT$",
        "currency_iso": "TWD",
        "label": "NT$51",
        "dollars": 51.0
    },
    "order_points": 0,
    "order_points_to_cash": {
        "cents": 0,
        "currency_symbol": "NT$",
        "currency_iso": "TWD",
        "label": "",
        "dollars": 0.0
    },
    "invoice": {
        "tax_id": "",
        "mailing_address": "",
        "invoice_type": "",
        "buyer_name": "",
        "carrier_type": "",
        "carrier_number": "",
        "n_p_o_b_a_n": "",
        "invoice_tax_type": "",
        "invoice_number": "",
        "invoice_status": "",
        "invoice_date": null,
        "invoice_cancelled_at": null
    },

常見問題 FAQ

  1. 實體店交易方式的名稱可如何撈取?

    Get Order Transactions > payments > name_translations