Pinch Payments Events API

The Events API from Pinch Payments — 2 operation(s) for events.

Operations 2

GET /events/{id} Get Event #
GET /events List all events #

Documentation

Specifications

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/pinch-payments-events-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

pinch-payments-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: pinch-api Events API
  version: '2020.1'
servers:
- url: https://api.getpinch.com.au/test
security:
- sec0: []
tags:
- name: Events
paths:
  /events/{id}:
    get:
      summary: Get Event
      description: ''
      operationId: get-event
      parameters:
      - name: id
        in: path
        description: Event Id in evt_XXXXXXXXXXXXXX format
        schema:
          type: string
        required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                realtime-payment:
                  value: "{\n    \"id\": \"evt_XXXXXXXXXXXXXX\",\n    \"type\": \"realtime-payment\",\n    \"eventDate\": \"2021-04-26T07:15:53.0251702\",\n    \"metadata\": {\n        \"status\": \"approved\",\n        \"amount\": 1000\n    },\n    \"data\": {\n        \"payment\": {\n            \"id\": \"pmt_XXXXXXXXXXXXXX\",\n            \"attemptId\": \"att_XXXXXXXX\",\n            \"amount\": 1000,\n            \"currency\": \"AUD\",\n            \"description\": \"test\",\n            \"applicationFee\": 0,\n            \"totalFee\": 55,\n            \"isSurcharged\": false,\n            \"sourceType\": \"credit-card\",\n            \"transactionDate\": \"2021-04-26T07:15:52.8507613Z\",\n            \"status\": \"approved\",\n            \"estimatedTransferDate\": \"2021-04-29\",\n            \"actualTransferDate\": null,\n            \"payer\": {\n                \"id\": \"pyr_XXXXXXXXXXXXXX\",\n                \"firstName\": \"Test\",\n                \"lastName\": \"Person\",\n                \"emailAddress\": \"test.person@mailinator.com\",\n                \"mobileNumber\": \"\",\n                \"streetAddress\": null,\n                \"suburb\": null,\n                \"postcode\": null,\n                \"state\": null,\n                \"country\": null,\n                \"companyName\": null,\n                \"companyRegistrationNumber\": null,\n                \"metadata\": null\n            },\n            \"subscription\": null,\n            \"attempts\": [\n                {\n                    \"id\": \"att_XXXXXXXX\",\n                    \"amount\": 1000,\n                    \"currency\": \"AUD\",\n                    \"convertedAmount\": null,\n                    \"conversionRate\": null,\n                    \"convertedCurrency\": null,\n                    \"estimatedSettlementDate\": \"2021-04-29T00:00:00\",\n                    \"isSurcharged\": false,\n                    \"transactionDate\": \"2021-04-26T07:15:52.8507613Z\",\n                    \"estimatedTransferDate\": \"2021-04-29\",\n                    \"actualTransferDate\": null,\n                    \"source\": {\n                        \"id\": \"src_M489Kvi8INwmRo\",\n                        \"sourceType\": \"credit-card\",\n                        \"bankAccountNumber\": null,\n                        \"bankAccountBsb\": null,\n                        \"bankAccountName\": null,\n                        \"creditCardToken\": \"tkn_XXXXXXXXXXXXXXXXXXXXXXXXXXXX\",\n                        \"cardHolderName\": \"Ben Hotdog\",\n                        \"expiryDate\": \"2022-12-01T00:00:00\",\n                        \"displayCardNumber\": \"4242\",\n                        \"cardScheme\": \"visa\",\n                        \"origin\": \"AU\",\n                        \"funding\": \"credit\"\n                    },\n                    \"dishonour\": null,\n                    \"settlement\": null,\n                    \"fees\": {\n                        \"transactionFee\": 55,\n                        \"applicationFee\": 0,\n                        \"totalFee\": 55,\n                        \"currency\": \"AUD\",\n                        \"taxRate\": 0.1,\n                        \"convertedTransactionFee\": null,\n                        \"convertedApplicationFee\": null,\n                        \"convertedTotalFee\": null,\n                        \"convertedCurrency\": null,\n                        \"conversionRate\": null\n                    },\n                    \"status\": \"approved\"\n                }\n            ],\n            \"metadata\": null\n        }\n    },\n    \"webhooks\": []\n}"
                bank-results:
                  value: "{\n  \"id\": \"evt_XXXXXXXXXXXXXX\",\n  \"type\": \"bank-results\",\n  \"eventDate\": \"2017-05-08T23:30:00.0989722\",\n  \"metadata\": {\n    \"dishonourCount\": 1,\n    \"dishonourAmount\": 1255\n  },\n  \"data\": {\n    \"dishonours\": [\n      {\n        \"typeEnum\": 1,\n        \"type\": \"insufficient-funds\",\n        \"date\": \"2017-05-09T00:00:00\",\n        \"fees\": 500,\n        \"transferId\": null,\n        \"payment\": {\n          \"id\": \"pmt_XXXXXXXXXXXXXX\",\n          \"amount\": 1255,\n          \"transactionDate\": \"2017-05-08T00:00:00\",\n          \"description\": \"A new set of wheels 4\",\n          \"status\": \"dishonoured\",\n          \"payer\": {\n            \"id\": \"pyr_XXXXXXXXXXXXXX\",\n            \"firstName\": \"Ben\",\n            \"lastName\": \"Auto 1\",\n            \"emailAddress\": \"benauto1@mailinator.cOM\",\n            \"mobileNumber\": \"0400000123\"\n          }\n        }\n      }\n    ]\n  }\n}"
                payer-created:
                  value: "{\n    \"id\": \"evt_XXXXXXXXXXXXXX\",\n    \"type\": \"payer-created\",\n    \"eventDate\": \"2024-01-09T22:13:22.8959791\",\n    \"metadata\": {\n        \"payerName\": \"John Smith\"\n    },\n    \"data\": {\n        \"payer\": {\n            \"id\": \"pyr_XXXXXXXXXXXXXX\",\n            \"firstName\": \"John\",\n            \"lastName\": \"Smith\",\n            \"emailAddress\": \"pinch@mailinator.com\",\n            \"mobileNumber\": null,\n            \"streetAddress\": \"\",\n            \"suburb\": \"\",\n            \"postcode\": \"\",\n            \"state\": \"\",\n            \"country\": \"\",\n            \"companyName\": \"\",\n            \"companyRegistrationNumber\": null,\n            \"metadata\": null,\n            \"sources\": [\n                {\n                    \"id\": \"src_XXXXXXXXXXXXXX\",\n                    \"sourceType\": \"bank-account\",\n                    \"bankAccountNumber\": null,\n                    \"bankAccountBsb\": null,\n                    \"bankAccountName\": null,\n                    \"token\": \"tkn_XXXXXXXXXXXXXX\",\n                    \"cardHolderName\": \"J Smith\",\n                    \"expiryDate\": null,\n                    \"displayCardNumber\": \"1234\",\n                    \"cardScheme\": null,\n                    \"origin\": \"AU\",\n                    \"funding\": null,\n                    \"isAuthorised\": false,\n                    \"supportsRealtime\": false\n                }\n            ],\n            \"agreements\": [\n                {\n                    \"id\": \"agr_XXXXXXXXXXXXXX\",\n                    \"anonymousViewToken\": \"XXXXXXXXXXXXXX\",\n                    \"agreementDateUtc\": \"2024-01-09T22:13:22.8601567\",\n                    \"confirmedDateUtc\": \"2024-01-09T22:13:22.8792519\",\n                    \"status\": \"active\",\n                    \"agreementType\": \"legacy-ddr\"\n                }\n            ]\n        }\n    }\n}"
                subscription-created:
                  value: "{\n    \"id\": \"evt_XXXXXXXXXXXXXX\",\n    \"type\": \"subscription-created\",\n    \"eventDate\": \"2023-08-09T06:41:00.0252052\",\n    \"metadata\": {\n        \"planName\": \"Weekly Plan #2\",\n        \"payerName\": \"Test Person\"\n    },\n    \"data\": {\n        \"subscription\": {\n            \"id\": \"sub_b3CagACGPihR0z\",\n            \"payer\": {\n                \"id\": \"pyr_WLpo7r0suazIS9\",\n                \"firstName\": \"Test\",\n                \"lastName\": \"Person\",\n                \"emailAddress\": \"test.person@mailinator.com\",\n                \"mobileNumber\": null,\n                \"streetAddress\": \"\",\n                \"suburb\": null,\n                \"postcode\": null,\n                \"state\": null,\n                \"country\": null,\n                \"countryCode\": null,\n                \"companyName\": null,\n                \"companyRegistrationNumber\": null,\n                \"metadata\": \"\"\n            },\n            \"planId\": \"pln_XXXXXXXXXXXXXX\",\n            \"planName\": \"Weekly Plan #2\",\n            \"status\": \"active\",\n            \"startDate\": \"2024-03-03T13:00:00.0000000Z\",\n            \"freePeriods\": [],\n            \"fixedPayments\": [],\n            \"recurringPayment\": {\n                \"amount\": 100000,\n                \"endAfterNumberOfPayments\": null,\n                \"endAfterTotalAmount\": null,\n                \"frequencyInterval\": \"days\",\n                \"frequencyOffset\": 7,\n                \"description\": \"Weekly Payment\",\n                \"cancelPlanOnFailure\": false,\n                \"metadata\": null,\n                \"endAfterDate\": null,\n                \"startDate\": \"2024-03-03T13:00:00.0000000Z\"\n            },\n            \"totalAmount\": 10000000,\n            \"metadata\": null,\n            \"surcharge\": [\n                \"credit-card\"\n            ]\n        },\n        \"eventId\": \"evt_XXXXXXXXXXXXXX\"\n    },\n    \"merchantId\": \"mch_XXXXXXXXXXXXXX\"\n}"
                scheduled-process:
                  value: "{\n    \"id\": \"evt_XXXXXXXXXXXX\",\n    \"type\": \"scheduled-process\",\n    \"eventDate\": \"2024-06-09T22:55:45.2954757\",\n    \"metadata\": {\n        \"count\": 1,\n        \"amount\": 1000\n    },\n    \"data\": {\n        \"payments\": [\n            {\n                \"id\": \"pmt_XXXXXXXXXXXX\",\n                \"attemptId\": \"att_XXXXXXXXX\",\n                \"amount\": 1000,\n                \"currency\": \"AUD\",\n                \"description\": \"Weekly payments for subscription\",\n                \"applicationFee\": 0,\n                \"totalFee\": 55,\n                \"isSurcharged\": true,\n                \"sourceType\": \"credit-card\",\n                \"transactionDate\": \"2024-06-09T14:00:00.0000000Z\",\n                \"status\": \"settled\",\n                \"estimatedTransferDate\": \"2024-06-12T00:00:00\",\n                \"payer\": {\n                    \"id\": \"pyr_XXXXXXXXXXXX\",\n                    \"firstName\": \"Test\",\n                    \"lastName\": \"Person\",\n                    \"emailAddress\": \"test.person@mailinator.com\",\n                    \"mobileNumber\": null,\n                    \"streetAddress\": \"123 Fake St\",\n                    \"suburb\": \"Brisbane\",\n                    \"postcode\": \"4000\",\n                    \"state\": \"QLD\",\n                    \"country\": null,\n                    \"countryCode\": null,\n                    \"companyName\": \"Test Co\",\n                    \"companyRegistrationNumber\": null,\n                    \"metadata\": null\n                },\n                \"subscription\": {\n                    \"id\": \"sub_XXXXXXXXXXXX\",\n                    \"planId\": \"pln_XXXXXXXXXXXX\",\n                    \"planName\": \"Weekly payments for subscription\"\n                },\n                \"metadata\": \"\",\n                \"dishonourType\": null\n            }\n        ],\n        \"eventId\": \"evt_XXXXXXXXXXXX\"\n    },\n    \"merchantId\": \"mch_XXXXXXXXXXXX\"\n}"
              schema:
                oneOf:
                - title: realtime-payment
                  type: object
                  properties:
                    id:
                      type: string
                      example: evt_XXXXXXXXXXXXXX
                    type:
                      type: string
                      example: realtime-payment
                    eventDate:
                      type: string
                      example: '2021-04-26T07:15:53.0251702'
                    metadata:
                      type: object
                      properties:
                        status:
                          type: string
                          example: approved
                        amount:
                          type: integer
                          example: 1000
                          default: 0
                    data:
                      type: object
                      properties:
                        payment:
                          type: object
                          properties:
                            id:
                              type: string
                              example: pmt_XXXXXXXXXXXXXX
                            attemptId:
                              type: string
                              example: att_XXXXXXXX
                            amount:
                              type: integer
                              example: 1000
                              default: 0
                            currency:
                              type: string
                              example: AUD
                            description:
                              type: string
                              example: test
                            applicationFee:
                              type: integer
                              example: 0
                              default: 0
                            totalFee:
                              type: integer
                              example: 55
                              default: 0
                            isSurcharged:
                              type: boolean
                              example: false
                              default: true
                            sourceType:
                              type: string
                              example: credit-card
                            transactionDate:
                              type: string
                              example: '2021-04-26T07:15:52.8507613Z'
                            status:
                              type: string
                              example: approved
                            estimatedTransferDate:
                              type: string
                              example: '2021-04-29'
                            actualTransferDate: {}
                            payer:
                              type: object
                              properties:
                                id:
                                  type: string
                                  example: pyr_XXXXXXXXXXXXXX
                                firstName:
                                  type: string
                                  example: Test
                                lastName:
                                  type: string
                                  example: Person
                                emailAddress:
                                  type: string
                                  example: test.person@mailinator.com
                                mobileNumber:
                                  type: string
                                  example: ''
                                streetAddress: {}
                                suburb: {}
                                postcode: {}
                                state: {}
                                country: {}
                                companyName: {}
                                companyRegistrationNumber: {}
                                metadata: {}
                            subscription: {}
                            attempts:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    example: att_XXXXXXXX
                                  amount:
                                    type: integer
                                    example: 1000
                                    default: 0
                                  currency:
                                    type: string
                                    example: AUD
                                  convertedAmount: {}
                                  conversionRate: {}
                                  convertedCurrency: {}
                                  estimatedSettlementDate:
                                    type: string
                                    example: '2021-04-29T00:00:00'
                                  isSurcharged:
                                    type: boolean
                                    example: false
                                    default: true
                                  transactionDate:
                                    type: string
                                    example: '2021-04-26T07:15:52.8507613Z'
                                  estimatedTransferDate:
                                    type: string
                                    example: '2021-04-29'
                                  actualTransferDate: {}
                                  source:
                                    type: object
                                    properties:
                                      id:
                                        type: string
                                        example: src_M489Kvi8INwmRo
                                      sourceType:
                                        type: string
                                        example: credit-card
                                      bankAccountNumber: {}
                                      bankAccountBsb: {}
                                      bankAccountName: {}
                                      creditCardToken:
                                        type: string
                                        example: tkn_XXXXXXXXXXXXXXXXXXXXXXXXXXXX
                                      cardHolderName:
                                        type: string
                                        example: Ben Hotdog
                                      expiryDate:
                                        type: string
                                        example: '2022-12-01T00:00:00'
                                      displayCardNumber:
                                        type: string
                                        example: '4242'
                                      cardScheme:
                                        type: string
                                        example: visa
                                      origin:
                                        type: string
                                        example: AU
                                      funding:
                                        type: string
                                        example: credit
                                  dishonour: {}
                                  settlement: {}
                                  fees:
                                    type: object
                                    properties:
                                      transactionFee:
                                        type: integer
                                        example: 55
                                        default: 0
                                      applicationFee:
                                        type: integer
                                        example: 0
                                        default: 0
                                      totalFee:
                                        type: integer
                                        example: 55
                                        default: 0
                                      currency:
                                        type: string
                                        example: AUD
                                      taxRate:
                                        type: number
                                        example: 0.1
                                        default: 0
                                      convertedTransactionFee: {}
                                      convertedApplicationFee: {}
                                      convertedTotalFee: {}
                                      convertedCurrency: {}
                                      conversionRate: {}
                                  status:
                                    type: string
                                    example: approved
                            metadata: {}
                    webhooks:
                      type: array
                - title: bank-results
                  type: object
                  properties:
                    id:
                      type: string
                      example: evt_XXXXXXXXXXXXXX
                    type:
                      type: string
                      example: bank-results
                    eventDate:
                      type: string
                      example: '2017-05-08T23:30:00.0989722'
                    metadata:
                      type: object
                      properties:
                        dishonourCount:
                          type: integer
                          example: 1
                          default: 0
                        dishonourAmount:
                          type: integer
                          example: 1255
                          default: 0
                    data:
                      type: object
                      properties:
                        dishonours:
                          type: array
                          items:
                            type: object
                            properties:
                              typeEnum:
                                type: integer
                                example: 1
                                default: 0
                              type:
                                type: string
                                example: insufficient-funds
                              date:
                                type: string
                                example: '2017-05-09T00:00:00'
                              fees:
                                type: integer
                                example: 500
                                default: 0
                              transferId: {}
                              payment:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    example: pmt_XXXXXXXXXXXXXX
                                  amount:
                                    type: integer
                                    example: 1255
                                    default: 0
                                  transactionDate:
                                    type: string
                                    example: '2017-05-08T00:00:00'
                                  description:
                                    type: string
                                    example: A new set of wheels 4
                                  status:
                                    type: string
                                    example: dishonoured
                                  payer:
                                    type: object
                                    properties:
                                      id:
                                        type: string
                                        example: pyr_XXXXXXXXXXXXXX
                                      firstName:
                                        type: string
                                        example: Ben
                                      lastName:
                                        type: string
                                        example: Auto 1
                                      emailAddress:
                                        type: string
                                        example: benauto1@mailinator.cOM
                                      mobileNumber:
                                        type: string
                                        example: '0400000123'
                - title: payer-created
                  type: object
                  properties:
                    id:
                      type: string
                      example: evt_XXXXXXXXXXXXXX
                    type:
                      type: string
                      example: payer-created
                    eventDate:
                      type: string
                      example: '2024-01-09T22:13:22.8959791'
                    metadata:
                      type: object
                      properties:
                        payerName:
                          type: string
                          example: John Smith
                    data:
                      type: object
                      properties:
                        payer:
                          type: object
                          properties:
                            id:
                              type: string
                              example: pyr_XXXXXXXXXXXXXX
                            firstName:
                              type: string
                              example: John
                            lastName:
                              type: string
                              example: Smith
                            emailAddress:
                              type: string
                              example: pinch@mailinator.com
                            mobileNumber: {}
                            streetAddress:
                              type: string
                              example: ''
                            suburb:
                              type: string
                              example: ''
                            postcode:
                              type: string
                              example: ''
                            state:
                              type: string
                              example: ''
                            country:
                              type: string
                              example: ''
                            companyName:
                              type: string
                              example: ''
                            companyRegistrationNumber: {}
                            metadata: {}
                            sources:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    example: src_XXXXXXXXXXXXXX
                                  sourceType:
                                    type: string
                                    example: bank-account
                                  bankAccountNumber: {}
                                  bankAccountBsb: {}
                                  bankAccountName: {}
                                  token:
                                    type: string
                                    example: tkn_XXXXXXXXXXXXXX
                                  cardHolderName:
                                    type: string
                                    example: J Smith
                                  expiryDate: {}
                                  displayCardNumber:
                                    type: string
                                    example: '1234'
                                  cardScheme: {}
                                  origin:
                                    type: string
                                    example: AU
                                  funding: {}
                                  isAuthorised:
                                    type: boolean
                                    example: false
                                    default: true
                                  supportsRealtime:
                                    type: boolean
                                    example: false
                                    default: true
                            agreements:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    example: agr_XXXXXXXXXXXXXX
                                  anonymousViewToken:
                                    type: string
                                    example: XXXXXXXXXXXXXX
                                  agreementDateUtc:
                                    type: string
                                    example: '2024-01-09T22:13:22.8601567'
                                  confirmedDateUtc:
                                    type: string
                                    example: '2024-01-09T22:13:22.8792519'
                                  status:
                                    type: string
                                    example: active
                                  agreementType:
                                    type: string
                                    example: legacy-ddr
                - title: subscription-created
                  type: object
                  properties:
                    id:
                      type: string
                      example: evt_XXXXXXXXXXXXXX
                    type:
                      type: string
                      example: subscription-created
                    eventDate:
                      type: string
                      example: '2023-08-09T06:41:00.0252052'
                    metadata:
                      type: object
                      properties:
                        planName:
                          type: string
                          example: 'Weekly Plan #2'
                        payerName:
                          type: string
                          example: Test Person
                    data:
                      type: object
                      properties:
                        subscription:
                          type: object
                          properties:
                            id:
                              type: string
                              example: sub_b3CagACGPihR0z
                            payer:
                              type: object
                              properties:
                                id:
                                  type: string
                                  example: pyr_WLpo7r0suazIS9
                                firstName:
                                  type: string
                                  example: Test
                                lastName:
                                  type: string
                                  example: Person
                                emailAddress:
                                  type: string
                                  example: test.person@mailinator.com
                                mobileNumber: {}
                                streetAddress:
                                  type: string
                                  example: ''
                                suburb: {}
                                postcode: {}
                                state: {}
                                country: {}
                                countryCode: {}
                                companyName: {}
                                companyRegistrationNumber: {}
                                metadata:
                                  type: string
                                  example: ''
                            planId:
                              type: string
                              example: pln_XXXXXXXXXXXXXX
                            planName:
                              type: string
                              example: 'Weekly Plan #2'
                            status:
                              type: string
                              example: active
                            startDate:
         

# --- truncated at 32 KB (51 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/pinch-payments/refs/heads/main/openapi/pinch-payments-events-api-openapi.yml