Set Net Suite Payment
Description
寫入付款方式。
Resource
POST /v1/net_suite/payment
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Request Body Parameters
| Name | Type | Description |
|---|---|---|
| NAME | string | NS付款名稱 |
| TYPE | string (enum) |
類型 ALLOWED VALUES:
|
| DEBIT_CARD | string (enum) |
DEBIT CARD ALLOWED VALUES:
|
| Name | Type | Description |
|---|---|---|
| INACTIVE | string (enum) |
非作用中 ALLOWED VALUES:
|
| UNDEPOSITED | string (enum) |
未存款 ALLOWED VALUES:
|
| ACCOUNT | string | 會科 |
| INTERNALID | string | NS編號 |
| OPR_STATUS | string (enum) |
狀態ALLOWED VALUES:
|
| POS_PAYMENT_METHOD | string | POS付款名稱 |
| SUBSIDIARY | string | 公司別 |
| SUBSIDIARY_ID | string | NS子公司編號 |
Request Body Example
{
"NAME": "American Express",
"TYPE": "Payment Card",
"DEBIT_CARD": "N",
"INACTIVE": "N",
"UNDEPOSITED": "Y",
"ACCOUNT": "11033001",
"INTERNALID": "1",
"OPR_STATUS": "N",
"POS_PAYMENT_METHOD": "AMERICAN EXPRESS POS123",
"SUBSIDIARY": "US03 BFYJ Restaurant",
"SUBSIDIARY_ID": "US03 BFYJ Restaurant"
}
Response
Status-Code: 204 No Content