無國界醫生(台灣)國際醫療人道救援組織

無國界醫生

捐款金流串接 測試頁

供 Ken 串接金流使用。確認 Payload 結構後,點擊按鈕觸發金流。

⚠ 此頁面僅供開發測試

測試參數

頻率:每月 金額: NT$ 500
1

個人捐款

donorType: "personal"

假資料欄位

donorTypepersonal
frequencymonthly
amount500
customAmountnull
lastName
firstName小明
emailtest.personal@example.com
phone0912345678
birthYear1985
birthMonth6
gendermale
country台灣
city台北市
district中山區
address民權東路三段35號7樓
receiptTypetax-upload
receiptSameAsDonorfalse
receiptName王小明
receiptIdNumberA123456789
staffNumber(空字串)
note(空字串)
agreeToUpdatestrue
agreeToPublishtrue

JSON Payload

{
  "donorType": "personal",
  "frequency": "monthly",
  "amount": 500,
  "customAmount": null,
  "lastName": "王",
  "firstName": "小明",
  "email": "test.personal@example.com",
  "phone": "0912345678",
  "birthYear": "1985",
  "birthMonth": "6",
  "gender": "male",
  "country": "台灣",
  "city": "台北市",
  "district": "中山區",
  "address": "民權東路三段35號7樓",
  "receiptType": "tax-upload",
  "receiptSameAsDonor": false,
  "receiptName": "王小明",
  "receiptIdNumber": "A123456789",
  "staffNumber": "",
  "note": "",
  "agreeToUpdates": true,
  "agreeToPublish": true
}

金流觸發區塊

// Ken :在下方按鈕綁定 @click 事件,接入金流 API

2

公司 / 機構捐款

donorType: "company"
📌 公司捐款欄位說明:
  • lastName / firstName — 填寫聯絡人姓名
  • receiptName — 填寫公司 / 機構全名(收據抬頭)
  • receiptIdNumber — 填寫統一編號(8碼)或負責人身分證字號
  • note — 可附加備註,例如統一編號

假資料欄位

donorTypecompany
frequencymonthly
amount500
customAmountnull
lastName
firstName大文
emailcontact@company-example.com
phone0922333444
birthYear1975
birthMonth3
gendermale
country台灣
city台北市
district信義區
address信義路五段7號89樓
receiptTypepaper-mail
receiptSameAsDonorfalse
receiptName台灣愛心有限公司
receiptIdNumberB223456789
staffNumber(空字串)
note統一編號:12345678
agreeToUpdatestrue
agreeToPublishtrue

JSON Payload

{
  "donorType": "company",
  "frequency": "monthly",
  "amount": 500,
  "customAmount": null,
  "lastName": "陳",
  "firstName": "大文",
  "email": "contact@company-example.com",
  "phone": "0922333444",
  "birthYear": "1975",
  "birthMonth": "3",
  "gender": "male",
  "country": "台灣",
  "city": "台北市",
  "district": "信義區",
  "address": "信義路五段7號89樓",
  "receiptType": "paper-mail",
  "receiptSameAsDonor": false,
  "receiptName": "台灣愛心有限公司",
  "receiptIdNumber": "B223456789",
  "staffNumber": "",
  "note": "統一編號:12345678",
  "agreeToUpdates": true,
  "agreeToPublish": true
}

金流觸發區塊

觸發記錄

尚未觸發任何金流
TapPay Sandbox

輸入 4242... 測試卡號

Medecins Sans Frontieres Logo
© MEDECINS SANS FRONTIERES 無國界醫生 All rights reserved.