portone_server_sdk.platform.bulk_payout

Contents

portone_server_sdk.platform.bulk_payout#

Classes

Exceptions

exception portone_server_sdk.platform.bulk_payout.GetPlatformBulkPayoutsError#

Bases: PortOneError

args#
with_traceback()#

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

message: str | None#
class portone_server_sdk.platform.bulk_payout.GetPlatformBulkPayoutsBody#

Bases: object

is_for_test: bool | None#
page: PageInput | None#
filter: PlatformBulkPayoutFilterInput | None#
class portone_server_sdk.platform.bulk_payout.GetPlatformBulkPayoutsResponse#

Bases: object

items: list[PlatformBulkPayout]#
page: PageInfo#
counts: PlatformBulkPayoutStatusStats#
class portone_server_sdk.platform.bulk_payout.PlatformBulkPayout#

Bases: object

id: str#

일괄 지급 고유 아이디

graphql_id: str#
name: str#
creator_id: str#
method: Literal['DIRECT', 'AGENCY'] | str#
are_payouts_generated: bool#
total_payout_amount: int#

(int64)

status: Literal['SCHEDULED', 'PREPARING', 'PREPARED', 'ONGOING', 'CANCELLED', 'STOPPED', 'COMPLETED'] | str#
payout_stats: PlatformBulkPayoutStats#
status_updated_at: str#

(RFC 3339 date-time)

created_at: str#

(RFC 3339 date-time)

updated_at: str#

(RFC 3339 date-time)

scheduled_at: str | None#

(RFC 3339 date-time)

class portone_server_sdk.platform.bulk_payout.PlatformBulkPayoutFilterInput#

Bases: object

statuses: list[Literal['SCHEDULED', 'PREPARING', 'PREPARED', 'ONGOING', 'CANCELLED', 'STOPPED', 'COMPLETED'] | str] | None#
methods: list[Literal['DIRECT', 'AGENCY'] | str] | None#
criteria: PlatformBulkPayoutFilterInputCriteria | None#
class portone_server_sdk.platform.bulk_payout.PlatformBulkPayoutFilterInputCriteria#

Bases: object

timestamp_range: DateTimeRange | None#
bulk_payout_id: str | None#
class portone_server_sdk.platform.bulk_payout.PlatformBulkPayoutStats#

Bases: object

amount: PlatformPayoutStatusStats#
count: PlatformPayoutStatusStats#
class portone_server_sdk.platform.bulk_payout.PlatformBulkPayoutStatusStats#

Bases: object

scheduled: int#

(int64)

preparing: int#

(int64)

prepared: int#

(int64)

ongoing: int#

(int64)

stopped: int#

(int64)

cancelled: int#

(int64)

completed: int#

(int64)

class portone_server_sdk.platform.bulk_payout.BulkPayoutClient#

Bases: object

get_platform_bulk_payouts(*, is_for_test: bool | None = None, page: PageInput | None = None, filter: PlatformBulkPayoutFilterInput | None = None) GetPlatformBulkPayoutsResponse#

일괄 지급 내역 다건 조회

성공 응답으로 조회된 일괄 지급 내역 리스트와 페이지 정보 및 상태 별 개수 정보를 반환합니다.

Parameters:
  • is_for_test (bool, optional)

  • page (PageInput, optional)

  • filter (PlatformBulkPayoutFilterInput, optional)

Raises:

GetPlatformBulkPayoutsError

async get_platform_bulk_payouts_async(*, is_for_test: bool | None = None, page: PageInput | None = None, filter: PlatformBulkPayoutFilterInput | None = None) GetPlatformBulkPayoutsResponse#

일괄 지급 내역 다건 조회

성공 응답으로 조회된 일괄 지급 내역 리스트와 페이지 정보 및 상태 별 개수 정보를 반환합니다.

Parameters:
  • is_for_test (bool, optional)

  • page (PageInput, optional)

  • filter (PlatformBulkPayoutFilterInput, optional)

Raises:

GetPlatformBulkPayoutsError