* POST /a2a/atp/dispute -- raise a dispute * @param {string} orderId * @param {string} reason - dispute reason (min 10 chars)
(orderId, reason)
| 231 | * @param {string} reason - dispute reason (min 10 chars) |
| 232 | */ |
| 233 | function disputeOrder(orderId, reason) { |
| 234 | const nodeId = getNodeId(); |
| 235 | return _post('/atp/dispute', '/a2a/atp/dispute', { |
| 236 | sender_id: nodeId, |
| 237 | order_id: orderId, |
| 238 | reason: reason, |
| 239 | }); |
| 240 | } |
| 241 | |
| 242 | /** |
| 243 | * GET /a2a/atp/merchant/tier?node_id=... -- query merchant tier |