Get Donor Organization Name
Description
取得捐贈機構名稱。
Resource
GET /v1/receipt/donor_organization/{donation_code}
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Path Parameters
| Name | Type | Description |
|---|---|---|
| donation_code | string | 捐贈代碼 |
Response
{
"name": "財團法人伊甸社會福利基金會"
}
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| name | string | 捐贈機關名稱 |
Response Error Code
- Status-Code:401,回傳內容:無(headers缺少authorization參數)
- Status-Code:401,回傳內容:Bearer Token error
- Status-Code:400,回傳內容:無此捐贈機構,請重新輸入捐贈機構代碼
- Status-Code:400,回傳內容:取得捐贈機構名稱時發生未知的錯誤\n請聯絡客服人員:[ Exception message ]
- Status-Code:504,回傳內容:gateway timeout,這是系統因連線timeout自動的回應