OtherServiceProvider
Type: schema
TypeScript Definition
typescript
OtherServiceProvider: {{
id?: $Read<string>;
name?: $Read<string>;
alias?: $Read<string>;
/** @description Primary logo URL. Same as `logo_light` for most providers. */
logo?: $Read<string | null>;
service_sub_type?: $Read<string | null>;
service_type?: $Read<components["schemas"]["ServiceProviderType"]>;
description?: $Read<string>;
short_description?: $Read<string>;
logo_dark?: $Read<string | null>;
logo_light?: $Read<string | null>;
website_url?: $Read<string | null>;
api_doc_url?: $Read<string | null>;
/** @description json object in key & value pair. */
required_credentials_params?: $Read<{
input_field_name?: string;
input_field_label?: string;
/** @enum {unknown} */
input_field_type?: "text" | "number" | "boolean" | "email" | "password";
}[]>;
/** @default false */
is_connected: $Read<boolean>;
/** @default true */
is_connection_expired: $Read<boolean>;
/** @default true */
supports_test_connection: $Read<boolean>;
/** @description Connected credentials. Nonempty values are returned as `********`, except `merchant_id`, `X-environment`, `ledger_required`, `ledger_type` and `common_ledger_id`. Empty strings and nulls are retained; null or an empty array means no credentials are stored. A stored non-object value is returned as the string `********`. */
api_credentials?: $Read<{
[key: string]: unknown;
} | unknown[] | string | null>;
/**
* @default active
* @enum {unknown}
*/
status: "active" | "inactive" | "error";
features?: $Read<{
name?: string;
description?: string;
is_supported?: boolean;
features?: {
name?: string;
description?: string;
is_supported?: boolean;
}[];
}[]>;
};
/**
* Packaging
* @description Packing dimensions for the returned product or variant; null when no packing dimensions are configured. Marketplace product details use the default variant’s dimensions when the product has variants. Individual marketplace variants return their own dimensions.
*/
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["ServiceProviderType"] | ServiceProviderType |
OpenAPI Schema
json
{
"title": "OtherServiceProvider",
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true
},
"name": {
"type": "string",
"readOnly": true
},
"alias": {
"type": "string",
"readOnly": true
},
"logo": {
"description": "Primary logo URL. Same as `logo_light` for most providers.",
"type": [
"string",
"null"
],
"readOnly": true
},
"service_sub_type": {
"type": [
"string",
"null"
],
"readOnly": true
},
"service_type": {
"$ref": "#/components/schemas/ServiceProviderType",
"readOnly": true
},
"description": {
"type": "string",
"readOnly": true
},
"short_description": {
"type": "string",
"readOnly": true
},
"logo_dark": {
"type": [
"string",
"null"
],
"readOnly": true
},
"logo_light": {
"type": [
"string",
"null"
],
"readOnly": true
},
"website_url": {
"type": [
"string",
"null"
],
"readOnly": true
},
"api_doc_url": {
"type": [
"string",
"null"
],
"readOnly": true
},
"required_credentials_params": {
"description": "json object in key & value pair.",
"type": "array",
"items": {
"type": "object",
"properties": {
"input_field_name": {
"type": "string"
},
"input_field_label": {
"type": "string"
},
"input_field_type": {
"enum": [
"text",
"number",
"boolean",
"email",
"password"
]
}
}
},
"readOnly": true
},
"is_connected": {
"type": "boolean",
"default": false,
"readOnly": true
},
"is_connection_expired": {
"type": "boolean",
"default": true,
"readOnly": true
},
"supports_test_connection": {
"type": "boolean",
"default": true,
"readOnly": true
},
"api_credentials": {
"description": "Connected credentials. Nonempty values are returned as `********`, except `merchant_id`, `X-environment`, `ledger_required`, `ledger_type` and `common_ledger_id`. Empty strings and nulls are retained; null or an empty array means no credentials are stored. A stored non-object value is returned as the string `********`.",
"type": [
"object",
"array",
"string",
"null"
],
"additionalProperties": true,
"readOnly": true
},
"status": {
"default": "active",
"enum": [
"active",
"inactive",
"error"
]
},
"features": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"is_supported": {
"type": "boolean"
},
"features": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"is_supported": {
"type": "boolean"
}
}
}
}
}
},
"readOnly": true
}
},
"x-tags": [
"Store"
]
}Auto-generated from OpenAPI spec and TypeScript definitions