Przelewy24 GPay API

The GPay API API from Przelewy24 — 1 operation(s) for gpay api.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /bundle/payWithGoogle/{TOKEN} Complete a Pay with Google transaction · Token transfer #
Ask an LLM
“How do I finish a Google Pay payment after the token is obtained?”
“What happens if 3D-Secure is required for a Pay with Google transaction?”
Tell an agent
Complete the Pay with Google transaction using token {TOKEN}.
Finish the Google Pay payment with token {TOKEN} and return to the URL the customer gave.

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/przelewy24:przelewy24-gpay-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

przelewy24-gpay-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Przelewy24 GPay API
  contact:
    name: Przelewy24 Support
    url: https://www.przelewy24.pl/support
  x-refined-note:
  - x-logo differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged GPay API across 2 of this provider''s published API definitions: openapi-extended.yml, openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://sandbox.przelewy24.pl
  description: Sandbox server (uses test data)
- url: https://secure.przelewy24.pl
  description: Production server (uses live data)
tags:
- name: GPay API
  x-displayName: Google Pay API
paths:
  /bundle/payWithGoogle/{TOKEN}:
    get:
      tags:
      - GPay API
      summary: Token transfer
      consumes:
      - application/json
      - application/x-www-form-urlencoded
      parameters:
      - name: TOKEN
        in: path
        description: Token obtained from Przelewy24.
      description: 'Upon token obtaining from P24, JavaScript script should be called.


        On completion of the transaction, a relevant response (callback) is called.

        In case 3D-Secure is required, customer will be redirected to bank’s website. After authorisation customer will be redirected to URL provided in "urlReturn" parameter.'
      x-codeSamples:
      - lang: HTML
        source: "<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\"\n        content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n  <meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n  <title>PayWithGoogle</title>\n  <script src=\"https://secure.przelewy24.pl/bundle/payWithGoogle/{{TOKEN}}\"></script>\n</head>\n<body>\n<script>\n  document.addEventListener(\"DOMContentLoaded\", function () {\n      Przelewy24PayWithGoogle.config({\n          errorCallback: function () {\n              alert(\"error\");\n          },\n          exceptionCallback: function () {\n              alert(\"exception\");\n          },\n          requestFailedCallback: function () {\n              alert('requestFailed');\n          },\n          completePaymentCallback: function () {\n              alert(\"success\");\n          }\n      });\n      Przelewy24PayWithGoogle.charge();\n  });\n</script>\n</body>\n"
      operationId: getBundlePayWithGoogleByTOKEN
      x-operation-id-source: derived
    servers:
    - url: https://sandbox.przelewy24.pl
      description: Sandbox server (uses test data)
    - url: https://secure.przelewy24.pl
      description: Production server (uses live data)
components:
  securitySchemes:
    basicAuth:
      description: This is the default authentication method. User and secretId are available in P24 panel:<br/>- "User" it's the same value as posId,<br/>- secretId it's the samevalue as key for reports (API key).
      type: http
      scheme: basic
x-refined-from:
- openapi-extended.yml
- openapi.yml
x-tagGroups:
- name: Methods available in API
  tags:
  - Ekspres P24 API
- name: Sign parameter
  tags:
  - Calculation of sign parameter
- name: Transfer
  tags:
  - Notifications on transfer status
  - Table of transfer statuses
  - Transfer scenarios
x-provenance:
  method: harvested
  publisher: Przelewy24
  source: https://developers.przelewy24.pl/yaml/en_documentation_1.0.yaml
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)