import cobo_waas2
from cobo_waas2.models.fiat_entry_kyc_detail import FiatEntryKycDetail
from pprint import pprint
configuration = cobo_waas2.Configuration(
api_private_key="<YOUR_PRIVATE_KEY>",
host="https://api.dev.cobo.com/v2",
)
with cobo_waas2.ApiClient(configuration) as api_client:
api_instance = cobo_waas2.PaymentApi(api_client)
fiat_entry_kyc_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"
try:
api_response: FiatEntryKycDetail = api_instance.get_fiat_entry_kyc(
fiat_entry_kyc_id
)
pprint(api_response)
except cobo_waas2.ApiException as e:
print("Exception when calling PaymentApi->get_fiat_entry_kyc: %s\n" % e)
import com.cobo.waas2.ApiClient;
import com.cobo.waas2.ApiException;
import com.cobo.waas2.Configuration;
import com.cobo.waas2.Env;
import com.cobo.waas2.api.PaymentApi;
import com.cobo.waas2.model.FiatEntryKycDetail;
import java.util.UUID;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setEnv(Env.DEV);
defaultClient.setPrivKey("<YOUR_PRIVATE_KEY>");
PaymentApi apiInstance = new PaymentApi();
UUID fiatEntryKycId = UUID.fromString("f47ac10b-58cc-4372-a567-0e02b2c3d479");
try {
FiatEntryKycDetail result = apiInstance.getFiatEntryKyc(fiatEntryKycId);
System.out.println(result);
} catch (ApiException e) {
e.printStackTrace();
}
}
}
package main
import (
"context"
"fmt"
"os"
coboWaas2 "github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2"
"github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2/crypto"
)
func main() {
fiatEntryKycId := "f47ac10b-58cc-4372-a567-0e02b2c3d479"
configuration := coboWaas2.NewConfiguration()
apiClient := coboWaas2.NewAPIClient(configuration)
ctx := context.Background()
ctx = context.WithValue(ctx, coboWaas2.ContextEnv, coboWaas2.DevEnv)
ctx = context.WithValue(ctx, coboWaas2.ContextPortalSigner, crypto.Ed25519Signer{
Secret: "<YOUR_PRIVATE_KEY>",
})
resp, r, err := apiClient.PaymentAPI.GetFiatEntryKyc(ctx, fiatEntryKycId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling PaymentAPI.GetFiatEntryKyc: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from GetFiatEntryKyc: FiatEntryKycDetail
fmt.Fprintf(os.Stdout, "Response from PaymentAPI.GetFiatEntryKyc: %v\n", resp)
}
const CoboWaas2 = require("@cobo/cobo-waas2");
const apiClient = CoboWaas2.ApiClient.instance;
apiClient.setEnv(CoboWaas2.Env.DEV);
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
const apiInstance = new CoboWaas2.PaymentApi();
const fiat_entry_kyc_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
apiInstance.getFiatEntryKyc(fiat_entry_kyc_id).then(
(data) => console.log("Response from PaymentApi.getFiatEntryKyc:", data),
(error) => console.error(error),
);
{
"fiat_entry_kyc_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"status": "PendingReview",
"merchant_type": "B2B",
"country": "HKG",
"industry": [
"Intangible Goods & Service",
"Websites, IT & Software"
],
"created_timestamp": 1744689600,
"email": "[email protected]",
"phone": "+85212345678",
"company_info": {
"company_type": "Corporation",
"listed": false,
"attachments": [
{
"file_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"file_type": "BR"
}
],
"operation_address": {
"country": "HK",
"state": "Hong Kong",
"city": "Hong Kong",
"postcode": "999077",
"line1": "1 Example Street"
},
"identify_no": "12345678",
"company_name": "示例有限公司",
"company_name_en": "Example Limited",
"establish_date": "20290322",
"commencement_date": "20290322",
"valid_period": "20290322",
"register_address": {
"country": "HK",
"state": "Hong Kong",
"city": "Hong Kong",
"postcode": "999077",
"line1": "1 Example Street"
},
"legal_info": {
"name": "张三",
"name_en": "Zhang San",
"id_number": "110101199001011234",
"date_of_birth": "20290322",
"issue_date": "20290322",
"expiration_date": "20290322",
"attachments": [
{
"file_id": "https://example-bucket.s3.us-east-1.amazonaws.com/uploads/id_card_front.jpg",
"file_type": "PRC_ID_Emblem"
}
],
"residential_address": {
"country": "HK",
"state": "Hong Kong",
"city": "Hong Kong",
"postcode": "999077",
"line1": "1 Example Street"
}
},
"ubo_infos": [
{
"name": "张三",
"name_en": "Zhang San",
"id_number": "110101199001011234",
"date_of_birth": "20290322",
"issue_date": "20290322",
"expiration_date": "20290322",
"attachments": [
{
"file_id": "https://example-bucket.s3.us-east-1.amazonaws.com/uploads/id_card_front.jpg",
"file_type": "PRC_ID_Emblem"
}
],
"residential_address": {
"country": "HK",
"state": "Hong Kong",
"city": "Hong Kong",
"postcode": "999077",
"line1": "1 Example Street"
}
}
],
"online_store_url": "https://example.com/store"
},
"individual_info": {
"name": "张三",
"name_en": "Zhang San",
"id_number": "110101199001011234",
"date_of_birth": "20290322",
"issue_date": "20290322",
"expiration_date": "20290322",
"attachments": [
{
"file_id": "https://example-bucket.s3.us-east-1.amazonaws.com/uploads/id_card_front.jpg",
"file_type": "PRC_ID_Emblem"
}
],
"residential_address": {
"country": "HK",
"state": "Hong Kong",
"city": "Hong Kong",
"postcode": "999077",
"line1": "1 Example Street"
}
},
"updated_timestamp": 1744689600
}{
"error_code": 123,
"error_message": "<string>",
"error_id": "0b6ddf19083c4bd1a9ca01bec44b24dd"
}{
"error_code": 123,
"error_message": "<string>",
"error_id": "0b6ddf19083c4bd1a9ca01bec44b24dd"
}Get fiat entry KYC
This operation retrieves information about a specified fiat entry KYC.
The fiat entry KYC ID can be retrieved by calling List all fiat entry KYC.
import cobo_waas2
from cobo_waas2.models.fiat_entry_kyc_detail import FiatEntryKycDetail
from pprint import pprint
configuration = cobo_waas2.Configuration(
api_private_key="<YOUR_PRIVATE_KEY>",
host="https://api.dev.cobo.com/v2",
)
with cobo_waas2.ApiClient(configuration) as api_client:
api_instance = cobo_waas2.PaymentApi(api_client)
fiat_entry_kyc_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"
try:
api_response: FiatEntryKycDetail = api_instance.get_fiat_entry_kyc(
fiat_entry_kyc_id
)
pprint(api_response)
except cobo_waas2.ApiException as e:
print("Exception when calling PaymentApi->get_fiat_entry_kyc: %s\n" % e)
import com.cobo.waas2.ApiClient;
import com.cobo.waas2.ApiException;
import com.cobo.waas2.Configuration;
import com.cobo.waas2.Env;
import com.cobo.waas2.api.PaymentApi;
import com.cobo.waas2.model.FiatEntryKycDetail;
import java.util.UUID;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setEnv(Env.DEV);
defaultClient.setPrivKey("<YOUR_PRIVATE_KEY>");
PaymentApi apiInstance = new PaymentApi();
UUID fiatEntryKycId = UUID.fromString("f47ac10b-58cc-4372-a567-0e02b2c3d479");
try {
FiatEntryKycDetail result = apiInstance.getFiatEntryKyc(fiatEntryKycId);
System.out.println(result);
} catch (ApiException e) {
e.printStackTrace();
}
}
}
package main
import (
"context"
"fmt"
"os"
coboWaas2 "github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2"
"github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2/crypto"
)
func main() {
fiatEntryKycId := "f47ac10b-58cc-4372-a567-0e02b2c3d479"
configuration := coboWaas2.NewConfiguration()
apiClient := coboWaas2.NewAPIClient(configuration)
ctx := context.Background()
ctx = context.WithValue(ctx, coboWaas2.ContextEnv, coboWaas2.DevEnv)
ctx = context.WithValue(ctx, coboWaas2.ContextPortalSigner, crypto.Ed25519Signer{
Secret: "<YOUR_PRIVATE_KEY>",
})
resp, r, err := apiClient.PaymentAPI.GetFiatEntryKyc(ctx, fiatEntryKycId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling PaymentAPI.GetFiatEntryKyc: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from GetFiatEntryKyc: FiatEntryKycDetail
fmt.Fprintf(os.Stdout, "Response from PaymentAPI.GetFiatEntryKyc: %v\n", resp)
}
const CoboWaas2 = require("@cobo/cobo-waas2");
const apiClient = CoboWaas2.ApiClient.instance;
apiClient.setEnv(CoboWaas2.Env.DEV);
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
const apiInstance = new CoboWaas2.PaymentApi();
const fiat_entry_kyc_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
apiInstance.getFiatEntryKyc(fiat_entry_kyc_id).then(
(data) => console.log("Response from PaymentApi.getFiatEntryKyc:", data),
(error) => console.error(error),
);
{
"fiat_entry_kyc_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"status": "PendingReview",
"merchant_type": "B2B",
"country": "HKG",
"industry": [
"Intangible Goods & Service",
"Websites, IT & Software"
],
"created_timestamp": 1744689600,
"email": "[email protected]",
"phone": "+85212345678",
"company_info": {
"company_type": "Corporation",
"listed": false,
"attachments": [
{
"file_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"file_type": "BR"
}
],
"operation_address": {
"country": "HK",
"state": "Hong Kong",
"city": "Hong Kong",
"postcode": "999077",
"line1": "1 Example Street"
},
"identify_no": "12345678",
"company_name": "示例有限公司",
"company_name_en": "Example Limited",
"establish_date": "20290322",
"commencement_date": "20290322",
"valid_period": "20290322",
"register_address": {
"country": "HK",
"state": "Hong Kong",
"city": "Hong Kong",
"postcode": "999077",
"line1": "1 Example Street"
},
"legal_info": {
"name": "张三",
"name_en": "Zhang San",
"id_number": "110101199001011234",
"date_of_birth": "20290322",
"issue_date": "20290322",
"expiration_date": "20290322",
"attachments": [
{
"file_id": "https://example-bucket.s3.us-east-1.amazonaws.com/uploads/id_card_front.jpg",
"file_type": "PRC_ID_Emblem"
}
],
"residential_address": {
"country": "HK",
"state": "Hong Kong",
"city": "Hong Kong",
"postcode": "999077",
"line1": "1 Example Street"
}
},
"ubo_infos": [
{
"name": "张三",
"name_en": "Zhang San",
"id_number": "110101199001011234",
"date_of_birth": "20290322",
"issue_date": "20290322",
"expiration_date": "20290322",
"attachments": [
{
"file_id": "https://example-bucket.s3.us-east-1.amazonaws.com/uploads/id_card_front.jpg",
"file_type": "PRC_ID_Emblem"
}
],
"residential_address": {
"country": "HK",
"state": "Hong Kong",
"city": "Hong Kong",
"postcode": "999077",
"line1": "1 Example Street"
}
}
],
"online_store_url": "https://example.com/store"
},
"individual_info": {
"name": "张三",
"name_en": "Zhang San",
"id_number": "110101199001011234",
"date_of_birth": "20290322",
"issue_date": "20290322",
"expiration_date": "20290322",
"attachments": [
{
"file_id": "https://example-bucket.s3.us-east-1.amazonaws.com/uploads/id_card_front.jpg",
"file_type": "PRC_ID_Emblem"
}
],
"residential_address": {
"country": "HK",
"state": "Hong Kong",
"city": "Hong Kong",
"postcode": "999077",
"line1": "1 Example Street"
}
},
"updated_timestamp": 1744689600
}{
"error_code": 123,
"error_message": "<string>",
"error_id": "0b6ddf19083c4bd1a9ca01bec44b24dd"
}{
"error_code": 123,
"error_message": "<string>",
"error_id": "0b6ddf19083c4bd1a9ca01bec44b24dd"
}import cobo_waas2
from cobo_waas2.models.fiat_entry_kyc_detail import FiatEntryKycDetail
from pprint import pprint
configuration = cobo_waas2.Configuration(
api_private_key="<YOUR_PRIVATE_KEY>",
host="https://api.dev.cobo.com/v2",
)
with cobo_waas2.ApiClient(configuration) as api_client:
api_instance = cobo_waas2.PaymentApi(api_client)
fiat_entry_kyc_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"
try:
api_response: FiatEntryKycDetail = api_instance.get_fiat_entry_kyc(
fiat_entry_kyc_id
)
pprint(api_response)
except cobo_waas2.ApiException as e:
print("Exception when calling PaymentApi->get_fiat_entry_kyc: %s\n" % e)
import com.cobo.waas2.ApiClient;
import com.cobo.waas2.ApiException;
import com.cobo.waas2.Configuration;
import com.cobo.waas2.Env;
import com.cobo.waas2.api.PaymentApi;
import com.cobo.waas2.model.FiatEntryKycDetail;
import java.util.UUID;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setEnv(Env.DEV);
defaultClient.setPrivKey("<YOUR_PRIVATE_KEY>");
PaymentApi apiInstance = new PaymentApi();
UUID fiatEntryKycId = UUID.fromString("f47ac10b-58cc-4372-a567-0e02b2c3d479");
try {
FiatEntryKycDetail result = apiInstance.getFiatEntryKyc(fiatEntryKycId);
System.out.println(result);
} catch (ApiException e) {
e.printStackTrace();
}
}
}
package main
import (
"context"
"fmt"
"os"
coboWaas2 "github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2"
"github.com/CoboGlobal/cobo-waas2-go-sdk/cobo_waas2/crypto"
)
func main() {
fiatEntryKycId := "f47ac10b-58cc-4372-a567-0e02b2c3d479"
configuration := coboWaas2.NewConfiguration()
apiClient := coboWaas2.NewAPIClient(configuration)
ctx := context.Background()
ctx = context.WithValue(ctx, coboWaas2.ContextEnv, coboWaas2.DevEnv)
ctx = context.WithValue(ctx, coboWaas2.ContextPortalSigner, crypto.Ed25519Signer{
Secret: "<YOUR_PRIVATE_KEY>",
})
resp, r, err := apiClient.PaymentAPI.GetFiatEntryKyc(ctx, fiatEntryKycId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling PaymentAPI.GetFiatEntryKyc: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from GetFiatEntryKyc: FiatEntryKycDetail
fmt.Fprintf(os.Stdout, "Response from PaymentAPI.GetFiatEntryKyc: %v\n", resp)
}
const CoboWaas2 = require("@cobo/cobo-waas2");
const apiClient = CoboWaas2.ApiClient.instance;
apiClient.setEnv(CoboWaas2.Env.DEV);
apiClient.setPrivateKey("<YOUR_PRIVATE_KEY>");
const apiInstance = new CoboWaas2.PaymentApi();
const fiat_entry_kyc_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479";
apiInstance.getFiatEntryKyc(fiat_entry_kyc_id).then(
(data) => console.log("Response from PaymentApi.getFiatEntryKyc:", data),
(error) => console.error(error),
);
Authorizations
The API key. For more details, refer to API key.
In the API playground, enter your API secret, and your API key will be accordingly calculated.
Path Parameters
The fiat entry KYC ID, which you can retrieve by calling List all fiat entry KYC.
Response
The request was successful.
The fiat entry KYC ID.
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
The fiat entry KYC status. Possible values include:
PendingReview: The fiat entry KYC is pending review.Completed: The fiat entry KYC has been completed.Failed: The fiat entry KYC has failed.Disabled: The fiat entry KYC is disabled and cannot be updated.
PendingReview, Completed, Failed, Disabled "PendingReview"
The merchant type. Possible values include:
B2B: Business-to-business merchant.B2C: Business-to-consumer merchant.
B2B, B2C "B2B"
The country/region of the fiat entry KYC, in ISO 3166-1 alpha-3 format.
"HKG"
The industry categories of the fiat entry KYC.
[
"Intangible Goods & Service",
"Websites, IT & Software"
]
The creation timestamp in Unix seconds.
1744689600
The email address.
The phone number.
"+85212345678"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The last update timestamp in Unix seconds.
1744689600
