PayNearMe · AsyncAPI Specification

Paynearme Callbacks Webhooks

Version

View Spec View on GitHub CompanyFintechPaymentsBillingACHCash PaymentsDigital WalletLendingiGamingWebhookAsyncAPIEvents

AsyncAPI Specification

paynearme-callbacks-webhooks.yml Raw ↑
generated: '2026-07-20'
method: derived
source: >-
  github.com/paynearme sample callback-listener repositories
  (samplecode_ruby, samplecode_java, samplecode_php, samplecode_csharp)
spec_type: Webhooks
summary: >-
  PayNearMe integrates with merchant systems using server-to-server HTTP
  callbacks (webhooks). PayNearMe publishes official callback-listener sample
  implementations in Ruby, Java, PHP and C# that demonstrate handling incoming
  callbacks and constructing the expected response. Two callback types are
  documented in the sample code: an authorize callback (invoked to authorize a
  pending payment/order) and a confirm callback (invoked to confirm a
  completed payment). Handlers are mounted at /callbacks/authorize and
  /callbacks/confirm in the reference implementations. Authoritative event
  schemas and signature verification are documented in PayNearMe's
  integration documentation, which is provided to onboarded merchants.
transport: http
direction: inbound
sample_listeners:
  - language: ruby
    repo: https://github.com/paynearme/samplecode_ruby
  - language: java
    repo: https://github.com/paynearme/samplecode_java
  - language: php
    repo: https://github.com/paynearme/samplecode_php
  - language: csharp
    repo: https://github.com/paynearme/samplecode_csharp
webhooks:
  - name: authorize
    path: /callbacks/authorize
    description: >-
      Server-to-server callback PayNearMe sends to request authorization for a
      pending payment or order. The listener returns an authorize response.
  - name: confirm
    path: /callbacks/confirm
    description: >-
      Server-to-server callback PayNearMe sends to confirm a completed payment.
      The listener returns a confirm response.
notes: >-
  No published AsyncAPI or OpenAPI document was found on PayNearMe's public
  surface (developer docs are gated behind merchant onboarding). This catalog
  is derived from the provider's official public sample-listener repositories
  and is not an authoritative event schema.

Work with this as data

Every AsyncAPI spec 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 asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.
  • 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 AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/paynearme-callbacks-webhooks"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?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.