Get SOF Questions
const options = {method: 'GET'};
fetch('https://gp-auth-module.prod.gnosispay.com/source-of-funds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://gp-auth-module.prod.gnosispay.com/source-of-fundsimport requests
url = "https://gp-auth-module.prod.gnosispay.com/source-of-funds"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gp-auth-module.prod.gnosispay.com/source-of-funds"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://gp-auth-module.prod.gnosispay.com/source-of-funds")
.asString();require 'uri'
require 'net/http'
url = URI("https://gp-auth-module.prod.gnosispay.com/source-of-funds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"questions": [
{
"id": "<string>",
"question": "<string>",
"answers": [
"<string>"
]
}
],
"version": 123
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Source of Funds
Get SOF Questions
Get the Source of Funds questionnaire questions and answer options
GET
/
source-of-funds
Get SOF Questions
const options = {method: 'GET'};
fetch('https://gp-auth-module.prod.gnosispay.com/source-of-funds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://gp-auth-module.prod.gnosispay.com/source-of-fundsimport requests
url = "https://gp-auth-module.prod.gnosispay.com/source-of-funds"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gp-auth-module.prod.gnosispay.com/source-of-funds"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://gp-auth-module.prod.gnosispay.com/source-of-funds")
.asString();require 'uri'
require 'net/http'
url = URI("https://gp-auth-module.prod.gnosispay.com/source-of-funds")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"questions": [
{
"id": "<string>",
"question": "<string>",
"answers": [
"<string>"
]
}
],
"version": 123
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}⌘I