x-merchant-no: MC → Configuration Center → Secret Key Management → First row datax-api-key: MC → Configuration Center → Secret Key Management → OpenApi Secret Key → Private Key (UseePay_SK_xxx)x-app-id: MC → Configuration Center → Secret Key Management → Domain Management → The website domain/APP English name added here is the appId (must be approved before calling the API)x-merchant-no parameter, e.g., 50001.x-merchant-no is inconsistent will be returned.POST /api/v1/customer // create customer
Content-Type: application/json
x-merchant-no: merchant-no-001 // customer created by merchant 001
{
"name": "test user",
xxx
}
POST /api/v1/payment_intents // create paymentIntent
Content-Type: application/json
x-merchant-no: merchant-no-002 // PaymentIntent created by merchant 002
{
"amount": 100,
"currency": "USD",
"customerId": "cus_create_by_001" // this customer object was created by merchant 001
}