vpos_typeidentity_numberexpiry_monthexpiry_year cvvcurl --location --request POST 'https://provisioning.sipay.com.tr/ccpayment/api/paySmart2D' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"cc_holder_name": "John Doe",
"cc_no": "40227801****8555",
"cvv": "000",
"expiry_month": "12",
"expiry_year": "2026",
"currency_code": "TRY",
"installments_number": 1,
"invoice_id": "insurancedeneme_1234567",
"invoice_description": "description",
"name": "John",
"surname": "Doe",
"total": 5,
"merchant_key": "$2y$10$HmRgYosneqcwHj.UH7upGuyCZqpQ1ITgSMj9Vvxn.t6f.Vdf2SQFO",
"items": [
{
"name": "test",
"price": 5,
"quantity": 1,
"description": "test"
}
],
"transaction_type": "Auth",
"hash_key": "8591fe3da66c61d7:a4bb:sUitkqJJR9x4SjeB1zBRVkvDK9s3nmPD22zslKAUQ1IeuOPZ5lW7ufSqHBFu9pBEoiFq7NA__DzMQILXK__VNz1YaGTLgyoCkIl97RRKAz+1RWvlEZOxdxGU3tASGdfZL1",
"vpos_type": "insurance",
"identity_number": "20036762130"
}'{
"status_code": 100,
"status_description": "Payment process successful",
"data": {
"sipay_status": 1,
"order_no": "VP17743529649617286",
"order_id": "VP17743529649617286",
"invoice_id": "insurancedeneme_1234",
"sipay_payment_method": 1,
"credit_card_no": "402278****8555",
"transaction_type": "Auth",
"payment_status": 1,
"payment_method": 1,
"error_code": 100,
"error": "Transaction Successful",
"auth_code": 138038,
"merchant_commission": 0,
"user_commission": 0,
"merchant_commission_percentage": 0,
"merchant_commission_fixed": 0,
"installment": 1,
"amount": 5,
"payment_reason_code": "",
"payment_reason_code_detail": "",
"hash_key": "7db1b34026128c62:2473:+m4__QqM8BzI7p5TqT6PAyRgePhGU6XTBJlmL__TYrDy__y77962eSGhH+BQwQ5hVKXFu+Am6nH__5oqXPwUFXGgGA==",
"original_bank_error_code": "",
"original_bank_error_description": "",
"host_reference_id": ""
}
}