1. Card
Pinddpay
  • Guides
    • Integration Instructions
    • Signature
  • Payin
    • Create order session
      POST
    • Create a transaction
      POST
    • Query a transaction
      GET
    • Webhook
  • Payout
    • Create a payout
      POST
    • Query balance
      GET
    • Webhook
  • Subscription
    • Card
      • Cancel subscription
        POST
      • Webhook
  • Other
    • Enums
    • Test cards
  1. Card

Webhook

开发中
Webhook
POST
Create card subscription

1.How to signature#

Signature Algorithm#

MD5
32-bit
Uppercase

Signature content#

Before encryptionAfter encryption
Example123456E10ADC3949BA59ABBE56E057F20F883E

Get the signature string of the request#

In each request header, get the value named sign-token

请求参数

Header 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://your-api-server.com' \
--header 'sign-token;'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "resouce": {
        "capture": {
            "userId": "string",
            "currency": "string",
            "amount": "string",
            "id": "string",
            "contractId": "string",
            "tradeNo": "string"
        },
        "plan": {
            "id": "string",
            "merchantPlanId": "string",
            "amount": "string",
            "currency": "string",
            "intervalUnit": "string",
            "totalCycles": "string"
        }
    },
    "eventId": "string",
    "eventAt": "string",
    "eventName": "subscription.capture.successful",
    "appId": "string"
}
修改于 2025-08-27 09:13:18
上一页
Cancel subscription
下一页
Enums
Built with