POST
/
api
/
v1
/
source-of-funds
Answer Source of Funds questions
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[]
question
string

The text of the question being answered.

answer
string

The user's answer to the question.

Response

Source of Funds answers submitted successfully.

message
string
Example:

"Source of funds submitted"