...
1) Purpose
채널에서 구매자에 의해 발생한 주문에 대한 주문 취소 건에 대한 환불을 AX Cloud 에 요청합니다.
채널에서 미리 정해진 환불 규정에 따라 AX Cloud로 단방향 요청을 합니다.
...
Endpoint | product environment: https://prod.ax-cloud.com/v1/channel/orders/tour/{ax_order_code}/tickets/{ticket_code}/refundsrefund |
---|---|
Method | POST |
Description | 채널에서 특정 주문의 환불이 진행된 건에 대해 AX Cloud와 동기화 합니다. |
Content-Type | application/json |
Headers > Authorization | Token {api_key} |
...
Name | Required | Type | Description |
---|---|---|---|
refundchannel_refunded_price | O | String |
|
channel_canceled_datetimeat | O | Datetime |
|
channel_refunded_datetimeat | O | Datetime |
|
channel_policy | O | Object |
|
...
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
3. Request Example
...
Code Block |
---|
curl -X 'PATCH' \
'https://prod.ax-cloud.com/v1/channel/orders/tour/b9872ed4-12c5-4fb5-ae18-4f39b11ee912/tickets/915c1218-f41c-492b-bb0b-96177ff4d2ee/refunds' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H "Authorization: Token api_key_secret" \
-d '{ \
"refund_price": "5000",
"channel_canceled_datetime": "2021-01-20 21:13:13",
"channel_refunded_datetime": "2021-01-20 23:24:29",
"policy": {"0": "1", "50": "3", "100": “7"}
}' |
...