MaxPara API Documentation v1.2

# Get started

MaxPara digital API documentation


Overview

Author & Product owner
Ege //MaxGroup
Created at:
12/03/2023
Updated at:
01/10/2024
Version:
1.2

# FAST

# DEPOSİT CREATE

METHOD
POST https://maxpara.co/api/deposit TYPE : application/json
NOTE Webhook has contains header value for authentication. http-x-signature Algorithm is base64_encode (hash_hmac('sha256', json_encode($body), {YOUR_SECRET_KEY}));
Example Request:

	{
	"key": "your apikey (we will give you in private)",
	"username": "George Jackson", // (Full name of the Player)
	"user_id": "13535", //(User ID of the Player on Merchant side)
	"token": "12345678921234234324", //(Deposit ID that can be used by the merchant to identify the operation in their own system)
	"method": "fast", //(Requested deposit type)
	"amount": 50, //(The amount of money to be deposited)
	"callbackUrl": "https://www.maxbetcasino.com/" //(URL on merchant website where the Player should be redirected after the deposit request is completed.)
	}
Example Response:
SUCCESS

	{
    "code": 200,
    "status": "success",
    "link": "http://maxpara.co/api/iframe?ft=hashstring",
    "token": "12345678921234234324",
    "expire_date": "2021-01-05 03:55:44"
	}
Webhook(Deposit):
Callback(Fast/Havale-Deposit) Example Approve Case:

	{
    "id": 240, //(Id of the deposit transaction in our system)
	"username": "George Jackson", //(Full name of the Player)
	"user_id": "13535", //(User ID of the Player on Merchant side)
	"amount": 500, //(The amount of money to be deposited)
	"status": "APPROVED", //(the state of the deposit)
	"token": "12345678921234234324", //(Deposit ID that can be used by the merchant to identify the operation in their own system)
	"method": "fast", //(Requested deposit type)
	"date": {
		"date": "2024-01-04 16:43:34.650041",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT"//(Requested transaction type)
	"message": null //(notification note of the transaction status)
	}
Callback(Fast/Havale-Deposit) Example Decline Case:

	{
    "id": 243,
	"username": "George Jackson",
	"user_id": "13535",
	"amount": 2500,
	"status": "DECLINED",
	"token": "12345678921234234324",
	"method": "fast",
	"date": {
		"date": "2024-01-04 17:03:26.024221",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT"
	"message": "hatalı isim bilgisi"
	}

# WİTHDRAW CREATE

METHOD
POST https://maxpara.co/api/cash-out TYPE : application/json
Example Request:

	{
	"key": "your apikey (we will give you in private)",
	"user_id": "13535",//(User ID of the Player on Merchant side)
	"username": "George Jackson", //(Full name of the Player)
	"bankName": "Akbank", //( other bank options; Albaraka, Denizbank, Enpara, Garanti, HalkBank, ING, İş Bankası, KuveytTürk, Qnb Finansbank, TEB, Türkiye Finans, Fibabanka, Şekerbank, Vakıfbank, Yapı Kredi, Ziraat Bankası, Diğer Bankalar (Other Banks)
	"bankAccount": "TR60 0001 1000 0000 1125 4511 10", //(IBAN; TR and 24-digit number) 
	"amount": "1000",//(The Amount of money to be paid out)
	"method": "fast",//(Requested Withdrawal type)
	"token": "312321312312"//(Withdrawal ID that can be used by the merchant to identify the operation in their own system)
	}
Example Response:
SUCCESS

	{
    "code": 200,
    "status": "success",
    "token": "312321312312",
    "message": ""
	}
Webhook(Withdraw):
Callback(Fast/Havale-Withdraw) Example Approve Case:

	{
	"id": 247,//(Id of the withdrawal transaction in our system)
	"username": "George Jackson", //(Full name of the Player)
	"user_id": "13535",//(User ID of the Player on Merchant side)
	"amount": 1000,//(The amount of money to be paid out)
	"status": "APPROVED",//(the state of the withdrawal)
	"token": "312321312312",//(Withdrawal ID that can be used by the merchant to identify the operation in their own system)
	"method": "fast",//(Requested withdrawal type)
	"date": {
		"date": "2024-01-04 17:12:47.130047",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT"//(Requested transaction type)
	"message": null//(notification note of the transaction status)
	}
Callback(Fast/Havale-Withdraw) Example Decline Case:

	{
	"id": 246,
	"username": "George Jackson",
	"user_id": "13535",
	"amount": 1000,
	"status": "DECLINED",
	"token": "312321312312",
	"method": "fast",
	"date": {
		"date": "2024-01-04 17:12:45.255247",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT"
	"message": "hatalı IBAN"
	}

# PAPARA

- DEPOSİT CREATE

METHOD
POST https://maxpara.co/payment/create-deposit TYPE : application/json
NOTE Webhook has contains header value for authentication. http-x-signature Algorithm is base64_encode (hash_hmac('sha256', json_encode($body), {YOUR_SECRET_KEY}));
Example Request:

	{
    "key": "your apikey (we will give you in private)",
    "username": "George Bush", // (Full name of the Player)
    "user_id": "112233", //(User ID of the Player on Merchant side)
    "phoneNumber": "5302189565", //(GSM No of the Player on Merchant side)
    "email": "georgebush@gmail.com",//(Email Address of the Player on Merchant side)
    "amount": "50",//(The amount of money to be deposited)
    "token": "21456171811",//(Deposit ID that can be used by the merchant to identify the operation in their own system)
    "method": "papara", //(Requested deposit type)
    "callbackUrl": "https://www.maxbetcasino.com/" //(URL on merchant website where the Player should be redirected after the deposit request is completed.)
	}
Example Response:
SUCCESS

	{
    "code": 200,
    "status": "success",
    "link": "https://papara.nndprv.com/start-transaction?token=6685ab91c81c046ccb0cc55e",
    "expire_date": "2021-01-05 03:55:44"
	}
Webhook(Deposit):
Callback(Papara-Deposit) Example Approve Case:

	{
	"id": 135, //(Id of the deposit transaction in our system)
	"username": "George Bush", //(Full name of the Player)
	"user_id": "112233",//(User ID of the Player on Merchant side)
	"amount": 50,//(The amount of money to be deposited)
	"status": "APPROVED",//(the state of the deposit)
	"token": "21456171811",//(Deposit ID that can be used by the merchant to identify the operation in their own system)
	"method": "papara",//(Requested deposit type)
	"date": {
		"date": "2024-01-04 16:43:34.650041",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT"//(Requested transaction type)
	"message": null//(notification note of the transaction status)
	}
Callback(Papara-Deposit) Example Decline Case:

	{
    "id": 135,
	"username": "George Bush", 
	"user_id": "112233",
	"amount": 50,
	"status": "DECLINED",
	"token": "21456171811",
	"method": "papara",
	"date": {
		"date": "2024-01-04 17:03:26.024221",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT"
	"message": "Invalid Name Surname"
	}

# WİTHDRAW CREATE

METHOD
POST https://maxpara.co/payment/create-withdraw TYPE : application/json
Example Request:

	{
    "key": "your apikey (we will give you in private)",
    "username": "George Bush", //(Full name of the Player) (that one of for provider)
    "fullName": "George Bush", //(Full name of the Player) (that one for us)
    "playerIdentityNumber": "112233445566", //(T.C. Kimlik Numarası(T.C. ID Number of the Player)
    "accountNumber": "2023000841", //(Papara Account Number of the Player)
    "user_id": "112233",//(User ID of the Player on Merchant side)
    "phoneNumber": "5302189565", //(GSM No of the Player on Merchant side)
    "email": "georgebush@gmail.com",//(Email Address of the Player on Merchant side)
    "amount": "50",//(The Amount of money to be paid out)
    "token": "21456171811",//(Withdrawal ID that can be used by the merchant to identify the operation in their own system)
    "method": "papara",//(Requested Withdrawal type)
    "callbackUrl": "https://www.maxbetcasino.com/" //(URL on merchant website where the Player should be redirected after the withdrawal request is completed.)
	}
Example Response:
SUCCESS

	{
    "code": 200,
    "status": "success",
    "token": "21456171811",
    "message": ""
	}
Webhook(Withdraw):
Callback(Papara-Withdraw) Example Approve Case:

	{
	"id": 135,//(Id of the withdrawal transaction in our system)
	"username": "George Bush", //(Full name of the Player)
	"user_id": "112233",//(User ID of the Player on Merchant side)
	"amount": 50,//(The amount of money to be paid out)
	"status": "APPROVED",//(the state of the withdrawal)
	"token": "21456171811",//(Withdrawal ID that can be used by the merchant to identify the operation in their own system)
	"method": "papara",//(Requested withdrawal type)
	"date": {
		"date": "2024-01-04 17:12:47.130047",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT"//(Requested transaction type)
	"message": null//(notification note of the transaction status)
	}
Callback(Papara-Withdraw) Example Decline Case:

	{
	"id": 246,
	"username": "George Bush",
	"user_id": "112233",
	"amount": 50,
	"status": "DECLINED",
	"token": "21456171811",
	"method": "papara",
	"date": {
		"date": "2024-01-04 17:12:45.255247",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT"
	"message": "Invalid Account Number"
	}

# PAYPAY

- DEPOSİT CREATE

METHOD
POST https://maxpara.co/payment/create-deposit TYPE : application/json
NOTE Webhook has contains header value for authentication. http-x-signature Algorithm is base64_encode (hash_hmac('sha256', json_encode($body), {YOUR_SECRET_KEY}));
Example Request:

	{
    "key": "your apikey (we will give you in private)",
    "username": "George Bush", // (Full name of the Player)
    "user_id": "112233",//(User ID of the Player on Merchant side)
    "phoneNumber": "5302189565",//(GSM No of the Player on Merchant side)
    "email": "georgebush@gmail.com",//(Email Address of the Player on Merchant side)
    "amount": "50",//(The amount of money to be deposited)
    "token": "21456171118111711",//(Deposit ID that can be used by the merchant to identify the operation in their own system)
    "method": "paypay",//(Requested deposit type)
    "callbackUrl": "https://www.maxbetcasino.com/" //(URL on merchant website where the Player should be redirected after the deposit request is completed.)
	}
Example Response:
SUCCESS

	{
    "code": 200,
    "status": "success",
    "link": "https://paypay12.nndprv.com/start-transaction?token=6685ada91e39b79f59a30544",
    "expire_date": "2021-01-05 03:55:44"
	}
Webhook(Deposit):
Callback(PayPay-Deposit) Example Approve Case:

	{
	"id": 135,//(Id of the deposit transaction in our system)
	"username": "George Bush", //(Full name of the Player)
	"user_id": "112233",//(User ID of the Player on Merchant side)
	"amount": 50, //(The amount of money to be deposited)
	"status": "APPROVED",//(the state of the deposit)
	"token": "21456171118111711",//(Deposit ID that can be used by the merchant to identify the operation in their own system)
	"method": "paypay",//(Requested deposit type)
	"date": {
		"date": "2024-01-04 16:43:34.650041",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT"//(Requested transaction type)
	"message": null//(notification note of the transaction status)
	}
Callback(PayPay-Deposit) Example Decline Case:

	{
    "id": 135,
	"username": "George Bush",
	"user_id": "112233",
	"amount": 50,
	"status": "DECLINED",
	"token": "21456171118111711",
	"method": "paypay",
	"date": {
		"date": "2024-01-04 17:03:26.024221",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT"
	"message": "Invalid Name Surname"
	}
#

- WİTHDRAW CREATE

METHOD
POST https://maxpara.co/payment/create-withdraw TYPE : application/json
Example Request:

	{
    "key": "your apikey (we will give you in private)",
    "username": "George Bush", //(Full name of the Player) (that one for provider)
    "fullName": "George Bush", //(Full name of the Player) (that one for us)
    "playerIdentityNumber": "112233445566", //(T.C. Kimlik Numarası(T.C. ID Number of the Player)
    "accountNumber": "2023000820", //(Paypay Account Number of the Player)
    "user_id": "112233",//(User ID of the Player on Merchant side)
    "phoneNumber": "5302189565", //(GSM No of the Player on Merchant side)
    "email": "georgebush@gmail.com",//(Email Address of the Player on Merchant side)
    "amount": "50",//(The Amount of money to be paid out)
    "token": "21456171118111711",//(Withdrawal ID that can be used by the merchant to identify the operation in their own system)
    "method": "paypay",//(Requested Withdrawal type)
    "callbackUrl": "https://www.maxbetcasino.com/" //(URL on merchant website where the Player should be redirected after the withdrawal request is completed.)
	}
Example Response:
SUCCESS

	{
    "code": 200,
    "status": "success",
    "token": "21456171118111711",
    "message": ""
	}
Webhook(Withdraw):
Callback(PayPay-Withdraw) Example Approve Case:

	{
	"id": 135,//(Id of the withdrawal transaction in our system)
	"username": "George Bush",  //(Full name of the Player)
	"user_id": "112233",//(User ID of the Player on Merchant side)
	"amount": 50,//(The amount of money to be paid out)
	"status": "APPROVED",//(the state of the withdrawal)
	"token": "21456171118111711",//(Withdrawal ID that can be used by the merchant to identify the operation in their own system)
	"method": "paypay",//(Requested withdrawal type)
	"date": {
		"date": "2024-01-04 17:12:47.130047",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT"//(Requested transaction type)
	"message": null//(notification note of the transaction status)
	}
Callback(PayPay-Withdraw) Example Decline Case:

	{
	"id": 246,
	"username": "George Bush",
	"user_id": "112233",
	"amount": 50,
	"status": "DECLINED",
	"token": "21456171118111711",
	"method": "paypay",
	"date": {
		"date": "2024-01-04 17:12:45.255247",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT"
	"message": "Invalid Account Number"
	}

# PARAZULA

- DEPOSİT CREATE

METHOD
POST https://maxpara.co/payment/create-deposit TYPE : application/json
NOTE Webhook has contains header value for authentication. http-x-signature Algorithm is base64_encode (hash_hmac('sha256', json_encode($body), {YOUR_SECRET_KEY}));
Example Request:

	{
    "key": "your apikey (we will give you in private)",
    "username": "George Bush", //(Full name of the Player)
    "user_id": "112233",//(User ID of the Player on Merchant side)
    "phoneNumber": "5302189565",//(GSM No of the Player on Merchant side)
    "email": "georgebush@gmail.com",//(Email Address of the Player on Merchant side)
    "amount": "50", //(The amount of money to be deposited)
    "token": "21456171811711", //(Deposit ID that can be used by the merchant to identify the operation in their own system)
    "method": "parazula",//(Requested deposit type)
    "callbackUrl": "https://www.maxbetcasino.com/" //(URL on merchant website where the Player should be redirected after the deposit request is completed.)
	}
Example Response:
SUCCESS

	{
    "code": 200,
    "status": "success",
    "link": "https://parazula3.nndprv.com/start-transaction?token=66859ffe8d7e96c763c48632",
    "expire_date": "2021-01-05 03:55:44"
	}
Webhook(Deposit):
Callback(Parazula-Deposit) Example Approve Case:

	{
	"id": 135, //(Id of the deposit transaction in our system)
	"username": "George Bush", //(Full name of the Player)
	"user_id": "112233",//(User ID of the Player on Merchant side)
	"amount": 50,//(The amount of money to be deposited)
	"status": "APPROVED",//(the state of the deposit)
	"token": "21456171811711",//(Deposit ID that can be used by the merchant to identify the operation in their own system)
	"method": "parazula",//(Requested deposit type)
	"date": {
		"date": "2024-01-04 16:43:34.650041",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT"//(Requested transaction type)
	"message": null//(notification note of the transaction status)
	}
Callback(Parazula-Deposit) Example Decline Case:

	{
    "id": 135,
	"username": "George Bush",
	"user_id": "112233",
	"amount": 50,
	"status": "DECLINED",
	"token": "21456171811711",
	"method": "parazula",
	"date": {
		"date": "2024-01-04 17:03:26.024221",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT"
	"message": "Invalid Name Surname"
	}

# WİTHDRAW CREATE

METHOD
POST https://maxpara.co/payment/create-withdraw TYPE : application/json
Example Request:

	{
    "key": "your apikey (we will give you in private)",
    "username": "George Bush", //(Full name of the Player) (that one for provider)
    "fullName": "George Bush", //(Full name of the Player) (that one for us)
    "playerIdentityNumber": "112233445566", //(T.C. Kimlik Numarası(T.C. ID Number of the Pla
    "accountNumber": "202300084175", //(Parazula Account Number of the Player)
    "user_id": "112233",//(User ID of the Player on Merchant side)
    "phoneNumber": "5302189565", //(GSM No of the Player on Merchant side)
    "email": "georgebush@gmail.com", //(Email Address of the Player on Merchant side)
    "amount": "50",//(The Amount of money to be paid out)
    "token": "21456171811",//(Withdrawal ID that can be used by the merchant to identify the operation in their own system)
    "method": "parazula",//(Requested Withdrawal type)
    "callbackUrl": "https://www.maxbetcasino.com/" //(URL on merchant website where the Player should be redirected after the withdrawal request is completed.)
	}
Example Response:
SUCCESS

	{
    "code": 200,
    "status": "success",
    "token": "21456171811",
    "message": ""
	}
Webhook(Withdraw):
Callback(Parazula-Withdraw) Example Approve Case:

	{
	"id": 135,//(Id of the withdrawal transaction in our system)
	"username": "George Bush", //(Full name of the Player)
	"user_id": "112233", //(User ID of the Player on Merchant side)
	"amount": 50, //(The amount of money to be paid out)
	"status": "APPROVED", //(the state of the withdrawal)
	"token": "21456171811", //(Withdrawal ID that can be used by the merchant to identify the operation in their own system)
	"method": "parazula", //(Requested withdrawal type)
	"date": {
		"date": "2024-01-04 17:12:47.130047",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT" //(Requested transaction type)
	"message": null //(notification note of the transaction status)
	}
Callback(Parazula-Withdraw) Example Decline Case:

	{
	"id": 246,
	"username": "George Bush", 
	"user_id": "112233",
	"amount": 50,
	"status": "DECLINED",
	"token": "21456171811",
	"method": "parazula",
	"date": {
		"date": "2024-01-04 17:12:45.255247",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT"
	"message": "Invalid Account Number"
	}

# PAYFİX

- DEPOSİT CREATE

METHOD
POST https://maxpara.co/payment/create-deposit TYPE : application/json
NOTE Webhook has contains header value for authentication. http-x-signature Algorithm is base64_encode (hash_hmac('sha256', json_encode($body), {YOUR_SECRET_KEY}));
Example Request:

	{
    "key":"your apikey (we will give you in private)",
    "username": "George Bush", //(Full name of the Player)
    "user_id": "11223344", //(User ID of the Player on Merchant side)
    "phoneNumber": "05302189565", //(GSM No of the Player on Merchant side)
    "email": "georgebush@gmail.com", //(Email Address of the Player on Merchant side)
    "amount": "50", //(The Amount of money to be deposited)
    "token": "45658595",//(Deposit ID that can be used by the merchant to identify the operation in their own system)
    "method": "payfix",//(Requested deposit type)
    "callbackUrl": "https://www.maxbetcasino.com/" //(URL on merchant website where the Player should be redirected after the deposit request is completed.)
	}
Example Response:
SUCCESS

	{
    "code": 200,
    "status": "success",
    "link": "https://form-b.yatirimlinki.com/?uuid=1c8b16a7-0daf-495d-9ba7-39bc322a17c0",
    "expire_date": "2021-01-05 03:55:44"
	}
Webhook(Deposit):
Callback(Payfix-Deposit) Example Approve Case:

	{
	"id": 57818,//(Id of the deposit transaction in our system)
	"username": "George Bush", //(Full name of the Player)
	"user_id": "11223344",//(User ID of the Player on Merchant side)
	"amount": 50,//(The amount of money to be deposited)
	"status": "APPROVED",//(the state of the deposit)
	"token": "45658595", //(Deposit ID that can be used by the merchant to identify the operation in their own system)
	"method": "payfix",//(Requested deposit type)
	"date": {
		"date": "2024-08-18 20:44:04.100049",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT",//(Requested transaction type)
	"message": null//(notification note of the transaction status)
	}
Callback(Payfix-Deposit) Example Decline Case:

	{
    "id": 57818,
	"username": "George Bush", 
	"user_id": "11223344",
	"amount": 50,
	"status": "DECLINED",
	"token": "45658595",
	"method": "payfix",
	"date": {
		"date": "2024-01-04 17:03:26.024221",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT"
	"message": "Invalid Payfix ID Number"
	}

# WİTHDRAW CREATE

METHOD
POST https://maxpara.co/payment/create-withdraw TYPE : application/json
Example Request:

	{
        "token": "11223344556677",
        "amount": 25,
        "username": "George Bush", //(Full name of the Player) (that one for provider)
        "fullName": "George Bush",//(Full name of the Player) (that one for us)
        "user_id": "11223344",//(User ID of the Player on Merchant side)
        "accountNumber": "1111111111", //(Payfix Account Number of the Player)
        "key": "your apikey (we will give you in private)",
        "method": "payfix" //(Requested Withdrawal type)
    }
Example Response:
SUCCESS

	{
    "status": "OK",
    "transaction_id": 1960373809,
    "customer_transaction_id": "11223344556677",
    "payment_status": "pending",
    "message": "Withdraw request has been added to queue. We will send a callback to your endpoint when its processed."
	}
Webhook(Withdraw):
Callback(Payfix-Withdraw) Example Approve Case:

	{
	"id": 135,//(Id of the withdrawal transaction in our system)
	"username": "George Bush", //(User ID of the Player on Merchant side)
	"user_id": "112233", //(User ID of the Player on Merchant side)
	"amount": 50,//(The amount of money to be paid out)
	"status": "APPROVED",//(the state of the withdrawal)
	"token": "21456171811",//(Withdrawal ID that can be used by the merchant to identify the operation in their own system)
	"method": "payfix",//(Requested withdrawal type)
	"date": {
		"date": "2024-01-04 17:12:47.130047",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT"//(Requested transaction type)
	"message": null//(notification note of the transaction status)
	}
Callback(Payfix-Withdraw) Example Decline Case:

	{
	"id": 246,
	"username": "George Bush",
	"user_id": "112233",
	"amount": 50,
	"status": "DECLINED",
	"token": "21456171811",
	"method": "payfix",
	"date": {
		"date": "2024-01-04 17:12:45.255247",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT"
	"message": "Invalid Payfix Account Number"
	}

# PAYCO

- DEPOSİT CREATE

METHOD
POST https://maxpara.co/payment/create-deposit TYPE : application/json
NOTE Webhook has contains header value for authentication. http-x-signature Algorithm is base64_encode (hash_hmac('sha256', json_encode($body), {YOUR_SECRET_KEY}));
Example Request:

	{
    "key":"your apikey (we will give you in private)",
    "username": "George Bush", //(Full name of the Player)
    "user_id": "11223344",//(User ID of the Player on Merchant side)
    "phoneNumber": "05302189565", //(GSM No of the Player on Merchant side)
    "email": "georgebush@gmail.com", //(Email Address of the Player on Merchant side)
    "amount": "50",//(The amount of money to be deposited)
    "token": "45658595", //(Deposit ID that can be used by the merchant to identify the operation in their own system)
    "method": "payco", //(Requested deposit type)
    "callbackUrl": "https://www.maxbetcasino.com/" //(URL on merchant website where the Player should be redirected after the deposit request is completed.)
	}
Example Response:
SUCCESS

	{
    "code": 200,
    "status": "success",
    "link": "https://www.deposittime.com/deposit?uuid=3c437819-57f0-4762-afb8-4237fb7a1b84",
    "expire_date": "2021-01-05 03:55:44"
	}
Webhook(Deposit):
Callback(Payco-Deposit) Example Approve Case:

	{
	"id": 57818, //(Id of the deposit transaction in our system)
	"username": "George Bush", //(Full name of the Player)
	"user_id": "11223344", //(User ID of the Player on Merchant side)
	"amount": 50, //(The amount of money to be deposited)
	"status": "APPROVED",//(the state of the deposit)
	"token": "45658595", //(Deposit ID that can be used by the merchant to identify the operation in their own system)
	"method": "payco", //(Requested deposit type)
	"date": {
		"date": "2024-08-18 20:44:04.100049",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT", //(Requested transaction type)
	"message": null //(notification note of the transaction status)
	}
Callback(Payco-Deposit) Example Decline Case:

	{
    "id": 57818,
	"username": "George Bush", 
	"user_id": "11223344",
	"amount": 50,
	"status": "DECLINED",
	"token": "45658595",
	"method": "payco",
	"date": {
		"date": "2024-01-04 17:03:26.024221",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "DEPOSIT"
	"message": "Invalid Payco ID Number"
	}

Payco Withdrawal WİTHDRAW CREATE

METHOD
POST https://maxpara.co/payment/create-withdraw TYPE : application/json
Example Request:

	{
        "token": "11223344556677", //(Withdrawal ID that can be used by the merchant to identify the operation in their own system)
        "amount": 25, //(The amount of money to be paid out)
        "username": "George Bush",  //(Full name of the Player) (that one for provider)
        "fullName": "George Bush",  //(Full name of the Player) (that one for us)
        "user_id": "11223344", //(User ID of the Player on Merchant side)
        "accountNumber": "1111111111", //(Payco Account Number of the Player)
        "key": "your apikey (we will give you in private)",
        "method": "payco" //(Requested Withdrawal type)
    }
Example Response:
SUCCESS

	    {
		"status": "OK",
		"our_tx_id": 491472570,
		"your_tx_id": "11223344556677",
		"message": "We will send a callback for  your request ASAP."
		}
Webhook(Withdraw):
Callback(Payco-Withdraw) Example Approve Case:

	{
	"id": 135,//(Id of the withdrawal transaction in our system)
	"username": "George Bush", //(Full name of the Player)
	"user_id": "112233", //(User ID of the Player on Merchant side)
	"amount": 50,//(The amount of money to be paid out)
	"status": "APPROVED",//(the state of the withdrawal)
	"token": "21456171811",//(Withdrawal ID that can be used by the merchant to identify the operation in their own system)
	"method": "payco",//(Requested withdrawal type)
	"date": {
		"date": "2024-01-04 17:12:47.130047",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT"//(Requested transaction type)
	"message": null//(notification note of the transaction status)
	}
Callback(Payco-Withdraw) Example Decline Case:

	{
	"id": 246,
	"username": "George Bush",
	"user_id": "112233",
	"amount": 50,
	"status": "DECLINED",
	"token": "21456171811",
	"method": "payco",
	"date": {
		"date": "2024-01-04 17:12:45.255247",
		"timezone_type": 3,
		"timezone": "UTC"
			},
	"type": "CASH_OUT"
	"message": "Invalid Payco Account Number"
	}
/*

# KREDİ KARTI

- DEPOSİT CREATE

METHOD
POST https://maxpara.co/payment/nays TYPE : application/json
NOTE Webhook has contains header value for authentication. http-x-signature Algorithm is base64_encode (hash_hmac('sha256', json_encode($body), {YOUR_SECRET_KEY}));
Example Request:

	{
	"key": "your apikey (we will give you in private)",
	"username":"George Bush", //(Full name of the Player)
	"user_id": "123456", //(User ID of the Player on Merchant side)
	"token": 88768687,//(Deposit ID that can be used by the merchant to identify the operation in their own system)
	"method": "creditCard", //(Requested deposit type)
	"amount": 50, //(The amount of money to be deposited)
	"callbackUrl": "https://maxbetcasino.com" //(URL on merchant website where the Player should be redirected after the deposit request is completed.)
	}
Example Response:
SUCCESS

    {
    "code": 200,
    "status": "success",
    "link": "https://maxpara.co/payment/nays/form?ft=88768687",
    "token": "88768687"
	}
Webhook(Deposit):
Callback(KrediKartı-Deposit) Example Approve Case:

    {
	"username": "George Bush",//(Full name of the Player)
	"user_id": "123456", //(User ID of the Player on Merchant side)
	"amount": 50, //(The amount of money to be deposited)
	"status": "success",//(the state of the deposit)
	"token": "88768687",//(Deposit ID that can be used by the merchant to identify the operation in their own system)
	"date": {
		"date": "2024-07-11 15:53:44.696869",
		"timezone_type": 3,
		"timezone": "UTC"
			}
	}
Callback(KrediKartı-Deposit) Example Decline Case:

	{
	"username": "George Jackson", 
	"user_id": "123456",
	"amount": 50,
	"status": "failed",
	"token": "88768687",
	"date": {
		"date": "2024-01-04 17:03:26.024221",
		"timezone_type": 3,
		"timezone": "UTC"
			}
	"message": "Payment limits are not suitable. Min: 200 Max: 20000" //(notification note of the transaction status)
	}
*/

# Contact us