Most payment gateways and messaging services show examples as cURL commands. Copy one, paste it here, pick PHP, then drop the code into your plugin or theme and replace the test key with yours from a safe config file. Try the request in the service's sandbox first.
Key terms
Short definitions of what you meet along the way.
cURL
A command-line tool for HTTP requests, used in most API docs examples.
API
An interface that lets one program talk to another service through defined requests.
Bearer token
A token sent in the Authorization header to prove access.
We use necessary cookies to run the site, and Google Analytics to measure visits only if you agree. You can change your choice at any time from “Cookie settings”. Privacy policy