View as Markdown

llms.txt

Build on WinkPG

Everything you need to integrate payments, stored payment methods and reporting against this WinkPG instance. The reference below is generated from the API this installation serves, so what you read here is what you can call.

Base URL

What are you building?

Start from the thing you are trying to do. Each scenario names the short path, the guide behind it, and a blueprint you can run against a sandbox merchant.

Choosing how to collect the card

Three paths take a card online, and they differ far more in what you have to prove every year than in how much code they take to write.

Path Who renders the card fields What it means for your scope Record of the payment Start with
Hosted payment page We do, on a page we serve. Your checkout redirects to it, or embeds it in an iframe. Smallest of the three. No system of yours transmits, processes or stores the card number, and the single-use session address is the only capability the browser holds. The webhook. A payer who closes the tab after paying never reaches your redirect. Quickstart: hosted payment page
Embedded payment fields We do, inside a frame your page mounts and cannot read. The payer stays on your checkout and sees no redirect. Your page never receives the card number, and nothing in it authenticates. Your checkout page itself stays in scope for the scripts it loads beside the frame. The webhook. The browser lifecycle event is for display only. Quickstart: embedded payments SDK
Direct API You do. The card number reaches your own servers before they send it to us. Largest of the three. Every system the card number passes through is in scope, including logs, queues and backups. The charge response tells you the outcome, and the webhook is still the durable record. Quickstart: direct API

For what each path means for your annual evidence, walk the integration-method decision guide. For how an embedded payment session differs from an older in-page card script, read the comparison guide.

Start here

One short path per integration route, from nothing to a working call. Pick the one that matches how you want to collect the payment.

API resources

WinkPG API version v1, 729 endpoints.

Payments

The API reference isn't available right now

This instance couldn't load its API specification. The rest of the documentation still works, and the reference returns as soon as the specification is readable again.

Reconnecting to the server

Could not reconnect

This session has ended

Attempt 1

Your work on this page is still here. Retrying keeps it; reloading starts the page again.

The server no longer holds this page's state, so it has to be loaded again.