- CSSS APIs
- Overview
- Internationalization
- Status code
- Sign code Example
- SIM
- Usage
- Plan
- SMS
- Customized
- Notification
- Mall APIs
- eSIM QR Mall APIs
获取Stripe订阅支付权限
Demo UAT
Demo UAT
POST
/stripeAutoPay
Request
Header Params
Content-Type
string
optional
Default:
application/json
Body Params application/json
email
string
required
partnerCode
string
required
payAmount
string
required
payCurrency
string
required
payId
string
required
sign
string
required
tradeTime
string
required
tradeType
string
required
version
string
required
Example
{
"email": "string",
"partnerCode": "P000818",
"payAmount": "19.99",
"payCurrency": "usd",
"payId": "P0002702020110214193780630",
"sign": "b2a9e697bdff66049803d62ffeffccaf",
"tradeTime": "20181031256548",
"tradeType": "payPalPay",
"version": "3.0"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/stripeAutoPay' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "string",
"partnerCode": "P000818",
"payAmount": "19.99",
"payCurrency": "usd",
"payId": "P0002702020110214193780630",
"sign": "b2a9e697bdff66049803d62ffeffccaf",
"tradeTime": "20181031256548",
"tradeType": "payPalPay",
"version": "3.0"
}'
Responses
🟢200成功
application/json
Body
clientSecret
string
required
customer_id
string
required
publishableKey
string
required
Example
{
"clientSecret": "string",
"customer_id": "string",
"publishableKey": "string"
}
Modified at 2022-10-04 23:23:51