curl --location --request POST 'https://provisioning.sipay.com.tr/ccpayment/purchase/link' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"merchant_key": "$2y$10$HmRgYosneqcwHj.UH7upGuyCZqpQ1ITgSMj9Vvxn.t6f.Vdf2SQFO",
"name": "Sipay",
"surname": "Sipay",
"currency_code": "TRY",
"invoice": "{\"invoice_id\":\"5H1smeterg3rewt\",\"invoice_description\":\"POSTMAN - INVOICE TEST DESCRIPTION\",\"total\":\"100.00\",\"discount\":0,\"coupon\":null,\"return_url\":\"https://localhost:44381/servis/Odeme/Sipay/paylink.ashx?r=1\",\"cancel_url\":\"https://localhost:44381/servis/Odeme/Sipay/paylink.ashx?r=2\",\"is_comission_from_user\":1,\"commission_for_installment\":\"1,2,3,4,5,6,7,8,9,10,11,12\",\"items\":[{\"name\":\"Item\",\"price\":\"100.00\",\"quantity\":1,\"description\":\"item description\"}],\"bill_address1\":\"İstanbul Kadıköy\",\"bill_address2\":\"İstanbul Üsküdar\",\"bill_city\":\"İstanbul\",\"bill_postcode\":\"34734\",\"bill_state\":\"Bill State Example\",\"bill_email\":\"testtest@gmail.com\",\"bill_phone\":\"\",\"response_method\":\"POST\"}"
}'