curl --location --request POST 'http://localhost:3000/payments' \
--header 'x-client: your-client-id-here' \
--header 'Content-Type: application/json' \
--header 'x-access-token;' \
--data-raw '{
"provider": "stripe",
"order": {
"productType": "product",
"productId": "prod_123",
"email": "test@example.com",
"username": "testuser",
"currency": "USD",
"type": "payment",
"items": [
{
"productId": "prod_123",
"productSKU": "SKU001",
"productName": "Test Product",
"unitPrice": 1000,
"quantity": 1
}
],
"successURL": "https://example.com/success",
"cancelURL": "https://example.com/cancel"
}
}'