Introduction
Take payments from Gladys wallets in your app or website.
The Gladys API lets your app take payments from Gladys wallets. You create a payment, send the payer to a Gladys-hosted page to approve it, and hear back by webhook when the money moves. It is a JSON API over HTTPS:
https://api.joingladys.com/api/v1Quickstart
Take your first test payment, end to end, in a few minutes.
How payments work
The life of a payment, from creation to capture, and what can happen in between.
Webhooks
Be told when a payment is approved, captured, cancelled, expired or refunded.
API reference
Every endpoint, with request samples and a playground to try them.
How it fits together
Your server creates a payment with the amount and what it is for, using
your app's access token. Gladys returns a checkout_url.
You send the payer to the checkout_url. They sign in to Gladys and approve
the payment with their PIN, on Gladys's own page: your app never sees their
credentials.
Gladys tells your server with a webhook, and sends the payer back to your site. You ship the order once you have confirmed the payment is captured.
Test first
Every app is either TEST or LIVE. TEST apps move play money only, and a TEST payment can be approved without a Gladys account, so you can build and test the whole flow before anyone has the app. See Test and live.