- CSSS APIs
- Overview
- Internationalization
- Status code
- Sign code Example
- SIM
- Usage
- Plan
- SMS
- Customized
- Notification
- Mall APIs
- eSIM QR Mall APIs
v1.1/payment/webhook
Developing
Demo UAT
http://127.0.0.1
Demo UAT
http://127.0.0.1
POST
URL
Request
Header Params
x-access-token
string
required
Accept-Language
string
optional
Content-Type
string
optional
Default:
application/json
Body Params application/json
dateTime
string
required
orderId
string
required
partnerCode
string
required
payAmount
string
required
payCurrency
string
required
type
string
required
Example
{
"dateTime": "1670228581",
"orderId": "string",
"partnerCode": "string",
"payAmount": "100",
"payCurrency": "USD",
"type": "payment_intent.succeeded"
}
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 'http://127.0.0.1URL' \
--header 'x-access-token;' \
--header 'Accept-Language;' \
--header 'Content-Type: application/json' \
--data-raw '{
"dateTime": "1670228581",
"orderId": "string",
"partnerCode": "string",
"payAmount": "100",
"payCurrency": "USD",
"type": "payment_intent.succeeded"
}'
Responses
🟢200OK
application/json
Body
code
integer
required
data
null
required
message
string
required
Example
{
"code": 0,
"data": null,
"message": "操作成功"
}
Modified at 2023-02-01 03:31:19