naftiko: 1.0.0-alpha2
info:
label: eBay Account API — Payments_program
description: 'eBay Account API — Payments_program. 1 operations. Lead operation: Payments_program. Self-contained Naftiko
capability covering one Ebay business surface.'
tags:
- Ebay
- Payments_program
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
EBAY_API_KEY: EBAY_API_KEY
capability:
consumes:
- type: http
namespace: account-payments-program
baseUri: https://api.ebay.com{basePath}
description: eBay Account API — Payments_program business capability. Self-contained, no shared references.
resources:
- name: payments_program-marketplace_id-payments_program_type
path: /payments_program/{marketplace_id}/{payments_program_type}
operations:
- name: getpaymentsprogram
method: GET
description: Note: This method is no longer applicable, as all seller accounts globally
have been enabled for the new eBay payment and checkout flow.
This method returns whether or not the user
is opted-in to the
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: marketplace_id
in: path
type: string
description: This path parameter specifies the eBay marketplace of the payments program for which you want to retrieve
the seller's status.
required: true
- name: payments_program_type
in: path
type: string
description: This path parameter specifies the payments program whose status is returned by the call.
required: true
authentication:
type: bearer
token: '{{env.EBAY_API_KEY}}'
exposes:
- type: rest
namespace: account-payments-program-rest
port: 8080
description: REST adapter for eBay Account API — Payments_program. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/payments-program/{marketplace-id}/{payments-program-type}
name: payments-program-marketplace-id-payments-program-type
description: REST surface for payments_program-marketplace_id-payments_program_type.
operations:
- method: GET
name: getpaymentsprogram
description: Note: This method is no longer applicable, as all seller accounts globally
have been enabled for the new eBay payment and checkout flow.
This method returns whether or not the user
is opted-in to the
call: account-payments-program.getpaymentsprogram
with:
marketplace_id: rest.marketplace_id
payments_program_type: rest.payments_program_type
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: account-payments-program-mcp
port: 9090
transport: http
description: MCP adapter for eBay Account API — Payments_program. One tool per consumed operation, routed inline through
this capability's consumes block.
tools:
- name: span-class-tablenote-b-note-b-this-method
description: Note: This method is no longer applicable, as all seller accounts globally
have been enabled for the new eBay payment and checkout flow.
This method returns whether or not the user
is opted-in to the
hints:
readOnly: true
destructive: false
idempotent: true
call: account-payments-program.getpaymentsprogram
with:
marketplace_id: tools.marketplace_id
payments_program_type: tools.payments_program_type
outputParameters:
- type: object
mapping: $.