clientSecret the front-end mounts in the embedded Stripe surface (Embedded Checkout or Payment Element, to be decided).status: pending.Authorization: Bearer ********************offline_access-Offline accessopenid-OpenIDprofile-Profileemail-Emailcurl --location 'https://api.belga.press/belgapress/api/payments' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"resourceType": "press_release",
"resourceId": "7b2c1e90-9c1a-4f3e-bf2a-2f5d9a0c1d34",
"returnUrl": "https://app.belga.press/press-releases/7b2c1e90/payment/return"
}'{
"id": "pay_3Nf1Qe2eZvKYlo2C",
"resourceType": "press_release",
"resourceId": "7b2c1e90-9c1a-4f3e-bf2a-2f5d9a0c1d34",
"status": "pending",
"amount": {
"amount": 49500,
"currency": "EUR"
},
"clientSecret": "cs_test_a1b2c3_secret_x9y8z7",
"paymentMethodTypes": [
"card",
"bancontact"
],
"invoiceSent": false,
"refundId": "string",
"failureReason": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}