MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / create_sign

Method create_sign

app/clients/bigmodel_client.py:77–100  ·  view source on GitHub ↗
(
        self,
        account: AccountRecord,
        session: AccountSessionState,
        *,
        pay_type: str,
        product_id: str,
        customer_id: str,
        biz_id: str,
        invitation_code: str,
    )

Source from the content-addressed store, hash-verified

75 def create_sign(
76 self,
77 account: AccountRecord,
78 session: AccountSessionState,
79 *,
80 pay_type: str,
81 product_id: str,
82 customer_id: str,
83 biz_id: str,
84 invitation_code: str,
85 ) -> ApiCallResult:
86 return self._request(
87 account,
88 session,
89 "POST",
90 "/biz/pay/create-sign",
91 json_body={
92 "payType": pay_type,
93 "productId": product_id,
94 "customerId": customer_id,
95 "bizId": biz_id,
96 "invitationCode": invitation_code,
97 },
98 )
99
100 def update_sign(
101 self,
102 account: AccountRecord,
103 session: AccountSessionState,

Callers 1

_request_signMethod · 0.80

Calls 1

_requestMethod · 0.95

Tested by

no test coverage detected