정산 API 응답 데이터 문의
정산 API의 응답 데이터는 paymentKey를 기준으로 결제단위로 구분 되어 응답되나요? 또는 mid를 기준으로 구분 되어 응답되나요?
3 Replies
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) :
- 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요.
* 주말/공휴일에는 답변이 늦을 수 있어요.
json 포멧이고 이렇게 생겼어요
이하생략
mid가 포함된 형태이고 결제건별로 응답됩니다
[
{
"mId": "tosspayments",
"paymentKey": "xLpgeoO7410238740297423RBKEzMjPJyG",
"transactionKey": "497BF239847238947B0491D84B4",
"orderId": "EjBNtZK7j8q2TlGFLJ-9T",
"currency": "KRW",
"method": "카드",
"fees": [
{
"type": "BASE",
"fee": -2250
},
{
"type": "ETC",
"fee": 0
}
],
"approvedAt": "2023-11-25T13:03:39+09:00",
"soldDate": "2023-11-25",
"paidOutDate": "2023-11-30",
"card": {
"issuerCode": "11",
"acquirerCode": "11",
"number": "55704251****800*",
"installmentPlanMonths": 3,
"isInterestFree": true,
"interestPayer": "CARD_COMPANY",
"approveNo": "30024234",
"useCardPoint": false,
"cardType": "신용",
"ownerType": "개인",
"acquireStatus": "READY",
"amount": 99800
},
"virtualAccount": null,
"transfer": null,
"mobilePhone": null,
"giftCertificate": null,
"easyPay": null,
"cancel": {
"transactionKey": "497BF239847238947B0491D84B4",
"cancelReason": "주문취소",
"taxExemptionAmount": 0,
"canceledAt": "2023-11-25T13:40:03+09:00",
"transferDiscountAmount": 0,
"easyPayDiscountAmount": 0,
"receiptKey": null,
"cancelAmount": 99800,
"taxFreeAmount": 0,
"refundableAmount": 0,
"cancelStatus": "DONE",
"cancelRequestId": null
},
"amount": -99800,
"interestFee": 0,
"fee": -2250,
"supplyAmount": -2045,
"vat": -205,
"payOutAmount": -97550
},
[
{
"mId": "tosspayments",
"paymentKey": "xLpgeoO7410238740297423RBKEzMjPJyG",
"transactionKey": "497BF239847238947B0491D84B4",
"orderId": "EjBNtZK7j8q2TlGFLJ-9T",
"currency": "KRW",
"method": "카드",
"fees": [
{
"type": "BASE",
"fee": -2250
},
{
"type": "ETC",
"fee": 0
}
],
"approvedAt": "2023-11-25T13:03:39+09:00",
"soldDate": "2023-11-25",
"paidOutDate": "2023-11-30",
"card": {
"issuerCode": "11",
"acquirerCode": "11",
"number": "55704251****800*",
"installmentPlanMonths": 3,
"isInterestFree": true,
"interestPayer": "CARD_COMPANY",
"approveNo": "30024234",
"useCardPoint": false,
"cardType": "신용",
"ownerType": "개인",
"acquireStatus": "READY",
"amount": 99800
},
"virtualAccount": null,
"transfer": null,
"mobilePhone": null,
"giftCertificate": null,
"easyPay": null,
"cancel": {
"transactionKey": "497BF239847238947B0491D84B4",
"cancelReason": "주문취소",
"taxExemptionAmount": 0,
"canceledAt": "2023-11-25T13:40:03+09:00",
"transferDiscountAmount": 0,
"easyPayDiscountAmount": 0,
"receiptKey": null,
"cancelAmount": 99800,
"taxFreeAmount": 0,
"refundableAmount": 0,
"cancelStatus": "DONE",
"cancelRequestId": null
},
"amount": -99800,
"interestFee": 0,
"fee": -2250,
"supplyAmount": -2045,
"vat": -205,
"payOutAmount": -97550
},
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.