Authorization: Bearer ********************curl --location 'https://api.hyperzod.app/store/v1/payment/pg/paymentIntent/stripe' \
--header 'x-tenant: 42' \
--header 'x-client-device: web' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"payment_type": "order",
"payment_ref_id": "10842",
"user_id": 1001,
"user_name": "Emily Carter",
"user_email": "emily.carter@example.com",
"address": {
"line1": "123 Market Street",
"country": "United States",
"city": "San Francisco"
},
"country_code": "US",
"merchant_id": "64b7f2a9c1e4d5038a6b9120"
}'{
"success": true,
"service": "payment",
"status_code": 200,
"message": "Request completed successfully.",
"data": {
"id": 15670,
"user_id": 1001,
"user_email": "emily.carter@example.com",
"payment_mode_id": 3,
"payment_type": "order",
"payment_ref_id": "10842",
"currency_code": "USD",
"amount": 30,
"pg_intent_resp": {
"type": "redirect",
"response": {
"url": "https://payments.example.com/checkout/demo-15670"
}
},
"client_source": "web"
}
}