Markdown

GitBook supports many different types of content, and is backed by Markdown — meaning you can copy and paste any existing Markdown files directly into the editor!

thin_event = client.parse_thin_event(payload, signature_header, endpoint_secret)
event = client.v2.core.events.retrieve(thin_event.id)
if isinstance(event, V1BillingMeterErrorReportTriggeredEvent):
    # On each type of event, the Stripe library provides a "fetch_related_object" method
    # that performs a network request to Stripe to fetch the latest version
    # of the object directly associated with the event, in this case, an
    # "Meter" object.
    meter = event.fetch_related_object()

新增托管交易✅

post
Header parameters
AuthorizationstringOptionalExample: Bearer qwejhqwiueyqiuwye
Body
order_idstringOptional

order id

receiver_usernamestringRequired
pricenumberRequired
currencystringRequired

USD - United States EUR - Eurozone (19 countries) JPY - Japan GBP - United Kingdom AUD - Australia CAD - Canada CHF - Switzerland & Liechtenstein CNY - China HKD - Hong Kong NZD - New Zealand KRW - South Korea SGD - Singapore SEK - Sweden NOK - Norway MXN - Mexico INR - India RUB - Russia ZAR - South Africa BRL - Brazil TRY - Turkey TWD - Taiwan DKK - Denmark PLN - Poland THB - Thailand IDR - Indonesia HUF - Hungary CZK - Czech Republic ILS - Israel MYR - Malaysia PHP - Philippines PKR - Pakistan CLP - Chile AED - United Arab Emirates SAR - Saudi Arabia COP - Colombia EGP - Egypt VND - Vietnam BDT - Bangladesh KWD - Kuwait QAR - Qatar UAH - Ukraine PEN - Peru MAD - Morocco NGN - Nigeria KZT - Kazakhstan ARS - Argentina DZD - Algeria LKR - Sri Lanka OMR - Oman BHD - Bahrain ETB - Ethiopia CDF - Democratic Republic of the Congo MMK - Myanmar KES - Kenya GHS - Ghana NPR - Nepal VES - Venezuela IQD - Iraq TZS - Tanzania COUPON - Coupon balance (用于抵扣平台费用)

payment_methodstringRequired

余额使用balance,其他和Checkout相同

payment_paramsstringRequired
pinstringOptional

余额支付需要传,其他不需要

Responses
200Success
application/json
post
/api/deposit-payments
200Success

Feel free to test it out and copy the Markdown below by hovering over the code block in the upper right, and pasting into a new line underneath.

If you have multiple files, GitBook makes it easy to import full repositories too — allowing you to keep your GitBook content in sync.

Last updated