Zai

Zai Item Actions API

The Item Actions API from Zai — 8 operation(s) for item actions.

Operations 8

PATCH /items/{id}/make_payment Make Payment #
PATCH /items/{id}/make_payment_async Make an async Payment #
PATCH /items/{id}/cancel Cancel #
PATCH /items/{id}/refund Refund #
PATCH /items/{id}/authorize_payment Authorize Payment #
PATCH /items/{id}/capture_payment Capture Payment #
PATCH /items/{id}/void_payment Void Payment #
PATCH /items/{id}/release_payment Release Payment (Deprecated - Do Not Use) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zai-item-actions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zai-item-actions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zai Item Actions API
  contact:
    email: support@assemblypayments.com
    url: http://docs.assemblypayments.com/
  version: '1.0'
  description: 'Operations tagged Item Actions across 2 of this provider''s published API definitions: zai-assembly-api.json, zai-async-api.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://test.api.promisepay.com
  description: Pre-live environment
- url: https://secure.api.promisepay.com
  description: Production environment
- url: https://au-0000.sandbox.auth.assemblypay.com
  description: Pre-Live (Sandbox) Auth issuing server and API
- url: https://au-0000.auth.assemblypay.com
  description: Production Auth issuing server and API
- description: SwaggerHub API Auto Mocking
  url: https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-api/2.3
- description: SwaggerHub API Auto Mocking
  url: https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-async-api/1.0.0
- url: https://test.tnq.api.assemblypay.com/
  description: Sandbox (AKA Pre-live) environment hosting asynchronous endpoints.
- url: https://tnq.api.assemblypay.com/
  description: Production environment hosting asynchronous endpoints.
tags:
- name: Item Actions
paths:
  /items/{id}/make_payment:
    patch:
      tags:
      - Item Actions
      summary: Make Payment
      description: 'Make a payment for an **Item**. Pass the `:account_id` of a **Bank Account** or a **Card Account** associated with the **Item''s** buyer. The **Item** state will transition to one of `payment_held`, `payment_pending` or `completed` for an **Express** or **Approve** payment type.

        '
      operationId: makePayment
      parameters:
      - name: id
        in: path
        description: Marketplace / Platform item ID
        required: true
        schema:
          type: string
          default: 7190770-1-2908
        example: 7190770-1-2908
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/account_id_requestBody'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/single_item'
      security:
      - oAuth2ClientCredentials: []
    servers:
    - url: https://test.api.promisepay.com
      description: Pre-live environment
    - url: https://secure.api.promisepay.com
      description: Production environment
    - url: https://au-0000.sandbox.auth.assemblypay.com
      description: Pre-Live (Sandbox) Auth issuing server and API
    - url: https://au-0000.auth.assemblypay.com
      description: Production Auth issuing server and API
    - description: SwaggerHub API Auto Mocking
      url: https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-api/2.3
  /items/{id}/make_payment_async:
    patch:
      tags:
      - Item Actions
      summary: Make an async Payment
      description: 'Initiate a card payment with 3D Secure 2.0 authentication support.

        This endpoint initiates the payment process and returns a `payment_token`

        required for 3DS2 component initialisation.

        '
      operationId: makePaymentAsync
      parameters:
      - name: id
        in: path
        description: Marketplace / Platform item ID
        required: true
        schema:
          type: string
        example: 7190770-1-2908
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/account_id_asyncRequestBody'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/acknowledge_payment'
      security:
      - oAuth2ClientCredentials: []
    servers:
    - url: https://test.api.promisepay.com
      description: Pre-live environment
    - url: https://secure.api.promisepay.com
      description: Production environment
    - url: https://au-0000.sandbox.auth.assemblypay.com
      description: Pre-Live (Sandbox) Auth issuing server and API
    - url: https://au-0000.auth.assemblypay.com
      description: Production Auth issuing server and API
    - description: SwaggerHub API Auto Mocking
      url: https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-api/2.3
  /items/{id}/cancel:
    patch:
      tags:
      - Item Actions
      summary: Cancel
      description: Cancel an **Item**. This will transition the **Item** state to `cancelled`. **Items** can only be cancelled if they haven't been actioned in any other way.
      operationId: cancelItem
      parameters:
      - name: id
        in: path
        description: Marketplace / Platform item ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
          default: 7190770-1-2908
        example: 7190770-1-2908
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/single_item'
              examples:
                response:
                  value:
                    items:
                      id: 7190770-1-2908
                      name: Item 7190770-1-2908
                      description: Test Item 7190770-1-2908
                      custom_descriptor: null
                      payout_descriptor: null
                      created_at: '2020-05-11T10:26:49.660Z'
                      updated_at: '2020-05-11T10:26:49.660Z'
                      state: pending
                      net_amount: 102
                      chargedback_amount: 0
                      refunded_amount: 0
                      released_amount: 0
                      seller_url: ''
                      buyer_url: ''
                      remaining_amount: 102
                      status: 22000
                      amount: 102
                      payment_type_id: 2
                      due_date: null
                      requested_release_amount: 0
                      pending_release_amount: 0
                      dynamic_descriptor: null
                      invoice_url: null
                      deposit_reference: '100014012533386'
                      buyer_fees: 0
                      seller_fees: 0
                      credit_card_fee: 0
                      direct_debit_fee: 0
                      paypal_fee: 0
                      promisepay_fee: 1
                      batch_state: null
                      total_outstanding: 102
                      total_amount: 102
                      currency: AUD
                      payment_method: pending
                      buyer_name: Neol Buyer
                      buyer_email: neol_buyer719013950014@assemblypayments.com
                      buyer_country: AUS
                      seller_name: Assembly seller71718579
                      seller_email: neol_seller71718579@assemblypayments.com
                      seller_country: AUS
                      payment_credit_card_enabled: true
                      payment_direct_debit_enabled: true
                      tds_check_state: null
                      related:
                        buyers: buyer-719013950014
                        sellers: seller-71718579
                      links:
                        self: /items/7190770-1-2908/cancel
                        buyers: /items/7190770-1-2908/buyers
                        sellers: /items/7190770-1-2908/sellers
                        status: /items/7190770-1-2908/status
                        fees: /items/7190770-1-2908/fees
                        transactions: /items/7190770-1-2908/transactions
                        batch_transactions: /items/7190770-1-2908/batch_transactions
                        wire_details: /items/7190770-1-2908/wire_details
                        bpay_details: /items/7190770-1-2908/bpay_details
                        tds_checks: /items/7190770-1-2908/tds_checks
      security:
      - oAuth2ClientCredentials: []
    servers:
    - url: https://test.api.promisepay.com
      description: Pre-live environment
    - url: https://secure.api.promisepay.com
      description: Production environment
    - url: https://au-0000.sandbox.auth.assemblypay.com
      description: Pre-Live (Sandbox) Auth issuing server and API
    - url: https://au-0000.auth.assemblypay.com
      description: Production Auth issuing server and API
    - description: SwaggerHub API Auto Mocking
      url: https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-api/2.3
  /items/{id}/refund:
    patch:
      tags:
      - Item Actions
      summary: Refund
      description: Refund an **Item**'s funds. A partial `amount` can be specified otherwise the full amount will be refunded. This will transition the **Item** state to 'refunded' if the full amount is refunded, or to the previously held state if a partial `amount` is specified.
      operationId: refund
      parameters:
      - name: id
        in: path
        description: Marketplace / Platform item ID to be refunded
        required: true
        style: simple
        explode: false
        schema:
          type: string
          default: 7190770-1-2908
        example: 7190770-1-2908
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/refund_requestBody'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/single_item'
              examples:
                response:
                  value:
                    id: 7190770-1-2908
                    name: Item 7190770-1-2908
                    description: Test Item 7190770-1-2908
                    custom_descriptor: null
                    payout_descriptor: null
                    created_at: '2020-05-11T10:26:49.660Z'
                    updated_at: '2020-05-11T10:26:49.660Z'
                    state: pending
                    net_amount: 102
                    chargedback_amount: 0
                    refunded_amount: 0
                    released_amount: 0
                    seller_url: ''
                    buyer_url: ''
                    remaining_amount: 102
                    status: 22000
                    amount: 102
                    payment_type_id: 2
                    due_date: null
                    requested_release_amount: 0
                    pending_release_amount: 0
                    dynamic_descriptor: null
                    invoice_url: null
                    deposit_reference: '100014012533386'
                    buyer_fees: 0
                    seller_fees: 0
                    credit_card_fee: 0
                    direct_debit_fee: 0
                    paypal_fee: 0
                    promisepay_fee: 1
                    batch_state: null
                    total_outstanding: 102
                    total_amount: 102
                    currency: AUD
                    payment_method: pending
                    buyer_name: Neol Buyer
                    buyer_email: neol_buyer719013950014@assemblypayments.com
                    buyer_country: AUS
                    seller_name: Assembly seller71718579
                    seller_email: neol_seller71718579@assemblypayments.com
                    seller_country: AUS
                    payment_credit_card_enabled: true
                    payment_direct_debit_enabled: true
                    tds_check_state: null
                    related:
                      buyers: buyer-719013950014
                      sellers: seller-71718579
                    links:
                      self: /items/7190770-1-2908/refund
                      buyers: /items/7190770-1-2908/buyers
                      sellers: /items/7190770-1-2908/sellers
                      status: /items/7190770-1-2908/status
                      fees: /items/7190770-1-2908/fees
                      transactions: /items/7190770-1-2908/transactions
                      batch_transactions: /items/7190770-1-2908/batch_transactions
                      wire_details: /items/7190770-1-2908/wire_details
                      bpay_details: /items/7190770-1-2908/bpay_details
                      tds_checks: /items/7190770-1-2908/tds_checks
      security:
      - oAuth2ClientCredentials: []
    servers:
    - url: https://test.api.promisepay.com
      description: Pre-live environment
    - url: https://secure.api.promisepay.com
      description: Production environment
    - url: https://au-0000.sandbox.auth.assemblypay.com
      description: Pre-Live (Sandbox) Auth issuing server and API
    - url: https://au-0000.auth.assemblypay.com
      description: Production Auth issuing server and API
    - description: SwaggerHub API Auto Mocking
      url: https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-api/2.3
  /items/{id}/authorize_payment:
    patch:
      tags:
      - Item Actions
      summary: Authorize Payment
      description: 'Where pre-authentication is enabled on a platform, initiates a credit card payment authorization for an item. When an authorization is successful, your platform holds the item amount for capture, but there is no transfer of funds happening. This call is used with the Capture Payment or Void Payment calls.

        '
      operationId: authorizePayment
      parameters:
      - name: id
        in: path
        description: Marketplace / Platform item ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
          default: 7190770-1-2908
        example: 7190770-1-2908
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/card_account_id_requestBody'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/single_item'
              examples:
                response:
                  value:
                    items:
                      id: 7190770-1-2908
                      name: Item 7190770-1-2908
                      description: Test Item 7190770-1-2908
                      custom_descriptor: null
                      payout_descriptor: null
                      created_at: '2020-05-11T10:26:49.660Z'
                      updated_at: '2020-05-11T10:26:49.660Z'
                      state: pending
                      net_amount: 102
                      chargedback_amount: 0
                      refunded_amount: 0
                      released_amount: 0
                      seller_url: ''
                      buyer_url: ''
                      remaining_amount: 102
                      status: 22000
                      amount: 102
                      payment_type_id: 2
                      due_date: null
                      requested_release_amount: 0
                      pending_release_amount: 0
                      dynamic_descriptor: null
                      invoice_url: null
                      deposit_reference: '100014012533386'
                      buyer_fees: 0
                      seller_fees: 0
                      credit_card_fee: 0
                      direct_debit_fee: 0
                      paypal_fee: 0
                      promisepay_fee: 1
                      batch_state: null
                      total_outstanding: 102
                      total_amount: 102
                      currency: AUD
                      payment_method: pending
                      buyer_name: Neol Buyer
                      buyer_email: neol_buyer719013950014@assemblypayments.com
                      buyer_country: AUS
                      seller_name: Assembly seller71718579
                      seller_email: neol_seller71718579@assemblypayments.com
                      seller_country: AUS
                      payment_credit_card_enabled: true
                      payment_direct_debit_enabled: true
                      tds_check_state: null
                      related:
                        buyers: buyer-719013950014
                        sellers: seller-71718579
                      links:
                        self: /items/7190770-1-2908/authorize_payment?account_id=725cc8c0-759b-0138-5d6d-0a58a9feac05
                        buyers: /items/7190770-1-2908/buyers
                        sellers: /items/7190770-1-2908/sellers
                        status: /items/7190770-1-2908/status
                        fees: /items/7190770-1-2908/fees
                        transactions: /items/7190770-1-2908/transactions
                        batch_transactions: /items/7190770-1-2908/batch_transactions
                        wire_details: /items/7190770-1-2908/wire_details
                        bpay_details: /items/7190770-1-2908/bpay_details
                        tds_checks: /items/7190770-1-2908/tds_checks
      security:
      - oAuth2ClientCredentials: []
    servers:
    - url: https://test.api.promisepay.com
      description: Pre-live environment
    - url: https://secure.api.promisepay.com
      description: Production environment
    - url: https://au-0000.sandbox.auth.assemblypay.com
      description: Pre-Live (Sandbox) Auth issuing server and API
    - url: https://au-0000.auth.assemblypay.com
      description: Production Auth issuing server and API
    - description: SwaggerHub API Auto Mocking
      url: https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-api/2.3
  /items/{id}/capture_payment:
    patch:
      tags:
      - Item Actions
      summary: Capture Payment
      description: 'Where pre-authentication is enabled on a platform, completes a credit card payment for an item whose payment is authorized. This call is used with the Authorize Payment call.

        '
      operationId: capturePayment
      parameters:
      - name: id
        in: path
        description: Marketplace / Platform item ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
          default: 7190770-1-2908
        example: 7190770-1-2908
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/partial_payment'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/single_item'
              examples:
                response:
                  value:
                    items:
                      id: 7190770-1-2908
                      name: Item 7190770-1-2908
                      description: Test Item 7190770-1-2908
                      custom_descriptor: null
                      payout_descriptor: null
                      created_at: '2020-05-11T10:26:49.660Z'
                      updated_at: '2020-05-11T10:26:49.660Z'
                      state: pending
                      net_amount: 102
                      chargedback_amount: 0
                      refunded_amount: 0
                      released_amount: 0
                      seller_url: ''
                      buyer_url: ''
                      remaining_amount: 102
                      status: 22000
                      amount: 102
                      payment_type_id: 2
                      due_date: null
                      requested_release_amount: 0
                      pending_release_amount: 0
                      dynamic_descriptor: null
                      invoice_url: null
                      deposit_reference: '100014012533386'
                      buyer_fees: 0
                      seller_fees: 0
                      credit_card_fee: 0
                      direct_debit_fee: 0
                      paypal_fee: 0
                      promisepay_fee: 1
                      batch_state: null
                      total_outstanding: 102
                      total_amount: 102
                      currency: AUD
                      payment_method: pending
                      buyer_name: Neol Buyer
                      buyer_email: neol_buyer719013950014@assemblypayments.com
                      buyer_country: AUS
                      seller_name: Assembly seller71718579
                      seller_email: neol_seller71718579@assemblypayments.com
                      seller_country: AUS
                      payment_credit_card_enabled: true
                      payment_direct_debit_enabled: true
                      tds_check_state: null
                      related:
                        buyers: buyer-719013950014
                        sellers: seller-71718579
                      links:
                        self: /items/7190770-1-2908/capture_payment
                        buyers: /items/7190770-1-2908/buyers
                        sellers: /items/7190770-1-2908/sellers
                        status: /items/7190770-1-2908/status
                        fees: /items/7190770-1-2908/fees
                        transactions: /items/7190770-1-2908/transactions
                        batch_transactions: /items/7190770-1-2908/batch_transactions
                        wire_details: /items/7190770-1-2908/wire_details
                        bpay_details: /items/7190770-1-2908/bpay_details
                        tds_checks: /items/7190770-1-2908/tds_checks
      security:
      - oAuth2ClientCredentials: []
    servers:
    - url: https://test.api.promisepay.com
      description: Pre-live environment
    - url: https://secure.api.promisepay.com
      description: Production environment
    - url: https://au-0000.sandbox.auth.assemblypay.com
      description: Pre-Live (Sandbox) Auth issuing server and API
    - url: https://au-0000.auth.assemblypay.com
      description: Production Auth issuing server and API
    - description: SwaggerHub API Auto Mocking
      url: https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-api/2.3
  /items/{id}/void_payment:
    patch:
      tags:
      - Item Actions
      summary: Void Payment
      description: 'Where pre-authentication is enabled on a platform, voids the `payment_authorized` status for an item. This call is used with the Authorize Payment call. **Note**: Not all payment gateways support the Void Payment API call. In this case, you can wait until a payment authorization expires. A payment authorisation expires after 3 to 6 days if not captured.

        '
      operationId: voidPayment
      parameters:
      - name: id
        in: path
        description: Marketplace / Platform item ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
          default: 7190770-1-2908
        example: 7190770-1-2908
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/single_item'
              examples:
                response:
                  value:
                    items:
                      id: 7190770-1-2908
                      name: Item 7190770-1-2908
                      description: Test Item 7190770-1-2908
                      custom_descriptor: null
                      payout_descriptor: null
                      created_at: '2020-05-11T10:26:49.660Z'
                      updated_at: '2020-05-11T10:26:49.660Z'
                      state: pending
                      net_amount: 102
                      chargedback_amount: 0
                      refunded_amount: 0
                      released_amount: 0
                      seller_url: ''
                      buyer_url: ''
                      remaining_amount: 102
                      status: 22000
                      amount: 102
                      payment_type_id: 2
                      due_date: null
                      requested_release_amount: 0
                      pending_release_amount: 0
                      dynamic_descriptor: null
                      invoice_url: null
                      deposit_reference: '100014012533386'
                      buyer_fees: 0
                      seller_fees: 0
                      credit_card_fee: 0
                      direct_debit_fee: 0
                      paypal_fee: 0
                      promisepay_fee: 1
                      batch_state: null
                      total_outstanding: 102
                      total_amount: 102
                      currency: AUD
                      payment_method: pending
                      buyer_name: Neol Buyer
                      buyer_email: neol_buyer719013950014@assemblypayments.com
                      buyer_country: AUS
                      seller_name: Assembly seller71718579
                      seller_email: neol_seller71718579@assemblypayments.com
                      seller_country: AUS
                      payment_credit_card_enabled: true
                      payment_direct_debit_enabled: true
                      tds_check_state: null
                      related:
                        buyers: buyer-719013950014
                        sellers: seller-71718579
                      links:
                        self: /items/7190770-1-2908/void_payment
                        buyers: /items/7190770-1-2908/buyers
                        sellers: /items/7190770-1-2908/sellers
                        status: /items/7190770-1-2908/status
                        fees: /items/7190770-1-2908/fees
                        transactions: /items/7190770-1-2908/transactions
                        batch_transactions: /items/7190770-1-2908/batch_transactions
                        wire_details: /items/7190770-1-2908/wire_details
                        bpay_details: /items/7190770-1-2908/bpay_details
                        tds_checks: /items/7190770-1-2908/tds_checks
      security:
      - oAuth2ClientCredentials: []
    servers:
    - url: https://test.api.promisepay.com
      description: Pre-live environment
    - url: https://secure.api.promisepay.com
      description: Production environment
    - url: https://au-0000.sandbox.auth.assemblypay.com
      description: Pre-Live (Sandbox) Auth issuing server and API
    - url: https://au-0000.auth.assemblypay.com
      description: Production Auth issuing server and API
    - description: SwaggerHub API Auto Mocking
      url: https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-api/2.3
  /items/{id}/release_payment:
    patch:
      tags:
      - Item Actions
      summary: Release Payment (Deprecated - Do Not Use)
      description: Included for legacy purposes for existing customers that use Escrow payments which are no longer supported for new flows/customers. Release funds held in escrow from an **Item** with an **Escrow** or **Escrow Partial Release** payment type.  This will transition the **Item** state to `completed`.
      operationId: releasePayment
      parameters:
      - name: id
        in: path
        description: Marketplace / Platform item ID
        required: true
        style: simple
        explode: false
        schema:
          type: string
          default: 7190770-1-2908
        example: 7190770-1-2908
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/release_payment_requestBody'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/single_item'
              examples:
                response:
                  value:
                    items:
                      id: 7190770-1-2908
                      name: Item 7190770-1-2908
                      description: Test Item 7190770-1-2908
                      custom_descriptor: null
                      payout_descriptor: null
                      created_at: '2020-05-11T10:26:49.660Z'
                      updated_at: '2020-05-11T10:26:49.660Z'
                      state: completed
                      net_amount: 102
                      chargedback_amount: 0
                      refunded_amount: 0
                      released_amount: 102
                      seller_url: ''
                      buyer_url: ''
                      remaining_amount: 102
                      status: 22500
                      amount: 102
                      payment_type_id: 1
                      due_date: null
                      requested_release_amount: 0
                      pending_release_amount: 0
                      dynamic_descriptor: null
                      invoice_url: null
                      deposit_reference: '100014012533386'
                      buyer_fees: 0
                      seller_fees: 0
                      credit_card_fee: 0
                      direct_debit_fee: 0
                      paypal_fee: 0
                      promisepay_fee: 1
                      batch_state: null
                      total_outstanding: 0
                      total_amount: 102
                      currency: AUD
                      payment_method: pending
                      buyer_name: Neol Buyer
                      buyer_email: neol_buyer719013950014@assemblypayments.com
                      buyer_country: AUS
                      seller_name: Assembly seller71718579
                      seller_email: neol_seller71718579@assemblypayments.com
                      seller_country: AUS
                      payment_credit_card_enabled: true
                      payment_direct_debit_enabled: true
                      tds_check_state: null
                      related:
                        buyers: buyer-719013950014
                        sellers: seller-71718579
                      links:
                        self: /items/7190770-1-2908/cancel
                        buyers: /items/7190770-1-2908/buyers
                        sellers: /items/7190770-1-2908/sellers
                        status: /items/7190770-1-2908/status
                        fees: /items/7190770-1-2908/fees
                        transactions: /items/7190770-1-2908/transactions
                        batch_transactions: /items/7190770-1-2908/batch_transactions
                        wire_details: /items/7190770-1-2908/wire_details
                        bpay_details: /items/7190770-1-2908/bpay_details
                        tds_checks: /items/7190770-1-2908/tds_checks
      security:
      - oAuth2ClientCredentials: []
    servers:
    - url: https://test.api.promisepay.com
      description: Pre-live environment
    - url: https://secure.api.promisepay.com
      description: Production environment
    - url: https://au-0000.sandbox.auth.assemblypay.com
      description: Pre-Live (Sandbox) Auth issuing server and API
    - url: https://au-0000.auth.assemblypay.com
      description: Production Auth issuing server and API
    - description: SwaggerHub API Auto Mocking
      url: https://virtserver.swaggerhub.com/AssemblyPlatforms/assembly-api/2.3
components:
  schemas:
    card_account_id_requestBody:
      type: object
      required:
      - account_id
      properties:
        account_id:
          description: Card account ID
          type: string
          example: 725cc8c0-759b-0138-5d6d-0a58a9feac05
          default: 725cc8c0-759b-0138-5d6d-0a58a9feac05
        cvv:
          description: CVV / CVC
          type: string
          example: ''
        merchant_phone:
          description: Seller User Phone Number or Mobile number. International number format. Include '+' and no spaces.
          type: string
          example: ''
    refund_requestBody:
      type: object
      properties:
        refund_amount:
          description: For partial refunds, if they are enabled for marketplace.
          type: integer
          example: ''
        refund_message:
          description: Reason for the request.
          type: string
          example: ''
        account_id:
          description: The account id to be used to get the refunds from. This will need to be an account that has already been set up within Assembly
          type: string
          example: ''
    acknowledge_payment:
      type: objec

# --- truncated at 32 KB (48 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/zai/refs/heads/main/openapi/zai-item-actions-api-openapi.yml