Introducing Starknet Network:   OffRamp and OnRamp USDC are now supported for Starknet network.  View changelog for details →.
Sphere Paysphere
Kyc link

Get KYC Link

GET
/v2/customer/{customer_id}/kyc-link
AuthorizationBearer <token>

In: header

Path Parameters

customer_idstring

The customer's id.

Response Body

curl -X GET "https://api.sandbox.spherepay.co/v2/customer/{{customer_id}}/kyc-link"
fetch("https://api.sandbox.spherepay.co/v2/customer/{{customer_id}}/kyc-link")
package main

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

func main() {
  url := "https://api.sandbox.spherepay.co/v2/customer/{{customer_id}}/kyc-link"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://api.sandbox.spherepay.co/v2/customer/{{customer_id}}/kyc-link"

response = requests.request("GET", url)

print(response.text)
{
  "url": "https://in.sumsub.com/websdk/p/sbx_gq9t7z0Zf6agMcbn",
  "expiresAt": "2025-04-27T02:35:18.842Z"
}
{
  "ts": "2025-04-20T02:37:05.790Z",
  "error": {
    "general": "Customer not found"
  }
}
{
  "ts": "2025-04-20T02:37:05.790Z",
  "error": {
    "general": "Customer not found"
  }
}