Last updated 6 months ago
1000
POST /payments/create-payment-intent HTTP/1.1 Host: Content-Type: application/json Accept: */* Content-Length: 15 { "amount": 1000 }
Payment intent created successfully
{ "id": "pi_1F7X2Y2eZvKYlo2C0q0G5Z2e", "amount": 1000, "currency": "usd", "clientSecret": "pi_1F7X2Y2eZvKYlo2C0q0G5Z2e_secret_12345", "status": "requires_payment_method" }