portone_server_sdk.errors

Contents

portone_server_sdk.errors#

Exceptions

AlreadyPaidError

결제가 이미 완료된 경우

AlreadyPaidOrWaitingError

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

B2bBankAccountNotFoundError

계좌가 존재하지 않는 경우

B2bCertificateUnregisteredError

인증서가 등록되어 있지 않은 경우

B2bCompanyAlreadyRegisteredError

사업자가 이미 연동되어 있는 경우

B2bCompanyNotFoundError

사업자가 존재하지 않는 경우

B2bContactNotFoundError

담당자가 존재하지 않는 경우

B2bExternalServiceError

외부 서비스에서 에러가 발생한 경우

B2bFileNotFoundError

업로드한 파일을 찾을 수 없는 경우

B2bFinancialSystemCommunicationError

금융기관과의 통신에 실패한 경우

B2bFinancialSystemFailureError

금융기관 장애

B2bFinancialSystemUnderMaintenanceError

금융기관 시스템이 점검 중인 경우

B2bForeignExchangeAccountError

계좌 정보 조회가 불가능한 외화 계좌인 경우

B2bHometaxUnderMaintenanceError

홈택스가 점검중이거나 순단이 발생한 경우

B2bIdAlreadyExistsError

ID가 이미 사용중인 경우

B2bMemberCompanyNotFoundError

연동 사업자가 존재하지 않는 경우

B2bNotEnabledError

B2B 기능이 활성화되지 않은 경우

B2bRecipientNotFoundError

공급받는자가 존재하지 않은 경우

B2bRegularMaintenanceTimeError

금융기관 시스템이 정기 점검 중인 경우

B2bSupplierNotFoundError

공급자가 존재하지 않은 경우

B2bSuspendedAccountError

정지 계좌인 경우

B2bTaxInvoiceAttachmentNotFoundError

세금계산서의 첨부파일을 찾을 수 없는 경우

B2bTaxInvoiceNoRecipientDocumentKeyError

세금계산서에 공급받는자 문서 번호가 기입되지 않은 경우

B2bTaxInvoiceNoSupplierDocumentKeyError

세금계산서에 공급자 문서 번호가 기입되지 않은 경우

B2bTaxInvoiceNonDeletableStatusError

세금계산서가 삭제 가능한 상태가 아닌 경우

B2bTaxInvoiceNotFoundError

세금계산서가 존재하지 않은 경우

B2bTaxInvoiceNotIssuedStatusError

세금계산서가 발행된(ISSUED) 상태가 아닌 경우

B2bTaxInvoiceNotRegisteredStatusError

세금계산서가 임시저장 상태가 아닌 경우

B2bTaxInvoiceNotRequestedStatusError

세금계산서가 역발행 대기 상태가 아닌 경우

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에 대한 수동 재시도 횟수가 최대에 도달한 경우

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

정산 건 식별에 실패한 경우

PlatformContractAlreadyExistsError

PlatformContractNotFoundError

PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError

PlatformContractScheduleAlreadyExistsError

PlatformContractsNotFoundError

PlatformCurrencyNotSupportedError

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

PlatformDiscountSharePoliciesNotFoundError

PlatformDiscountSharePolicyAlreadyExistsError

PlatformDiscountSharePolicyIdDuplicatedError

PlatformDiscountSharePolicyNotFoundError

PlatformDiscountSharePolicyScheduleAlreadyExistsError

PlatformExternalApiFailedError

외부 api 오류

PlatformExternalApiTemporarilyFailedError

외부 api의 일시적인 오류

PlatformInsufficientDataToChangePartnerTypeError

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

PlatformInvalidSettlementFormulaError

PlatformNotEnabledError

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

PlatformNotSupportedBankError

지원하지 않는 은행인 경우

PlatformOrderDetailMismatchedError

PlatformOrderTransferAlreadyCancelledError

PlatformPartnerIdAlreadyExistsError

PlatformPartnerIdsAlreadyExistError

PlatformPartnerIdsDuplicatedError

PlatformPartnerNotFoundError

PlatformPartnerScheduleAlreadyExistsError

PlatformPartnerSchedulesAlreadyExistError

PlatformPaymentNotFoundError

PlatformProductIdDuplicatedError

PlatformProductIdNotFoundError

PlatformSettlementAmountExceededError

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

PlatformSettlementCancelAmountExceededPortOneCancelError

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

PlatformSettlementParameterNotFoundError

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

PlatformSettlementPaymentAmountExceededPortOnePaymentError

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

PlatformSettlementSupplyWithVatAmountExceededPortOnePaymentError

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

PlatformSettlementTaxFreeAmountExceededPortOnePaymentError

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

PlatformTransferAlreadyExistsError

PlatformTransferDiscountSharePolicyNotFoundError

PlatformTransferNonDeletableStatusError

PlatformTransferNotFoundError

PlatformUserDefinedPropertyNotFoundError

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

PortOneError

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

PromotionNotFoundError

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

PromotionPayMethodDoesNotMatchError

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

RemainedAmountLessThanPromotionMinPaymentAmountError

부분 취소 시, 취소하게 될 경우 남은 금액이 프로모션의 최소 결제 금액보다 작아지는 경우

SumOfPartsExceedsCancelAmountError

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

SumOfPartsExceedsTotalAmountError

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

UnauthorizedError

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

UnknownError

알 수 없는 경우

WebhookNotFoundError

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

exception portone_server_sdk.errors.AlreadyPaidError#

결제가 이미 완료된 경우

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

계좌가 존재하지 않는 경우

args#
with_traceback()#

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

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

인증서가 등록되어 있지 않은 경우

args#
with_traceback()#

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

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

사업자가 이미 연동되어 있는 경우

args#
with_traceback()#

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

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

사업자가 존재하지 않는 경우

args#
with_traceback()#

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

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

담당자가 존재하지 않는 경우

args#
with_traceback()#

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

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

외부 서비스에서 에러가 발생한 경우

args#
with_traceback()#

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

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

업로드한 파일을 찾을 수 없는 경우

args#
with_traceback()#

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

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

금융기관과의 통신에 실패한 경우

args#
with_traceback()#

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

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

금융기관 장애

args#
with_traceback()#

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

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

금융기관 시스템이 점검 중인 경우

args#
with_traceback()#

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

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

계좌 정보 조회가 불가능한 외화 계좌인 경우

args#
with_traceback()#

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

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

홈택스가 점검중이거나 순단이 발생한 경우

args#
with_traceback()#

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

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

ID가 이미 사용중인 경우

args#
with_traceback()#

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

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

연동 사업자가 존재하지 않는 경우

args#
with_traceback()#

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

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

B2B 기능이 활성화되지 않은 경우

args#
with_traceback()#

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

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

공급받는자가 존재하지 않은 경우

args#
with_traceback()#

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

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

금융기관 시스템이 정기 점검 중인 경우

args#
with_traceback()#

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

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

공급자가 존재하지 않은 경우

args#
with_traceback()#

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

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

정지 계좌인 경우

args#
with_traceback()#

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

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

세금계산서의 첨부파일을 찾을 수 없는 경우

args#
with_traceback()#

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

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

세금계산서에 공급받는자 문서 번호가 기입되지 않은 경우

args#
with_traceback()#

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

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

세금계산서에 공급자 문서 번호가 기입되지 않은 경우

args#
with_traceback()#

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

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

세금계산서가 삭제 가능한 상태가 아닌 경우

삭제 가능한 상태는 REGISTERED, ISSUE_REFUSED, REQUEST_CANCELLED_BY_RECIPIENT, ISSUE_CANCELLED_BY_SUPPLIER, SENDING_FAILED 입니다.

args#
with_traceback()#

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

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

세금계산서가 존재하지 않은 경우

args#
with_traceback()#

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

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

세금계산서가 발행된(ISSUED) 상태가 아닌 경우

args#
with_traceback()#

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

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

세금계산서가 임시저장 상태가 아닌 경우

args#
with_traceback()#

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

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

세금계산서가 역발행 대기 상태가 아닌 경우

args#
with_traceback()#

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

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

빌링키가 이미 삭제된 경우

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.BillingKeyNotIssuedError#
args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

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#

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

args#
with_traceback()#

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

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

요청이 거절된 경우

args#
with_traceback()#

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

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

본인인증 건이 이미 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#

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

본인인증 건이 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#

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

동일한 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.PaymentAlreadyCancelledError#

결제가 이미 취소된 경우

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

결제가 완료되지 않은 경우

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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#

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformAdditionalFeePoliciesNotFoundError#
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#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformAdditionalFeePolicyNotFoundError#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformAdditionalFeePolicyScheduleAlreadyExistsError#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError#
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#

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformCancelOrderTransfersExistsError#
args#
with_traceback()#

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

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

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

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#
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#
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#
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#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformCancellationNotFoundError#
args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

정산 건 식별에 실패한 경우

args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformContractAlreadyExistsError#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformContractNotFoundError#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError#
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#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformContractsNotFoundError#
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#

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

args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformDiscountSharePoliciesNotFoundError#
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#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformDiscountSharePolicyIdDuplicatedError#
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#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformDiscountSharePolicyScheduleAlreadyExistsError#
args#
with_traceback()#

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

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

외부 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#

외부 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#

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

args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformInvalidSettlementFormulaError#
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.PlatformNotEnabledError#

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

args#
with_traceback()#

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

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

지원하지 않는 은행인 경우

args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformOrderDetailMismatchedError#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformOrderTransferAlreadyCancelledError#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformPartnerIdAlreadyExistsError#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformPartnerIdsAlreadyExistError#
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#
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#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformPartnerScheduleAlreadyExistsError#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformPartnerSchedulesAlreadyExistError#
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#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformProductIdDuplicatedError#
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#
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#

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

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#

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

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#

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

args#
with_traceback()#

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

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

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

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#

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

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#

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

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#
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#
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#
args#
with_traceback()#

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

message: str | None#
exception portone_server_sdk.errors.PlatformTransferNotFoundError#
args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

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

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

exception portone_server_sdk.errors.PromotionNotFoundError#

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

부분 취소 시, 취소하게 될 경우 남은 금액이 프로모션의 최소 결제 금액보다 작아지는 경우

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

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

args#
with_traceback()#

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

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

알 수 없는 경우

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#

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

args#
with_traceback()#

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

message: str | None#