curl --location --request POST 'https://provisioning.sipay.com.tr/ccpayment/api/paySmart2D' \
--header 'merchant_key: $2y$10$HmRgYosneqcwHj.UH7upGuyCZqpQ1ITgSMj9Vvxn.t6f.Vdf2SQFO' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"cc_holder_name": "John Doe",
"cc_no": "string",
"expiry_month": 0,
"expiry_year": 0,
"cvv": 0,
"currency_code": "string",
"installments_number": 0,
"invoice_id": 0,
"invoice_description": "string",
"name": "string",
"surname": "string",
"total": 0,
"merchant_key": "string",
"hash_key": "string",
"items": "string",
"cancel_url": "string",
"return_url": "string",
"bill_address1": "string",
"bill_address2": "string",
"bill_city": "string",
"bill_postcode": "string",
"bill_state": "string",
"bill_country": "string",
"bill_email": "string",
"bill_phone": "string",
"ip": "string",
"app_lang": "string",
"order_type": 0,
"recurring_payment_number": 0,
"recurring_payment_cycle": "string",
"recurring_payment_interval": "string",
"recurring_web_hook_key": "string"
}
]'{
"status_code": 100,
"status_description": "Payment process successful",
"data": {
"sipay_status": 1,
"order_no": "VP17743519948303411",
"order_id": "VP17743519948303411",
"invoice_id": "recurringdeneme-2345wd425456",
"sipay_payment_method": 1,
"credit_card_no": "540667****5403",
"transaction_type": "Auth",
"payment_status": 1,
"payment_method": 1,
"error_code": 100,
"error": "",
"auth_code": "P38633",
"merchant_commission": 0.1,
"user_commission": 0,
"merchant_commission_percentage": 2,
"merchant_commission_fixed": 0,
"installment": 1,
"amount": 5,
"payment_reason_code": "",
"payment_reason_code_detail": "",
"hash_key": "f892db768f25b142:dc6b:UfN1yvRoaWKyWdOesEcu8qOhNHIHREBFjX9s2__YC3fiYlhxTcVIADREIUQsYXZluSNe2uXUhg5DajKKjGEzU4g==",
"original_bank_error_code": "",
"original_bank_error_description": "",
"host_reference_id": "608300452783"
}
}