Api-Key: ********************{
"plan_id": 3,
"person_type": "personal",
"username": "test_name1",
"first_name": "test fname",
"last_name": "test lname",
"national_code": "1234567890",
"mobile": "09121234567",
"discount_code": "test_code", // nullable
"seller_id": 1, // nullable
"should_notify_user": true, // nullable(default = true)
"redirect_url": "https://test.com/test" // nullable
}
curl --location --request POST 'https://api.iranpayamak.com/ws/v1/account/register' \
--header 'Accept: application/json' \
--header 'Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"plan_id": 3,
"person_type": "personal",
"username": "test_name1",
"first_name": "test fname",
"last_name": "test lname",
"national_code": "1234567890",
"mobile": "09121234567",
"discount_code": "test_code", // nullable
"seller_id": 1, // nullable
"should_notify_user": true, // nullable(default = true)
"redirect_url": "https://test.com/test" // nullable
}'{}