Skip to content

결제 환불 타입이 문서와 다릅니다 #9

Open
@guhyeon

Description

@guhyeon

imp_uid 또는 merchant_uid가 있으면되는데, 옵션값까지 전부 필수로 넣어야하네요. 타입 수정 필요합니다.

// STEP3아임포트 서버에 환불 요청하기
const iamPaymentResponse = await Payments.cancel({
//환불 unique key(imp_uid 또는 merchant_id)
merchant_uid: merchantUid,
imp_uid: '',
//환불 금액(amount)
amount: 0,
//환불 가능 금액(checksum)
checksum: 0,
reason: '',
refund_account: '',
refund_bank: '',
refund_holder: '',
tax_free: 0,
}).request(iamport);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions