Resource: UcpSettings
Represents the Universal Commerce Protocol (UCP) enablement state and configuration for a Merchant Center account. For setup instructions, see the UCP checkout setup guide.
UcpSettings (accounts.programs.ucpSettings) stores the persistent, validated UCP configuration and parsed profile for the ucp-integration program. Updating this resource with starts an asynchronous validation of the ucpSettings.updateUcpSettingswellKnownUri and returns a separate resource (Operationaccounts.programs.ucpSettings.operations). Poll the operation using until operations.getdone is true to verify whether validation succeeded and the updated UcpSettings were stored.
| JSON representation |
|---|
{
"name": string,
"wellKnownUri": string,
"updateTime": string,
"ucpProfile": {
object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the |
wellKnownUri |
Optional. The public Universal Commerce Protocol (UCP) profile URL (e.g., |
updateTime |
Output only. The timestamp when the UCP settings were last successfully patched. |
ucpProfile |
Output only. The UCP profile contents fetched from the business's |
UcpProfile
Represents the parsed contents of a business's UCP profile.
| JSON representation |
|---|
{ "version": string, "capabilities": [ string ], "paymentHandlers": [ string ], "signingKeys": [ string ] } |
| Fields | |
|---|---|
version |
Output only. The version of the UCP specification used by the profile (e.g., |
capabilities[] |
Output only. The list of UCP core capabilities supported by the business (e.g., |
paymentHandlers[] |
Output only. The list of payment handler specifiers supported by the business (e.g., |
signingKeys[] |
Output only. The list of key identifiers used by the business to sign cryptographic mandates. |
Methods |
|
|---|---|
|
Retrieves the currently stored, validated UcpSettings for a Merchant Center account. |
|
Patches the UCP settings for a Merchant Center account. |