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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-refunds-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Amazon Pay Refunds API
description: The Amazon Pay API enables merchants to integrate Amazon Pay for payment processing on their websites and mobile applications. It supports one-time purchases, subscriptions, and recurring payments. The API provides checkout session management, charge operations, and refund capabilities with both production and sandbox environments for testing.
version: '2.0'
contact:
name: Amazon Pay Developer Support
url: https://developer.amazon.com/docs/amazon-pay-api-v2/introduction.html
termsOfService: https://pay.amazon.com/help/201751590
servers:
- url: https://pay-api.amazon.com/live/v2
description: US Production
- url: https://pay-api.amazon.com/sandbox/v2
description: US Sandbox
- url: https://pay-api.amazon.eu/live/v2
description: EU Production
- url: https://pay-api.amazon.jp/live/v2
description: Japan Production
security:
- amazonPaySignature: []
tags:
- name: Refunds
description: Process refunds on captured charges
paths:
/refunds:
post:
operationId: createRefund
summary: Amazon Create a Refund
description: Creates a refund for a previously captured charge.
tags:
- Refunds
parameters:
- $ref: '#/components/parameters/PayDate'
- $ref: '#/components/parameters/PayRegion'
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateRefundRequest'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/Refund'
'400':
description: Bad request
/refunds/{refundId}:
get:
operationId: getRefund
summary: Amazon Get Refund Details
description: Returns details about the specified refund.
tags:
- Refunds
parameters:
- name: refundId
in: path
required: true
schema:
type: string
- $ref: '#/components/parameters/PayDate'
- $ref: '#/components/parameters/PayRegion'
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Refund'
'404':
description: Not found
components:
schemas:
StatusDetails:
type: object
properties:
state:
type: string
reasonCode:
type: string
reasonDescription:
type: string
CreateRefundRequest:
type: object
required:
- chargeId
- refundAmount
properties:
chargeId:
type: string
refundAmount:
$ref: '#/components/schemas/Price'
softDescriptor:
type: string
maxLength: 16
Refund:
type: object
properties:
refundId:
type: string
chargeId:
type: string
refundAmount:
$ref: '#/components/schemas/Price'
softDescriptor:
type: string
statusDetails:
$ref: '#/components/schemas/StatusDetails'
creationTimestamp:
type: string
format: date-time
Price:
type: object
required:
- amount
- currencyCode
properties:
amount:
type: string
currencyCode:
type: string
parameters:
PayDate:
name: x-amz-pay-date
in: header
required: true
schema:
type: string
format: date-time
PayRegion:
name: x-amz-pay-region
in: header
required: true
schema:
type: string
enum:
- us
- eu
- jp
IdempotencyKey:
name: x-amz-pay-idempotency-key
in: header
required: true
schema:
type: string
securitySchemes:
amazonPaySignature:
type: apiKey
in: header
name: authorization
description: AMZN-PAY-RSASSA-PSS-V2 signature using merchant private key
externalDocs:
description: Amazon Pay API Documentation
url: https://developer.amazon.com/docs/amazon-pay-api-v2/introduction.html