POST
/
api
/
v1
/
source-of-funds
Submit answers to the Source of Funds questionnaire.
const url = 'https://api.gnosispay.com/api/v1/source-of-funds';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '[{"question":"<string>","answer":"<string>"}]'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "message": "Source of funds submitted"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json · object[]

The body is of type object[].

Response

200
application/json

Source of Funds answers submitted successfully.

The response is of type object.