portone_server_sdk.errors

Contents

portone_server_sdk.errors#

Exceptions

PortOneError

포트원 SDK에서 발생하는 모든 에러의 기본 타입입니다.

AlreadyPaidError

결제가 이미 완료된 경우

AlreadyPaidOrWaitingError

결제가 이미 완료되었거나 대기중인 경우

BillingKeyAlreadyDeletedError

빌링키가 이미 삭제된 경우

BillingKeyNotFoundError

빌링키가 존재하지 않는 경우

BillingKeyNotIssuedError

CancelAmountExceedsCancellableAmountError

결제 취소 금액이 취소 가능 금액을 초과한 경우

CancelTaxAmountExceedsCancellableTaxAmountError

취소 과세 금액이 취소 가능한 과세 금액을 초과한 경우

CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError

취소 면세 금액이 취소 가능한 면세 금액을 초과한 경우

CancellableAmountConsistencyBrokenError

취소 가능 잔액 검증에 실패한 경우

CashReceiptAlreadyIssuedError

현금영수증이 이미 발급된 경우

CashReceiptNotFoundError

현금영수증이 존재하지 않는 경우

CashReceiptNotIssuedError

현금영수증이 발급되지 않은 경우

ChannelNotFoundError

요청된 채널이 존재하지 않는 경우

ChannelSpecificError

여러 채널을 지정한 요청에서, 채널 각각에서 오류가 발생한 경우

DiscountAmountExceedsTotalAmountError

프로모션 할인 금액이 결제 시도 금액 이상인 경우

ForbiddenError

요청이 거절된 경우

IdentityVerificationAlreadySentError

본인인증 건이 이미 API로 요청된 상태인 경우

IdentityVerificationAlreadyVerifiedError

본인인증 건이 이미 인증 완료된 상태인 경우

IdentityVerificationNotFoundError

요청된 본인인증 건이 존재하지 않는 경우

IdentityVerificationNotSentError

본인인증 건이 API로 요청된 상태가 아닌 경우

InvalidRequestError

요청된 입력 정보가 유효하지 않은 경우

MaxTransactionCountReachedError

결제 혹은 본인인증 시도 횟수가 최대에 도달한 경우

MaxWebhookRetryCountReachedError

동일한 webhook id에 대한 수동 재시도 횟수가 최대에 도달한 경우

NegativePromotionAdjustedCancelAmountError

프로모션에 의해 조정된 취소 금액이 음수인 경우

PaymentAlreadyCancelledError

결제가 이미 취소된 경우

PaymentNotFoundError

결제 건이 존재하지 않는 경우

PaymentNotPaidError

결제가 완료되지 않은 경우

PaymentNotWaitingForDepositError

결제 건이 입금 대기 상태가 아닌 경우

PaymentScheduleAlreadyExistsError

결제 예약건이 이미 존재하는 경우

PaymentScheduleAlreadyProcessedError

결제 예약건이 이미 처리된 경우

PaymentScheduleAlreadyRevokedError

결제 예약건이 이미 취소된 경우

PaymentScheduleNotFoundError

결제 예약건이 존재하지 않는 경우

PgProviderError

PG사에서 오류를 전달한 경우

PlatformAccountVerificationAlreadyUsedError

파트너 계좌 검증 아이디를 이미 사용한 경우

PlatformAccountVerificationFailedError

파트너 계좌 인증이 실패한 경우

PlatformAccountVerificationNotFoundError

파트너 계좌 검증 아이디를 찾을 수 없는 경우

PlatformAdditionalFeePoliciesNotFoundError

PlatformAdditionalFeePolicyAlreadyExistsError

PlatformAdditionalFeePolicyNotFoundError

PlatformAdditionalFeePolicyScheduleAlreadyExistsError

PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError

PlatformArchivedAdditionalFeePolicyError

보관된 추가 수수료 정책을 업데이트하려고 하는 경우

PlatformArchivedContractError

보관된 계약을 업데이트하려고 하는 경우

PlatformArchivedDiscountSharePolicyError

보관된 할인 분담 정책을 업데이트하려고 하는 경우

PlatformArchivedPartnerError

보관된 파트너를 업데이트하려고 하는 경우

PlatformArchivedPartnersCannotBeScheduledError

보관된 파트너들을 예약 업데이트하려고 하는 경우

PlatformCancelOrderTransfersExistsError

PlatformCancellableAmountExceededError

취소 가능한 금액이 초과한 경우

PlatformCancellableDiscountAmountExceededError

PlatformCancellableDiscountTaxFreeAmountExceededError

PlatformCancellableProductQuantityExceededError

PlatformCancellationAndPaymentTypeMismatchedError

PlatformCancellationNotFoundError

PlatformCannotArchiveScheduledAdditionalFeePolicyError

예약된 업데이트가 있는 추가 수수료 정책을 보관하려고 하는 경우

PlatformCannotArchiveScheduledContractError

예약된 업데이트가 있는 계약을 보관하려고 하는 경우

PlatformCannotArchiveScheduledDiscountSharePolicyError

예약된 업데이트가 있는 할인 분담 정책을 보관하려고 하는 경우

PlatformCannotArchiveScheduledPartnerError

예약된 업데이트가 있는 파트너를 보관하려고 하는 경우

PlatformCannotSpecifyTransferError

정산 건 식별에 실패한 경우

PlatformCompanyNotFoundError

사업자 정보를 찾을 수 없는 경우

PlatformCompanyVerificationAlreadyUsedError

파트너 사업자 검증 아이디를 이미 사용한 경우

PlatformContractAlreadyExistsError

PlatformContractNotFoundError

PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError

PlatformContractScheduleAlreadyExistsError

PlatformContractsNotFoundError

PlatformCurrencyNotSupportedError

지원 되지 않는 통화를 선택한 경우

PlatformDiscountSharePoliciesNotFoundError

PlatformDiscountSharePolicyAlreadyExistsError

PlatformDiscountSharePolicyIdDuplicatedError

PlatformDiscountSharePolicyNotFoundError

PlatformDiscountSharePolicyScheduleAlreadyExistsError

PlatformExternalApiFailedError

외부 api 오류

PlatformExternalApiTemporarilyFailedError

외부 api의 일시적인 오류

PlatformInsufficientDataToChangePartnerTypeError

파트너 타입 수정에 필요한 데이터가 부족한 경우

PlatformInvalidSettlementFormulaError

PlatformMemberCompanyConnectedPartnerBrnUnchangeableError

연동 사업자로 연동된 파트너의 사업자등록번호를 변경하려고 시도한 경우

PlatformMemberCompanyConnectedPartnerCannotBeScheduledError

연동 사업자로 연동된 파트너를 예약 수정하려고 시도한 경우

PlatformMemberCompanyConnectedPartnerTypeUnchangeableError

연동 사업자로 연동된 파트너의 파트너 유형을 변경하려고 시도한 경우

PlatformMemberCompanyConnectedPartnersCannotBeScheduledError

연동 사업자로 연동된 파트너들을 예약 수정하려고 시도한 경우

PlatformNotEnabledError

플랫폼 기능이 활성화되지 않아 요청을 처리할 수 없는 경우

PlatformNotSupportedBankError

지원하지 않는 은행인 경우

PlatformOrderDetailMismatchedError

PlatformOrderTransferAlreadyCancelledError

PlatformPartnerIdAlreadyExistsError

PlatformPartnerIdsAlreadyExistError

PlatformPartnerIdsDuplicatedError

PlatformPartnerNotFoundError

PlatformPartnerScheduleAlreadyExistsError

PlatformPartnerSchedulesAlreadyExistError

PlatformPaymentNotFoundError

PlatformProductIdDuplicatedError

PlatformProductIdNotFoundError

PlatformSettlementAmountExceededError

정산 가능한 금액을 초과한 경우

PlatformSettlementCancelAmountExceededPortOneCancelError

정산 취소 요청 금액이 포트원 결제 취소 내역의 취소 금액을 초과한 경우

PlatformSettlementParameterNotFoundError

정산 파라미터가 존재하지 않는 경우

PlatformSettlementPaymentAmountExceededPortOnePaymentError

정산 요청 결제 금액이 포트원 결제 내역의 결제 금액을 초과한 경우

PlatformSettlementSupplyWithVatAmountExceededPortOnePaymentError

정산 요청 공급대가가 포트원 결제 내역의 공급대가를 초과한 경우

PlatformSettlementTaxFreeAmountExceededPortOnePaymentError

정산 요청 면세 금액이 포트원 결제 내역의 면세 금액을 초과한 경우

PlatformTransferAlreadyExistsError

PlatformTransferDiscountSharePolicyNotFoundError

PlatformTransferNonDeletableStatusError

PlatformTransferNotFoundError

PlatformUserDefinedPropertyNotFoundError

사용자 정의 속성이 존재 하지 않는 경우

PromotionDiscountRetainOptionShouldNotBeChangedError

프로모션 혜택 유지 옵션을 이전 부분 취소와 다른 것으로 입력한 경우

PromotionNotFoundError

프로모션이 존재하지 않는 경우

PromotionPayMethodDoesNotMatchError

결제수단이 프로모션에 지정된 것과 일치하지 않는 경우

SumOfPartsExceedsCancelAmountError

면세 금액 등 하위 항목들의 합이 전체 취소 금액을 초과한 경우

SumOfPartsExceedsTotalAmountError

면세 금액 등 하위 항목들의 합이 전체 결제 금액을 초과한 경우

UnauthorizedError

인증 정보가 올바르지 않은 경우

UnknownError

알 수 없는 경우

WebhookNotFoundError

웹훅 내역이 존재하지 않는 경우

exception portone_server_sdk.errors.PortOneError#

Bases: Exception

포트원 SDK에서 발생하는 모든 에러의 기본 타입입니다.

message: str | None#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception portone_server_sdk.errors.AlreadyPaidError#

Bases: PayInstantlyError, PayWithBillingKeyError, PreRegisterPaymentError

결제가 이미 완료된 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.AlreadyPaidOrWaitingError#

Bases: CreatePaymentScheduleError

결제가 이미 완료되었거나 대기중인 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.BillingKeyAlreadyDeletedError#

Bases: CreatePaymentScheduleError, DeleteBillingKeyError, PayWithBillingKeyError, RevokePaymentSchedulesError

빌링키가 이미 삭제된 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.BillingKeyNotFoundError#

Bases: CreatePaymentScheduleError, DeleteBillingKeyError, GetBillingKeyInfoError, PayWithBillingKeyError, RevokePaymentSchedulesError

빌링키가 존재하지 않는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.BillingKeyNotIssuedError#

Bases: DeleteBillingKeyError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.CancelAmountExceedsCancellableAmountError#

Bases: CancelPaymentError

결제 취소 금액이 취소 가능 금액을 초과한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.CancelTaxAmountExceedsCancellableTaxAmountError#

Bases: CancelPaymentError

취소 과세 금액이 취소 가능한 과세 금액을 초과한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError#

Bases: CancelPaymentError

취소 면세 금액이 취소 가능한 면세 금액을 초과한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.CancellableAmountConsistencyBrokenError#

Bases: CancelPaymentError

취소 가능 잔액 검증에 실패한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.CashReceiptAlreadyIssuedError#

Bases: IssueCashReceiptError

현금영수증이 이미 발급된 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.CashReceiptNotFoundError#

Bases: CancelCashReceiptError, GetCashReceiptError

현금영수증이 존재하지 않는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.CashReceiptNotIssuedError#

Bases: CancelCashReceiptError

현금영수증이 발급되지 않은 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.ChannelNotFoundError#

Bases: IssueBillingKeyError, IssueCashReceiptError, PayInstantlyError, PayWithBillingKeyError, SendIdentityVerificationError

요청된 채널이 존재하지 않는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.ChannelSpecificError#

Bases: DeleteBillingKeyError, IssueBillingKeyError

여러 채널을 지정한 요청에서, 채널 각각에서 오류가 발생한 경우

failures: list[ChannelSpecificFailure]#
succeeded_channels: list[SelectedChannel]#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.DiscountAmountExceedsTotalAmountError#

Bases: PayInstantlyError, PayWithBillingKeyError

프로모션 할인 금액이 결제 시도 금액 이상인 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.ForbiddenError#

Bases: ApplyEscrowLogisticsError, ArchivePlatformAdditionalFeePolicyError, ArchivePlatformContractError, ArchivePlatformDiscountSharePolicyError, ArchivePlatformPartnerError, CancelCashReceiptError, CancelPaymentError, CancelPlatformAdditionalFeePolicyScheduleError, CancelPlatformContractScheduleError, CancelPlatformDiscountSharePolicyScheduleError, CancelPlatformPartnerScheduleError, CloseVirtualAccountError, ConfirmEscrowError, ConfirmIdentityVerificationError, CreatePaymentScheduleError, CreatePlatformAdditionalFeePolicyError, CreatePlatformContractError, CreatePlatformDiscountSharePolicyError, CreatePlatformManualTransferError, CreatePlatformOrderCancelTransferError, CreatePlatformOrderTransferError, CreatePlatformPartnerError, CreatePlatformPartnersError, DeleteBillingKeyError, DeletePlatformTransferError, GetAllPaymentsError, GetBillingKeyInfoError, GetBillingKeyInfosError, GetCashReceiptError, GetIdentityVerificationError, GetPaymentError, GetPaymentScheduleError, GetPaymentSchedulesError, GetPaymentTransactionsError, GetPaymentsError, GetPlatformAccountHolderError, GetPlatformAccountTransfersError, GetPlatformAdditionalFeePoliciesError, GetPlatformAdditionalFeePolicyError, GetPlatformAdditionalFeePolicyScheduleError, GetPlatformBulkPayoutsError, GetPlatformCompanyStateError, GetPlatformContractError, GetPlatformContractScheduleError, GetPlatformContractsError, GetPlatformDiscountSharePoliciesError, GetPlatformDiscountSharePolicyError, GetPlatformDiscountSharePolicyFilterOptionsError, GetPlatformDiscountSharePolicyScheduleError, GetPlatformPartnerError, GetPlatformPartnerFilterOptionsError, GetPlatformPartnerScheduleError, GetPlatformPartnerSettlementsError, GetPlatformPartnersError, GetPlatformPayoutsError, GetPlatformSettingError, GetPlatformTransferError, GetPlatformTransferSummariesError, GetPromotionError, IssueBillingKeyError, IssueCashReceiptError, ModifyEscrowLogisticsError, PayInstantlyError, PayWithBillingKeyError, PreRegisterPaymentError, RecoverPlatformAdditionalFeePolicyError, RecoverPlatformContractError, RecoverPlatformDiscountSharePolicyError, RecoverPlatformPartnerError, RegisterStoreReceiptError, RescheduleAdditionalFeePolicyError, RescheduleContractError, RescheduleDiscountSharePolicyError, ReschedulePartnerError, ResendIdentityVerificationError, ResendWebhookError, RevokePaymentSchedulesError, ScheduleAdditionalFeePolicyError, ScheduleContractError, ScheduleDiscountSharePolicyError, SchedulePartnerError, SchedulePlatformPartnersError, SendIdentityVerificationError, UpdatePlatformAdditionalFeePolicyError, UpdatePlatformContractError, UpdatePlatformDiscountSharePolicyError, UpdatePlatformError, UpdatePlatformPartnerError, UpdatePlatformSettingError

요청이 거절된 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.IdentityVerificationAlreadySentError#

Bases: SendIdentityVerificationError

본인인증 건이 이미 API로 요청된 상태인 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.IdentityVerificationAlreadyVerifiedError#

Bases: ConfirmIdentityVerificationError, ResendIdentityVerificationError, SendIdentityVerificationError

본인인증 건이 이미 인증 완료된 상태인 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.IdentityVerificationNotFoundError#

Bases: ConfirmIdentityVerificationError, GetIdentityVerificationError, ResendIdentityVerificationError, SendIdentityVerificationError

요청된 본인인증 건이 존재하지 않는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.IdentityVerificationNotSentError#

Bases: ConfirmIdentityVerificationError, ResendIdentityVerificationError

본인인증 건이 API로 요청된 상태가 아닌 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.InvalidRequestError#

Bases: ApplyEscrowLogisticsError, ArchivePlatformAdditionalFeePolicyError, ArchivePlatformContractError, ArchivePlatformDiscountSharePolicyError, ArchivePlatformPartnerError, CancelCashReceiptError, CancelPaymentError, CancelPlatformAdditionalFeePolicyScheduleError, CancelPlatformContractScheduleError, CancelPlatformDiscountSharePolicyScheduleError, CancelPlatformPartnerScheduleError, CloseVirtualAccountError, ConfirmEscrowError, ConfirmIdentityVerificationError, CreatePaymentScheduleError, CreatePlatformAdditionalFeePolicyError, CreatePlatformContractError, CreatePlatformDiscountSharePolicyError, CreatePlatformManualTransferError, CreatePlatformOrderCancelTransferError, CreatePlatformOrderTransferError, CreatePlatformPartnerError, CreatePlatformPartnersError, DeleteBillingKeyError, DeletePlatformTransferError, DownloadPlatformTransferSheetError, GetAllPaymentsError, GetBillingKeyInfoError, GetBillingKeyInfosError, GetCashReceiptError, GetIdentityVerificationError, GetKakaopayPaymentOrderError, GetPaymentError, GetPaymentScheduleError, GetPaymentSchedulesError, GetPaymentTransactionsError, GetPaymentsError, GetPlatformAccountHolderError, GetPlatformAccountTransfersError, GetPlatformAdditionalFeePoliciesError, GetPlatformAdditionalFeePolicyError, GetPlatformAdditionalFeePolicyScheduleError, GetPlatformBulkPayoutsError, GetPlatformCompanyStateError, GetPlatformContractError, GetPlatformContractScheduleError, GetPlatformContractsError, GetPlatformDiscountSharePoliciesError, GetPlatformDiscountSharePolicyError, GetPlatformDiscountSharePolicyFilterOptionsError, GetPlatformDiscountSharePolicyScheduleError, GetPlatformError, GetPlatformPartnerError, GetPlatformPartnerFilterOptionsError, GetPlatformPartnerScheduleError, GetPlatformPartnerSettlementsError, GetPlatformPartnersError, GetPlatformPayoutsError, GetPlatformSettingError, GetPlatformTransferError, GetPlatformTransferSummariesError, GetPromotionError, IssueBillingKeyError, IssueCashReceiptError, LoginViaApiSecretError, ModifyEscrowLogisticsError, PayInstantlyError, PayWithBillingKeyError, PreRegisterPaymentError, RecoverPlatformAdditionalFeePolicyError, RecoverPlatformContractError, RecoverPlatformDiscountSharePolicyError, RecoverPlatformPartnerError, RefreshTokenError, RegisterStoreReceiptError, RescheduleAdditionalFeePolicyError, RescheduleContractError, RescheduleDiscountSharePolicyError, ReschedulePartnerError, ResendIdentityVerificationError, ResendWebhookError, RevokePaymentSchedulesError, ScheduleAdditionalFeePolicyError, ScheduleContractError, ScheduleDiscountSharePolicyError, SchedulePartnerError, SchedulePlatformPartnersError, SendIdentityVerificationError, UpdatePlatformAdditionalFeePolicyError, UpdatePlatformContractError, UpdatePlatformDiscountSharePolicyError, UpdatePlatformError, UpdatePlatformPartnerError, UpdatePlatformSettingError

요청된 입력 정보가 유효하지 않은 경우

허가되지 않은 값, 올바르지 않은 형식의 요청 등이 모두 해당됩니다.

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.MaxTransactionCountReachedError#

Bases: PayInstantlyError, PayWithBillingKeyError, SendIdentityVerificationError

결제 혹은 본인인증 시도 횟수가 최대에 도달한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.MaxWebhookRetryCountReachedError#

Bases: ResendWebhookError

동일한 webhook id에 대한 수동 재시도 횟수가 최대에 도달한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.NegativePromotionAdjustedCancelAmountError#

Bases: CancelPaymentError

프로모션에 의해 조정된 취소 금액이 음수인 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PaymentAlreadyCancelledError#

Bases: CancelPaymentError

결제가 이미 취소된 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PaymentNotFoundError#

Bases: ApplyEscrowLogisticsError, CancelPaymentError, CloseVirtualAccountError, ConfirmEscrowError, GetPaymentError, GetPaymentTransactionsError, ModifyEscrowLogisticsError, RegisterStoreReceiptError, ResendWebhookError

결제 건이 존재하지 않는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PaymentNotPaidError#

Bases: ApplyEscrowLogisticsError, CancelPaymentError, ConfirmEscrowError, ModifyEscrowLogisticsError, RegisterStoreReceiptError

결제가 완료되지 않은 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PaymentNotWaitingForDepositError#

Bases: CloseVirtualAccountError

결제 건이 입금 대기 상태가 아닌 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PaymentScheduleAlreadyExistsError#

Bases: CreatePaymentScheduleError, DeleteBillingKeyError, PayInstantlyError, PayWithBillingKeyError

결제 예약건이 이미 존재하는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PaymentScheduleAlreadyProcessedError#

Bases: RevokePaymentSchedulesError

결제 예약건이 이미 처리된 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PaymentScheduleAlreadyRevokedError#

Bases: RevokePaymentSchedulesError

결제 예약건이 이미 취소된 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PaymentScheduleNotFoundError#

Bases: GetPaymentScheduleError, RevokePaymentSchedulesError

결제 예약건이 존재하지 않는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PgProviderError#

Bases: ApplyEscrowLogisticsError, CancelCashReceiptError, CancelPaymentError, CloseVirtualAccountError, ConfirmEscrowError, ConfirmIdentityVerificationError, DeleteBillingKeyError, IssueBillingKeyError, IssueCashReceiptError, ModifyEscrowLogisticsError, PayInstantlyError, PayWithBillingKeyError, RegisterStoreReceiptError, ResendIdentityVerificationError, SendIdentityVerificationError

PG사에서 오류를 전달한 경우

pg_code: str#
pg_message: str#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformAccountVerificationAlreadyUsedError#

Bases: CreatePlatformPartnerError, SchedulePartnerError, UpdatePlatformPartnerError

파트너 계좌 검증 아이디를 이미 사용한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformAccountVerificationFailedError#

Bases: CreatePlatformPartnerError, SchedulePartnerError, UpdatePlatformPartnerError

파트너 계좌 인증이 실패한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformAccountVerificationNotFoundError#

Bases: CreatePlatformPartnerError, SchedulePartnerError, UpdatePlatformPartnerError

파트너 계좌 검증 아이디를 찾을 수 없는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformAdditionalFeePoliciesNotFoundError#

Bases: CreatePlatformOrderTransferError

ids: list[str]#
graphql_ids: list[str]#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformAdditionalFeePolicyAlreadyExistsError#

Bases: CreatePlatformAdditionalFeePolicyError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformAdditionalFeePolicyNotFoundError#

Bases: ArchivePlatformAdditionalFeePolicyError, CancelPlatformAdditionalFeePolicyScheduleError, GetPlatformAdditionalFeePolicyError, GetPlatformAdditionalFeePolicyScheduleError, RecoverPlatformAdditionalFeePolicyError, RescheduleAdditionalFeePolicyError, ScheduleAdditionalFeePolicyError, UpdatePlatformAdditionalFeePolicyError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformAdditionalFeePolicyScheduleAlreadyExistsError#

Bases: ScheduleAdditionalFeePolicyError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError#

Bases: CreatePlatformOrderTransferError

id: str#
graphql_id: str#
fee_currency: Currency#
settlement_currency: Currency#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformArchivedAdditionalFeePolicyError#

Bases: ScheduleAdditionalFeePolicyError, UpdatePlatformAdditionalFeePolicyError

보관된 추가 수수료 정책을 업데이트하려고 하는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformArchivedContractError#

Bases: ScheduleContractError, UpdatePlatformContractError

보관된 계약을 업데이트하려고 하는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformArchivedDiscountSharePolicyError#

Bases: ScheduleDiscountSharePolicyError, UpdatePlatformDiscountSharePolicyError

보관된 할인 분담 정책을 업데이트하려고 하는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformArchivedPartnerError#

Bases: SchedulePartnerError, UpdatePlatformPartnerError

보관된 파트너를 업데이트하려고 하는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformArchivedPartnersCannotBeScheduledError#

Bases: SchedulePlatformPartnersError

보관된 파트너들을 예약 업데이트하려고 하는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCancelOrderTransfersExistsError#

Bases: DeletePlatformTransferError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCancellableAmountExceededError#

Bases: CreatePlatformOrderCancelTransferError

취소 가능한 금액이 초과한 경우

cancellable_amount: int#
request_amount: int#
amount_type: PlatformCancellableAmountType#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCancellableDiscountAmountExceededError#

Bases: CreatePlatformOrderCancelTransferError

discount_share_policy_id: str#
discount_share_policy_graphql_id: str#
cancellable_amount: int#
request_amount: int#
product_id: str | None#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCancellableDiscountTaxFreeAmountExceededError#

Bases: CreatePlatformOrderCancelTransferError

discount_share_policy_id: str#
discount_share_policy_graphql_id: str#
cancellable_amount: int#
request_amount: int#
product_id: str | None#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCancellableProductQuantityExceededError#

Bases: CreatePlatformOrderCancelTransferError

product_id: str#
cancellable_quantity: int#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCancellationAndPaymentTypeMismatchedError#

Bases: CreatePlatformOrderCancelTransferError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCancellationNotFoundError#

Bases: CreatePlatformOrderCancelTransferError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCannotArchiveScheduledAdditionalFeePolicyError#

Bases: ArchivePlatformAdditionalFeePolicyError

예약된 업데이트가 있는 추가 수수료 정책을 보관하려고 하는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCannotArchiveScheduledContractError#

Bases: ArchivePlatformContractError

예약된 업데이트가 있는 계약을 보관하려고 하는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCannotArchiveScheduledDiscountSharePolicyError#

Bases: ArchivePlatformDiscountSharePolicyError

예약된 업데이트가 있는 할인 분담 정책을 보관하려고 하는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCannotArchiveScheduledPartnerError#

Bases: ArchivePlatformPartnerError

예약된 업데이트가 있는 파트너를 보관하려고 하는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCannotSpecifyTransferError#

Bases: CreatePlatformOrderCancelTransferError

정산 건 식별에 실패한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCompanyNotFoundError#

Bases: GetPlatformCompanyStateError

사업자 정보를 찾을 수 없는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCompanyVerificationAlreadyUsedError#

Bases: CreatePlatformPartnerError, SchedulePartnerError, UpdatePlatformPartnerError

파트너 사업자 검증 아이디를 이미 사용한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformContractAlreadyExistsError#

Bases: CreatePlatformContractError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformContractNotFoundError#

Bases: ArchivePlatformContractError, CancelPlatformContractScheduleError, CreatePlatformOrderTransferError, CreatePlatformPartnerError, GetPlatformContractError, GetPlatformContractScheduleError, RecoverPlatformContractError, RescheduleContractError, ReschedulePartnerError, ScheduleContractError, SchedulePartnerError, SchedulePlatformPartnersError, UpdatePlatformContractError, UpdatePlatformPartnerError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError#

Bases: CreatePlatformOrderTransferError

id: str#
graphql_id: str#
fee_currency: Currency#
settlement_currency: Currency#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformContractScheduleAlreadyExistsError#

Bases: ScheduleContractError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformContractsNotFoundError#

Bases: CreatePlatformPartnersError

ids: list[str]#
graphql_ids: list[str]#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformCurrencyNotSupportedError#

Bases: CreatePlatformOrderTransferError, CreatePlatformPartnerError, CreatePlatformPartnersError

지원 되지 않는 통화를 선택한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformDiscountSharePoliciesNotFoundError#

Bases: CreatePlatformOrderTransferError

ids: list[str]#
graphql_ids: list[str]#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformDiscountSharePolicyAlreadyExistsError#

Bases: CreatePlatformDiscountSharePolicyError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformDiscountSharePolicyIdDuplicatedError#

Bases: CreatePlatformOrderCancelTransferError

id: str#
graphql_id: str#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformDiscountSharePolicyNotFoundError#

Bases: ArchivePlatformDiscountSharePolicyError, CancelPlatformDiscountSharePolicyScheduleError, GetPlatformDiscountSharePolicyError, GetPlatformDiscountSharePolicyScheduleError, RecoverPlatformDiscountSharePolicyError, RescheduleDiscountSharePolicyError, ScheduleDiscountSharePolicyError, UpdatePlatformDiscountSharePolicyError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformDiscountSharePolicyScheduleAlreadyExistsError#

Bases: ScheduleDiscountSharePolicyError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformExternalApiFailedError#

Bases: GetPlatformAccountHolderError, GetPlatformCompanyStateError

외부 api 오류

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformExternalApiTemporarilyFailedError#

Bases: GetPlatformAccountHolderError

외부 api의 일시적인 오류

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformInsufficientDataToChangePartnerTypeError#

Bases: SchedulePartnerError, UpdatePlatformPartnerError

파트너 타입 수정에 필요한 데이터가 부족한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformInvalidSettlementFormulaError#

Bases: UpdatePlatformError

platform_fee: PlatformSettlementFormulaError | None#
discount_share: PlatformSettlementFormulaError | None#
additional_fee: PlatformSettlementFormulaError | None#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformMemberCompanyConnectedPartnerBrnUnchangeableError#

Bases: SchedulePartnerError, UpdatePlatformPartnerError

연동 사업자로 연동된 파트너의 사업자등록번호를 변경하려고 시도한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformMemberCompanyConnectedPartnerCannotBeScheduledError#

Bases: ReschedulePartnerError, SchedulePartnerError

연동 사업자로 연동된 파트너를 예약 수정하려고 시도한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformMemberCompanyConnectedPartnerTypeUnchangeableError#

Bases: SchedulePartnerError, UpdatePlatformPartnerError

연동 사업자로 연동된 파트너의 파트너 유형을 변경하려고 시도한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformMemberCompanyConnectedPartnersCannotBeScheduledError#

Bases: SchedulePlatformPartnersError

연동 사업자로 연동된 파트너들을 예약 수정하려고 시도한 경우

ids: list[str]#
graphql_ids: list[str]#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformNotEnabledError#

Bases: ArchivePlatformAdditionalFeePolicyError, ArchivePlatformContractError, ArchivePlatformDiscountSharePolicyError, ArchivePlatformPartnerError, CancelPlatformAdditionalFeePolicyScheduleError, CancelPlatformContractScheduleError, CancelPlatformDiscountSharePolicyScheduleError, CancelPlatformPartnerScheduleError, CreatePlatformAdditionalFeePolicyError, CreatePlatformContractError, CreatePlatformDiscountSharePolicyError, CreatePlatformManualTransferError, CreatePlatformOrderCancelTransferError, CreatePlatformOrderTransferError, CreatePlatformPartnerError, CreatePlatformPartnersError, DeletePlatformTransferError, GetPlatformAccountHolderError, GetPlatformAccountTransfersError, GetPlatformAdditionalFeePoliciesError, GetPlatformAdditionalFeePolicyError, GetPlatformAdditionalFeePolicyScheduleError, GetPlatformBulkPayoutsError, GetPlatformCompanyStateError, GetPlatformContractError, GetPlatformContractScheduleError, GetPlatformContractsError, GetPlatformDiscountSharePoliciesError, GetPlatformDiscountSharePolicyError, GetPlatformDiscountSharePolicyFilterOptionsError, GetPlatformDiscountSharePolicyScheduleError, GetPlatformError, GetPlatformPartnerError, GetPlatformPartnerFilterOptionsError, GetPlatformPartnerScheduleError, GetPlatformPartnerSettlementsError, GetPlatformPartnersError, GetPlatformPayoutsError, GetPlatformSettingError, GetPlatformTransferError, GetPlatformTransferSummariesError, RecoverPlatformAdditionalFeePolicyError, RecoverPlatformContractError, RecoverPlatformDiscountSharePolicyError, RecoverPlatformPartnerError, RescheduleAdditionalFeePolicyError, RescheduleContractError, RescheduleDiscountSharePolicyError, ReschedulePartnerError, ScheduleAdditionalFeePolicyError, ScheduleContractError, ScheduleDiscountSharePolicyError, SchedulePartnerError, SchedulePlatformPartnersError, UpdatePlatformAdditionalFeePolicyError, UpdatePlatformContractError, UpdatePlatformDiscountSharePolicyError, UpdatePlatformError, UpdatePlatformPartnerError, UpdatePlatformSettingError

플랫폼 기능이 활성화되지 않아 요청을 처리할 수 없는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformNotSupportedBankError#

Bases: GetPlatformAccountHolderError

지원하지 않는 은행인 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformOrderDetailMismatchedError#

Bases: CreatePlatformOrderCancelTransferError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformOrderTransferAlreadyCancelledError#

Bases: CreatePlatformOrderCancelTransferError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformPartnerIdAlreadyExistsError#

Bases: CreatePlatformPartnerError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformPartnerIdsAlreadyExistError#

Bases: CreatePlatformPartnersError

ids: list[str]#
graphql_ids: list[str]#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformPartnerIdsDuplicatedError#

Bases: CreatePlatformPartnersError

ids: list[str]#
graphql_ids: list[str]#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformPartnerNotFoundError#

Bases: ArchivePlatformPartnerError, CancelPlatformPartnerScheduleError, CreatePlatformManualTransferError, CreatePlatformOrderTransferError, GetPlatformPartnerError, GetPlatformPartnerScheduleError, RecoverPlatformPartnerError, ReschedulePartnerError, SchedulePartnerError, UpdatePlatformPartnerError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformPartnerScheduleAlreadyExistsError#

Bases: SchedulePartnerError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformPartnerSchedulesAlreadyExistError#

Bases: SchedulePlatformPartnersError

ids: list[str]#
graphql_ids: list[str]#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformPaymentNotFoundError#

Bases: CreatePlatformOrderCancelTransferError, CreatePlatformOrderTransferError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformProductIdDuplicatedError#

Bases: CreatePlatformOrderCancelTransferError, CreatePlatformOrderTransferError

id: str#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformProductIdNotFoundError#

Bases: CreatePlatformOrderCancelTransferError

id: str#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformSettlementAmountExceededError#

Bases: CreatePlatformOrderCancelTransferError, CreatePlatformOrderTransferError

정산 가능한 금액을 초과한 경우

product_id: str | None#
requested_amount: int#
allowed_amount: int#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformSettlementCancelAmountExceededPortOneCancelError#

Bases: CreatePlatformOrderCancelTransferError

정산 취소 요청 금액이 포트원 결제 취소 내역의 취소 금액을 초과한 경우

registered_settlement_cancel_amount: int#
request_settlement_cancel_amount: int#
port_one_cancel_amount: int#
amount_type: PlatformPortOnePaymentCancelAmountType#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformSettlementParameterNotFoundError#

Bases: CreatePlatformOrderTransferError

정산 파라미터가 존재하지 않는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformSettlementPaymentAmountExceededPortOnePaymentError#

Bases: CreatePlatformOrderTransferError

정산 요청 결제 금액이 포트원 결제 내역의 결제 금액을 초과한 경우

registered_settlement_payment_amount: int#
request_settlement_payment_amount: int#
port_one_payment_amount: int#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformSettlementSupplyWithVatAmountExceededPortOnePaymentError#

Bases: CreatePlatformOrderTransferError

정산 요청 공급대가가 포트원 결제 내역의 공급대가를 초과한 경우

registered_settlement_supply_with_vat_amount: int#
request_settlement_supply_with_vat_amount: int#
port_one_supply_with_vat_amount: int#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformSettlementTaxFreeAmountExceededPortOnePaymentError#

Bases: CreatePlatformOrderTransferError

정산 요청 면세 금액이 포트원 결제 내역의 면세 금액을 초과한 경우

registered_settlement_tax_free_amount: int#
request_settlement_tax_free_amount: int#
port_one_tax_free_amount: int#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformTransferAlreadyExistsError#

Bases: CreatePlatformOrderCancelTransferError, CreatePlatformOrderTransferError

transfer_id: str#
transfer_graphql_id: str#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformTransferDiscountSharePolicyNotFoundError#

Bases: CreatePlatformOrderCancelTransferError

discount_share_policy_id: str#
discount_share_policy_graphql_id: str#
product_id: str | None#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformTransferNonDeletableStatusError#

Bases: DeletePlatformTransferError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformTransferNotFoundError#

Bases: CreatePlatformOrderCancelTransferError, DeletePlatformTransferError, GetPlatformTransferError

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PlatformUserDefinedPropertyNotFoundError#

Bases: CreatePlatformManualTransferError, CreatePlatformOrderCancelTransferError, CreatePlatformOrderTransferError, CreatePlatformPartnerError, CreatePlatformPartnersError, SchedulePartnerError, SchedulePlatformPartnersError, UpdatePlatformPartnerError

사용자 정의 속성이 존재 하지 않는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PromotionDiscountRetainOptionShouldNotBeChangedError#

Bases: CancelPaymentError

프로모션 혜택 유지 옵션을 이전 부분 취소와 다른 것으로 입력한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PromotionNotFoundError#

Bases: GetPromotionError

프로모션이 존재하지 않는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.PromotionPayMethodDoesNotMatchError#

Bases: PayInstantlyError, PayWithBillingKeyError

결제수단이 프로모션에 지정된 것과 일치하지 않는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.SumOfPartsExceedsCancelAmountError#

Bases: CancelPaymentError

면세 금액 등 하위 항목들의 합이 전체 취소 금액을 초과한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.SumOfPartsExceedsTotalAmountError#

Bases: CreatePaymentScheduleError, PayInstantlyError, PayWithBillingKeyError

면세 금액 등 하위 항목들의 합이 전체 결제 금액을 초과한 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.UnauthorizedError#

Bases: ApplyEscrowLogisticsError, ArchivePlatformAdditionalFeePolicyError, ArchivePlatformContractError, ArchivePlatformDiscountSharePolicyError, ArchivePlatformPartnerError, CancelCashReceiptError, CancelPaymentError, CancelPlatformAdditionalFeePolicyScheduleError, CancelPlatformContractScheduleError, CancelPlatformDiscountSharePolicyScheduleError, CancelPlatformPartnerScheduleError, CloseVirtualAccountError, ConfirmEscrowError, ConfirmIdentityVerificationError, CreatePaymentScheduleError, CreatePlatformAdditionalFeePolicyError, CreatePlatformContractError, CreatePlatformDiscountSharePolicyError, CreatePlatformManualTransferError, CreatePlatformOrderCancelTransferError, CreatePlatformOrderTransferError, CreatePlatformPartnerError, CreatePlatformPartnersError, DeleteBillingKeyError, DeletePlatformTransferError, DownloadPlatformTransferSheetError, GetAllPaymentsError, GetBillingKeyInfoError, GetBillingKeyInfosError, GetCashReceiptError, GetIdentityVerificationError, GetKakaopayPaymentOrderError, GetPaymentError, GetPaymentScheduleError, GetPaymentSchedulesError, GetPaymentTransactionsError, GetPaymentsError, GetPlatformAccountHolderError, GetPlatformAccountTransfersError, GetPlatformAdditionalFeePoliciesError, GetPlatformAdditionalFeePolicyError, GetPlatformAdditionalFeePolicyScheduleError, GetPlatformBulkPayoutsError, GetPlatformCompanyStateError, GetPlatformContractError, GetPlatformContractScheduleError, GetPlatformContractsError, GetPlatformDiscountSharePoliciesError, GetPlatformDiscountSharePolicyError, GetPlatformDiscountSharePolicyFilterOptionsError, GetPlatformDiscountSharePolicyScheduleError, GetPlatformError, GetPlatformPartnerError, GetPlatformPartnerFilterOptionsError, GetPlatformPartnerScheduleError, GetPlatformPartnerSettlementsError, GetPlatformPartnersError, GetPlatformPayoutsError, GetPlatformSettingError, GetPlatformTransferError, GetPlatformTransferSummariesError, GetPromotionError, IssueBillingKeyError, IssueCashReceiptError, LoginViaApiSecretError, ModifyEscrowLogisticsError, PayInstantlyError, PayWithBillingKeyError, PreRegisterPaymentError, RecoverPlatformAdditionalFeePolicyError, RecoverPlatformContractError, RecoverPlatformDiscountSharePolicyError, RecoverPlatformPartnerError, RefreshTokenError, RegisterStoreReceiptError, RescheduleAdditionalFeePolicyError, RescheduleContractError, RescheduleDiscountSharePolicyError, ReschedulePartnerError, ResendIdentityVerificationError, ResendWebhookError, RevokePaymentSchedulesError, ScheduleAdditionalFeePolicyError, ScheduleContractError, ScheduleDiscountSharePolicyError, SchedulePartnerError, SchedulePlatformPartnersError, SendIdentityVerificationError, UpdatePlatformAdditionalFeePolicyError, UpdatePlatformContractError, UpdatePlatformDiscountSharePolicyError, UpdatePlatformError, UpdatePlatformPartnerError, UpdatePlatformSettingError

인증 정보가 올바르지 않은 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#
exception portone_server_sdk.errors.UnknownError#

Bases: LoginViaApiSecretError, RefreshTokenError, ConfirmIdentityVerificationError, GetIdentityVerificationError, ResendIdentityVerificationError, SendIdentityVerificationError, DeleteBillingKeyError, GetBillingKeyInfoError, GetBillingKeyInfosError, IssueBillingKeyError, CancelCashReceiptError, GetCashReceiptError, IssueCashReceiptError, ApplyEscrowLogisticsError, CancelPaymentError, CloseVirtualAccountError, ConfirmEscrowError, GetAllPaymentsError, GetPaymentError, GetPaymentTransactionsError, GetPaymentsError, ModifyEscrowLogisticsError, PayInstantlyError, PayWithBillingKeyError, PreRegisterPaymentError, RegisterStoreReceiptError, ResendWebhookError, CreatePaymentScheduleError, GetPaymentScheduleError, GetPaymentSchedulesError, RevokePaymentSchedulesError, GetPromotionError, GetKakaopayPaymentOrderError, GetPlatformAccountHolderError, GetPlatformAccountTransfersError, GetPlatformBulkPayoutsError, GetPlatformCompanyStateError, CancelPlatformAdditionalFeePolicyScheduleError, CancelPlatformContractScheduleError, CancelPlatformDiscountSharePolicyScheduleError, CancelPlatformPartnerScheduleError, GetPlatformAdditionalFeePolicyScheduleError, GetPlatformContractScheduleError, GetPlatformDiscountSharePolicyFilterOptionsError, GetPlatformDiscountSharePolicyScheduleError, GetPlatformError, GetPlatformPartnerFilterOptionsError, GetPlatformPartnerScheduleError, GetPlatformSettingError, RescheduleAdditionalFeePolicyError, RescheduleContractError, RescheduleDiscountSharePolicyError, ReschedulePartnerError, ScheduleAdditionalFeePolicyError, ScheduleContractError, ScheduleDiscountSharePolicyError, SchedulePartnerError, SchedulePlatformPartnersError, UpdatePlatformError, UpdatePlatformSettingError, ArchivePlatformPartnerError, CreatePlatformPartnerError, CreatePlatformPartnersError, GetPlatformPartnerError, GetPlatformPartnersError, RecoverPlatformPartnerError, UpdatePlatformPartnerError, GetPlatformPartnerSettlementsError, GetPlatformPayoutsError, ArchivePlatformAdditionalFeePolicyError, ArchivePlatformContractError, ArchivePlatformDiscountSharePolicyError, CreatePlatformAdditionalFeePolicyError, CreatePlatformContractError, CreatePlatformDiscountSharePolicyError, GetPlatformAdditionalFeePoliciesError, GetPlatformAdditionalFeePolicyError, GetPlatformContractError, GetPlatformContractsError, GetPlatformDiscountSharePoliciesError, GetPlatformDiscountSharePolicyError, RecoverPlatformAdditionalFeePolicyError, RecoverPlatformContractError, RecoverPlatformDiscountSharePolicyError, UpdatePlatformAdditionalFeePolicyError, UpdatePlatformContractError, UpdatePlatformDiscountSharePolicyError, CreatePlatformManualTransferError, CreatePlatformOrderCancelTransferError, CreatePlatformOrderTransferError, DeletePlatformTransferError, DownloadPlatformTransferSheetError, GetPlatformTransferError, GetPlatformTransferSummariesError

알 수 없는 경우

message: str | None#
error: dict#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception portone_server_sdk.errors.WebhookNotFoundError#

Bases: ResendWebhookError

웹훅 내역이 존재하지 않는 경우

args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

message: str | None#