立即开始
Square Tools

Square Create Refund

通过 Aident Loadout 使用 Square Tools 的 Square Create Refund。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Refunds a Square payment in full or partially. Use this action when you need to return funds to a customer for a completed payment, such as for returned products, cancelled services, or billing errors. The refund amount cannot exceed the original payment total minus any prior re…

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • reasonstring
    A description of the reason for the refund. Visible to the customer on their receipt and transaction history.
  • payment_idstring
    必填
    The Square payment ID to refund. Required for linked refunds. You can obtain payment IDs from the List Payments endpoint or from payment creation responses.
  • amount_moneyobject
    必填
    The amount to refund. Cannot exceed the original payment total minus any prior refunds. Must be in the same currency as the original payment.
  • app_fee_moneyobject
    Represents an amount of money.
  • team_member_idstring
    An optional ID of the team member associated with processing the refund.
  • idempotency_keystring
    必填
    A unique key to ensure idempotent request processing. Required for all refund operations to prevent duplicate refunds.
  • payment_version_tokenstring
    Used for optimistic concurrency control. This opaque token identifies a specific version of the Payment object to ensure the payment hasn't been modified since retrieval.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源