> ## Documentation Index
> Fetch the complete documentation index at: https://docs.y.uno/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# 支付方式对象

> 介绍支付方式对象中返回的属性，包括服务提供商和注册数据

## 属性

此对象表示可以与客户关联的支付方式。

**id** `string`

支付方式的唯一标识符（MAX 64; MIN 36）。

示例：693ed90e-5aa9-11ed-9b6a-0242ac120002

**account\_id** `string`

账户的唯一标识符（MAX 64; MIN 36）。

示例：8caa8bf4-5aa9-11ed-9b6a-0242ac120002

**name** `string`

支付方式名称（MAX 255; MIN 3）。

示例：Mercado Pago - Wallet

**description** `string`

支付方式描述（MAX 255; MIN 3）。

示例：Mercado Pago - Wallet, the best!

**type** `enum`

支付方式类型（MAX 255; MIN 3）。

可能的枚举值：请查看[
支付类型列表](https://docs.y.uno/zh-hans/reference/payment-type-list.md)。

**category** `string`

支付方式类别（MAX 255; MIN 3）。

示例：CARD

**country** `enum`

客户所在的国家/地区（MAX 2; MIN 2; [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)）。

可能的枚举值：请查看[国家/地区参考](https://docs.y.uno/zh-hans/reference/country-reference.md)。

**verify** `object`

指示是否通过验证交易来验证支付。您需要在 CARD 路由中定义服务提供商。

**属性**

**vault\_on\_success** `boolean`

指示是否通过验证交易来验证支付。默认为 False。

**currency** `enum`

卡片验证所使用的币种（MAX 3; MIN 3; [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)）。

可能的枚举值：请查看[国家/地区参考](https://docs.y.uno/zh-hans/reference/country-reference.md)。

**status** `enum`

支付方式的状态（MAX 255; MIN 5）。

可能的枚举值：请查看[支付方式状态](https://docs.y.uno/zh-hans/reference/customer-sessions-enrollment/enrollment-workflow.md#payment-method-status)。

**created\_at** `timestamp`

支付方式的创建日期和时间（MAX 27; MIN 27; [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)）。

示例：2022-05-09T20:46:54.786342Z

**updated\_at** `timestamp`

支付方式的最后更新日期和时间（MAX 27; MIN 27; [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)）。

示例：2022-05-09T20:46:54.786342Z

**enrollment** `object`

指定注册对象。

**属性**

**session** `string`

为该支付方式创建的客户会话（MAX 64; MIN 36）。

示例：9104911d-5df9-429e-8488-ad41abea1a4b

**sdk\_required\_action** `boolean`

调用 SDK 所需的操作。

可能的值：`True` 或 `False`

**provider** `object`

指定服务提供商对象。

**属性**

**type** `enum`

服务提供商类型。

示例：BANK

**provider\_status** `string`

服务提供商的状态（MAX 255; MIN 3）。

示例：OK

**id** `string`

注册的唯一标识符（MAX 64; MIN 36）。

示例：a079d524-c3df-4470-b3c8-7f290f5a0ba4

**token** `string`

服务提供商返回的令牌（MAX 64; MIN 36）。

示例：a079d524-c3df-4470-b3c8-7f290f5a0ba4


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.