Scratchpay · AsyncAPI Specification

Scratchpay Partner Webhooks

Version

View Spec View on GitHub CompanyFinancingPaymentsLendingVeterinaryHealthcareFintechBuy Now Pay LaterPoint-of-SaleAsyncAPIEvents

AsyncAPI Specification

Raw ↑
generated: '2026-07-21'
method: searched
source: openapi/scratchpay-partner-1.0.0-apis-swagger.yml
spec_type: Webhooks
summary: >
  Scratchpay delivers the borrower loan-application decision asynchronously by
  calling the partner's own HTTP endpoint back (a partner-hosted webhook / callback).
  The partner registers/implements this endpoint; Scratchpay POSTs the result to it,
  correlated by the loanUniqueId the partner supplied on the original application.
webhooks:
  - name: loan-application-result
    direction: scratchpay-to-partner
    method: POST
    path_template: /application/{loanUniqueId}/result
    auth:
      header: Authorization
      format: 'Bearer <token>'
    correlation:
      field: loanUniqueId
      note: The alphanumeric id the partner passed on POST /application.
    payload:
      content_type: application/json
      schema:
        result:
          type: integer
          enum: [0, 1]
          description: The application result, either 0 or 1 (decline / approve).
    source_operation: openapi/scratchpay-partner-1.0.0-apis-swagger.yml#POST /application/{loanUniqueId}/result

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/scratchpay-partner-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.