> For a complete page index, fetch https://docs.transak.com/llms.txt

# Submit Source of Income

POST https://api-gateway-stg.transak.com/api/v2/user/source-of-income
Content-Type: application/json

**Submit Source of Income** is an **authenticated** API call that allows the submission of a user’s income source details as part of the KYC verification process. This step may be mandatory based on jurisdictional or regulatory requirements and is used for compliance validation.

The valid source of income information must be provided as part of the **Enhanced KYC flow**, and for all **EEA users**.

**EEA users** must also send `employmentStatus` and `countryOfCitizenship`, using the options returned in the `SOURCE_OF_INCOME` form of the [Get Additional Requirements API](/api/whitelabel/kyc/get-additional-requirements). See [MiCA Changes for EEA Users](/guides/mica-eea-changes#3-collect-source-of-income-employment-status-and-nationality).

A `SUBMITTED` status means the data was recorded. A `FAILED` status (still HTTP 200) means it was not recorded, so retry the request. Validation and authentication problems return a 4xx error.

**Authentication:** use either **Transak Auth**, which sends the user's `authorization` token, or **Partner Auth (Auth Reliance)**, which sends `x-access-token` and `x-user-identifier`. Do not send both. See the headers below.

Reference: https://docs.transak.com/api/whitelabel/kyc/submit-source-of-income

## Servers

- `https://api-gateway-stg.transak.com` (Staging, default)
- `https://api-gateway.transak.com` (Production)

## Request

### Headers

- `x-user-ip` (string, required) — End user's originating IP. More details [here](/guides/mandatory-security-changes#user-ip-header-in-apis)
- `x-api-key` (string, required) — Partner API Key present in Transak Dashboard.
- `authorization` (string, optional) — **Transak Auth.** The user's `accessToken` from Transak's OTP login, returned by the [Verify User OTP API](/api/whitelabel/user/verify-user-otp) (`/api/v2/auth/verify`). Send the token on its own, with no `Bearer` prefix. It is valid for 30 days. Call the [Refresh User Access Token API](/api/whitelabel/user/refresh-user-access-token) before it expires. Do not send `x-access-token` or `x-user-identifier` with it.
- `x-access-token` (string, optional) — **Partner Auth (Auth Reliance).** Your Partner Access Token, valid for 7 days. Send it with `x-user-identifier`, and do not send `authorization`. See [Auth Reliance Flows](/features/auth-reliance) and [how to create a Partner Access Token](/guides/how-to-create-partner-access-token).
- `x-user-identifier` (string, optional) — **Partner Auth (Auth Reliance).** The email address of the user you authenticated. Send it with `x-access-token`.

### Body (application/json)

This endpoint expects a KYC_submit-source-of-income_Request.

- `KYC_submit-source-of-income_Request`
  - Non-EEA user: Non-EEA user
  - EEA user: EEA user

## Response

### 200

200 - Success

- `data` (ApiV2UserSourceOfIncomePostResponsesContentApplicationJsonSchemaData, required)

## Errors

### 400 Bad Request Error

400 - Bad Request

- `error` (ApiV2UserSourceOfIncomePostResponsesContentApplicationJsonSchemaError, required)

### 401 Unauthorized Error

401 - Unauthorized

- `error` (ApiV2UserSourceOfIncomePostResponsesContentApplicationJsonSchemaError, required)

### 404 Not Found Error

404 - User Not Found

- `error` (ApiV2UserSourceOfIncomePostResponsesContentApplicationJsonSchemaError, required)

### 500 Internal Server Error

500 - Internal Server Error

- `error` (ApiV2UserSourceOfIncomePostResponsesContentApplicationJsonSchemaError, required)

## Types

### Non-EEA user

- `monthlyVolume` (string, required) — Expected monthly transaction volume, as a numeric string.
- `sourceOfFundsType` (string, required) — A `value` from `sourceOfFundsTypeOptions` (or `options`) in the SOURCE_OF_INCOME form, for example `salary_payment`.

### EEA user

- `monthlyVolume` (string, required) — Expected monthly transaction volume, as a numeric string.
- `sourceOfFundsType` (string, required) — A `value` from `sourceOfFundsTypeOptions` (or `options`) in the SOURCE_OF_INCOME form, for example `salary_payment`.
- `employmentStatus` (enum, required) — The user's employment status. A `value` from `employmentStatusOptions` in the SOURCE_OF_INCOME form.
  - Allowed values: `student`, `retired`, `unemployed`, `self_employed`, `junior_entry_level_employee`, `mid_level_employee`, `management_role`, `executive_role`
- `countryOfCitizenship` (string, required) — The user's nationality as declared by the user, as an ISO 3166-1 alpha-2 code (for example `DE`). A `value` from `countryOfCitizenshipOptions` in the SOURCE_OF_INCOME form.

### ApiV2UserSourceOfIncomePostResponsesContentApplicationJsonSchemaData

- `status` (enum, required) — `SUBMITTED` means the data was recorded. `FAILED` means it was not recorded, so retry the request.
  - Allowed values: `SUBMITTED`, `FAILED`

### ApiV2UserSourceOfIncomePostResponsesContentApplicationJsonSchemaError

- `statusCode` (integer, required)
- `message` (string, required)

## Examples

### Non-EEA (Transak Auth)

**Request**

```json
{
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
}
```

**Response**

```json
{
  "data": {
    "status": "SUBMITTED"
  }
}
```

**SDK Code**

```python Non-EEA (Transak Auth)
import requests

url = "https://api-gateway-stg.transak.com/api/v2/user/source-of-income"

payload = {
    "monthlyVolume": "1000",
    "sourceOfFundsType": "salary_payment"
}
headers = {
    "authorization": "USER_ACCESS_TOKEN",
    "x-api-key": "YOUR_API_KEY",
    "x-user-ip": "USER_IP_ADDRESS",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Non-EEA (Transak Auth)
const url = 'https://api-gateway-stg.transak.com/api/v2/user/source-of-income';
const options = {
  method: 'POST',
  headers: {
    authorization: 'USER_ACCESS_TOKEN',
    'x-api-key': 'YOUR_API_KEY',
    'x-user-ip': 'USER_IP_ADDRESS',
    'Content-Type': 'application/json'
  },
  body: '{"monthlyVolume":"1000","sourceOfFundsType":"salary_payment"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Non-EEA (Transak Auth)
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api-gateway-stg.transak.com/api/v2/user/source-of-income"

	payload := strings.NewReader("{\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("authorization", "USER_ACCESS_TOKEN")
	req.Header.Add("x-api-key", "YOUR_API_KEY")
	req.Header.Add("x-user-ip", "USER_IP_ADDRESS")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Non-EEA (Transak Auth)
require 'uri'
require 'net/http'

url = URI("https://api-gateway-stg.transak.com/api/v2/user/source-of-income")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'USER_ACCESS_TOKEN'
request["x-api-key"] = 'YOUR_API_KEY'
request["x-user-ip"] = 'USER_IP_ADDRESS'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}"

response = http.request(request)
puts response.read_body
```

```java Non-EEA (Transak Auth)
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api-gateway-stg.transak.com/api/v2/user/source-of-income")
  .header("authorization", "USER_ACCESS_TOKEN")
  .header("x-api-key", "YOUR_API_KEY")
  .header("x-user-ip", "USER_IP_ADDRESS")
  .header("Content-Type", "application/json")
  .body("{\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}")
  .asString();
```

```php Non-EEA (Transak Auth)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api-gateway-stg.transak.com/api/v2/user/source-of-income', [
  'body' => '{
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'authorization' => 'USER_ACCESS_TOKEN',
    'x-api-key' => 'YOUR_API_KEY',
    'x-user-ip' => 'USER_IP_ADDRESS',
  ],
]);

echo $response->getBody();
```

```csharp Non-EEA (Transak Auth)
using RestSharp;

var client = new RestClient("https://api-gateway-stg.transak.com/api/v2/user/source-of-income");
var request = new RestRequest(Method.POST);
request.AddHeader("authorization", "USER_ACCESS_TOKEN");
request.AddHeader("x-api-key", "YOUR_API_KEY");
request.AddHeader("x-user-ip", "USER_IP_ADDRESS");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Non-EEA (Transak Auth)
import Foundation

let headers = [
  "authorization": "USER_ACCESS_TOKEN",
  "x-api-key": "YOUR_API_KEY",
  "x-user-ip": "USER_IP_ADDRESS",
  "Content-Type": "application/json"
]
let parameters = [
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api-gateway-stg.transak.com/api/v2/user/source-of-income")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### EEA (Transak Auth)

**Request**

```json
{
  "countryOfCitizenship": "DE",
  "employmentStatus": "mid_level_employee",
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
}
```

**Response**

```json
{
  "data": {
    "status": "SUBMITTED"
  }
}
```

**SDK Code**

```python EEA (Transak Auth)
import requests

url = "https://api-gateway-stg.transak.com/api/v2/user/source-of-income"

payload = {
    "countryOfCitizenship": "DE",
    "employmentStatus": "mid_level_employee",
    "monthlyVolume": "1000",
    "sourceOfFundsType": "salary_payment"
}
headers = {
    "authorization": "USER_ACCESS_TOKEN",
    "x-api-key": "YOUR_API_KEY",
    "x-user-ip": "USER_IP_ADDRESS",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript EEA (Transak Auth)
const url = 'https://api-gateway-stg.transak.com/api/v2/user/source-of-income';
const options = {
  method: 'POST',
  headers: {
    authorization: 'USER_ACCESS_TOKEN',
    'x-api-key': 'YOUR_API_KEY',
    'x-user-ip': 'USER_IP_ADDRESS',
    'Content-Type': 'application/json'
  },
  body: '{"countryOfCitizenship":"DE","employmentStatus":"mid_level_employee","monthlyVolume":"1000","sourceOfFundsType":"salary_payment"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go EEA (Transak Auth)
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api-gateway-stg.transak.com/api/v2/user/source-of-income"

	payload := strings.NewReader("{\n  \"countryOfCitizenship\": \"DE\",\n  \"employmentStatus\": \"mid_level_employee\",\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("authorization", "USER_ACCESS_TOKEN")
	req.Header.Add("x-api-key", "YOUR_API_KEY")
	req.Header.Add("x-user-ip", "USER_IP_ADDRESS")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby EEA (Transak Auth)
require 'uri'
require 'net/http'

url = URI("https://api-gateway-stg.transak.com/api/v2/user/source-of-income")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["authorization"] = 'USER_ACCESS_TOKEN'
request["x-api-key"] = 'YOUR_API_KEY'
request["x-user-ip"] = 'USER_IP_ADDRESS'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"countryOfCitizenship\": \"DE\",\n  \"employmentStatus\": \"mid_level_employee\",\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}"

response = http.request(request)
puts response.read_body
```

```java EEA (Transak Auth)
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api-gateway-stg.transak.com/api/v2/user/source-of-income")
  .header("authorization", "USER_ACCESS_TOKEN")
  .header("x-api-key", "YOUR_API_KEY")
  .header("x-user-ip", "USER_IP_ADDRESS")
  .header("Content-Type", "application/json")
  .body("{\n  \"countryOfCitizenship\": \"DE\",\n  \"employmentStatus\": \"mid_level_employee\",\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}")
  .asString();
```

```php EEA (Transak Auth)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api-gateway-stg.transak.com/api/v2/user/source-of-income', [
  'body' => '{
  "countryOfCitizenship": "DE",
  "employmentStatus": "mid_level_employee",
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'authorization' => 'USER_ACCESS_TOKEN',
    'x-api-key' => 'YOUR_API_KEY',
    'x-user-ip' => 'USER_IP_ADDRESS',
  ],
]);

echo $response->getBody();
```

```csharp EEA (Transak Auth)
using RestSharp;

var client = new RestClient("https://api-gateway-stg.transak.com/api/v2/user/source-of-income");
var request = new RestRequest(Method.POST);
request.AddHeader("authorization", "USER_ACCESS_TOKEN");
request.AddHeader("x-api-key", "YOUR_API_KEY");
request.AddHeader("x-user-ip", "USER_IP_ADDRESS");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"countryOfCitizenship\": \"DE\",\n  \"employmentStatus\": \"mid_level_employee\",\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift EEA (Transak Auth)
import Foundation

let headers = [
  "authorization": "USER_ACCESS_TOKEN",
  "x-api-key": "YOUR_API_KEY",
  "x-user-ip": "USER_IP_ADDRESS",
  "Content-Type": "application/json"
]
let parameters = [
  "countryOfCitizenship": "DE",
  "employmentStatus": "mid_level_employee",
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api-gateway-stg.transak.com/api/v2/user/source-of-income")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Non-EEA (Partner Auth)

**Request**

```json
{
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
}
```

**Response**

```json
{
  "data": {
    "status": "SUBMITTED"
  }
}
```

**SDK Code**

```python Non-EEA (Partner Auth)
import requests

url = "https://api-gateway-stg.transak.com/api/v2/user/source-of-income"

payload = {
    "monthlyVolume": "1000",
    "sourceOfFundsType": "salary_payment"
}
headers = {
    "x-access-token": "PARTNER_ACCESS_TOKEN",
    "x-api-key": "YOUR_API_KEY",
    "x-user-identifier": "user@example.com",
    "x-user-ip": "USER_IP_ADDRESS",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript Non-EEA (Partner Auth)
const url = 'https://api-gateway-stg.transak.com/api/v2/user/source-of-income';
const options = {
  method: 'POST',
  headers: {
    'x-access-token': 'PARTNER_ACCESS_TOKEN',
    'x-api-key': 'YOUR_API_KEY',
    'x-user-identifier': 'user@example.com',
    'x-user-ip': 'USER_IP_ADDRESS',
    'Content-Type': 'application/json'
  },
  body: '{"monthlyVolume":"1000","sourceOfFundsType":"salary_payment"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Non-EEA (Partner Auth)
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api-gateway-stg.transak.com/api/v2/user/source-of-income"

	payload := strings.NewReader("{\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-access-token", "PARTNER_ACCESS_TOKEN")
	req.Header.Add("x-api-key", "YOUR_API_KEY")
	req.Header.Add("x-user-identifier", "user@example.com")
	req.Header.Add("x-user-ip", "USER_IP_ADDRESS")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Non-EEA (Partner Auth)
require 'uri'
require 'net/http'

url = URI("https://api-gateway-stg.transak.com/api/v2/user/source-of-income")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-access-token"] = 'PARTNER_ACCESS_TOKEN'
request["x-api-key"] = 'YOUR_API_KEY'
request["x-user-identifier"] = 'user@example.com'
request["x-user-ip"] = 'USER_IP_ADDRESS'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}"

response = http.request(request)
puts response.read_body
```

```java Non-EEA (Partner Auth)
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api-gateway-stg.transak.com/api/v2/user/source-of-income")
  .header("x-access-token", "PARTNER_ACCESS_TOKEN")
  .header("x-api-key", "YOUR_API_KEY")
  .header("x-user-identifier", "user@example.com")
  .header("x-user-ip", "USER_IP_ADDRESS")
  .header("Content-Type", "application/json")
  .body("{\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}")
  .asString();
```

```php Non-EEA (Partner Auth)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api-gateway-stg.transak.com/api/v2/user/source-of-income', [
  'body' => '{
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-access-token' => 'PARTNER_ACCESS_TOKEN',
    'x-api-key' => 'YOUR_API_KEY',
    'x-user-identifier' => 'user@example.com',
    'x-user-ip' => 'USER_IP_ADDRESS',
  ],
]);

echo $response->getBody();
```

```csharp Non-EEA (Partner Auth)
using RestSharp;

var client = new RestClient("https://api-gateway-stg.transak.com/api/v2/user/source-of-income");
var request = new RestRequest(Method.POST);
request.AddHeader("x-access-token", "PARTNER_ACCESS_TOKEN");
request.AddHeader("x-api-key", "YOUR_API_KEY");
request.AddHeader("x-user-identifier", "user@example.com");
request.AddHeader("x-user-ip", "USER_IP_ADDRESS");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Non-EEA (Partner Auth)
import Foundation

let headers = [
  "x-access-token": "PARTNER_ACCESS_TOKEN",
  "x-api-key": "YOUR_API_KEY",
  "x-user-identifier": "user@example.com",
  "x-user-ip": "USER_IP_ADDRESS",
  "Content-Type": "application/json"
]
let parameters = [
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api-gateway-stg.transak.com/api/v2/user/source-of-income")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### EEA (Partner Auth)

**Request**

```json
{
  "countryOfCitizenship": "DE",
  "employmentStatus": "mid_level_employee",
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
}
```

**Response**

```json
{
  "data": {
    "status": "SUBMITTED"
  }
}
```

**SDK Code**

```python EEA (Partner Auth)
import requests

url = "https://api-gateway-stg.transak.com/api/v2/user/source-of-income"

payload = {
    "countryOfCitizenship": "DE",
    "employmentStatus": "mid_level_employee",
    "monthlyVolume": "1000",
    "sourceOfFundsType": "salary_payment"
}
headers = {
    "x-access-token": "PARTNER_ACCESS_TOKEN",
    "x-api-key": "YOUR_API_KEY",
    "x-user-identifier": "user@example.com",
    "x-user-ip": "USER_IP_ADDRESS",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript EEA (Partner Auth)
const url = 'https://api-gateway-stg.transak.com/api/v2/user/source-of-income';
const options = {
  method: 'POST',
  headers: {
    'x-access-token': 'PARTNER_ACCESS_TOKEN',
    'x-api-key': 'YOUR_API_KEY',
    'x-user-identifier': 'user@example.com',
    'x-user-ip': 'USER_IP_ADDRESS',
    'Content-Type': 'application/json'
  },
  body: '{"countryOfCitizenship":"DE","employmentStatus":"mid_level_employee","monthlyVolume":"1000","sourceOfFundsType":"salary_payment"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go EEA (Partner Auth)
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api-gateway-stg.transak.com/api/v2/user/source-of-income"

	payload := strings.NewReader("{\n  \"countryOfCitizenship\": \"DE\",\n  \"employmentStatus\": \"mid_level_employee\",\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-access-token", "PARTNER_ACCESS_TOKEN")
	req.Header.Add("x-api-key", "YOUR_API_KEY")
	req.Header.Add("x-user-identifier", "user@example.com")
	req.Header.Add("x-user-ip", "USER_IP_ADDRESS")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby EEA (Partner Auth)
require 'uri'
require 'net/http'

url = URI("https://api-gateway-stg.transak.com/api/v2/user/source-of-income")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-access-token"] = 'PARTNER_ACCESS_TOKEN'
request["x-api-key"] = 'YOUR_API_KEY'
request["x-user-identifier"] = 'user@example.com'
request["x-user-ip"] = 'USER_IP_ADDRESS'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"countryOfCitizenship\": \"DE\",\n  \"employmentStatus\": \"mid_level_employee\",\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}"

response = http.request(request)
puts response.read_body
```

```java EEA (Partner Auth)
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api-gateway-stg.transak.com/api/v2/user/source-of-income")
  .header("x-access-token", "PARTNER_ACCESS_TOKEN")
  .header("x-api-key", "YOUR_API_KEY")
  .header("x-user-identifier", "user@example.com")
  .header("x-user-ip", "USER_IP_ADDRESS")
  .header("Content-Type", "application/json")
  .body("{\n  \"countryOfCitizenship\": \"DE\",\n  \"employmentStatus\": \"mid_level_employee\",\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}")
  .asString();
```

```php EEA (Partner Auth)
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api-gateway-stg.transak.com/api/v2/user/source-of-income', [
  'body' => '{
  "countryOfCitizenship": "DE",
  "employmentStatus": "mid_level_employee",
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-access-token' => 'PARTNER_ACCESS_TOKEN',
    'x-api-key' => 'YOUR_API_KEY',
    'x-user-identifier' => 'user@example.com',
    'x-user-ip' => 'USER_IP_ADDRESS',
  ],
]);

echo $response->getBody();
```

```csharp EEA (Partner Auth)
using RestSharp;

var client = new RestClient("https://api-gateway-stg.transak.com/api/v2/user/source-of-income");
var request = new RestRequest(Method.POST);
request.AddHeader("x-access-token", "PARTNER_ACCESS_TOKEN");
request.AddHeader("x-api-key", "YOUR_API_KEY");
request.AddHeader("x-user-identifier", "user@example.com");
request.AddHeader("x-user-ip", "USER_IP_ADDRESS");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"countryOfCitizenship\": \"DE\",\n  \"employmentStatus\": \"mid_level_employee\",\n  \"monthlyVolume\": \"1000\",\n  \"sourceOfFundsType\": \"salary_payment\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift EEA (Partner Auth)
import Foundation

let headers = [
  "x-access-token": "PARTNER_ACCESS_TOKEN",
  "x-api-key": "YOUR_API_KEY",
  "x-user-identifier": "user@example.com",
  "x-user-ip": "USER_IP_ADDRESS",
  "Content-Type": "application/json"
]
let parameters = [
  "countryOfCitizenship": "DE",
  "employmentStatus": "mid_level_employee",
  "monthlyVolume": "1000",
  "sourceOfFundsType": "salary_payment"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api-gateway-stg.transak.com/api/v2/user/source-of-income")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```