Introduction
This chapter covers basic features of API.
API key generation
The PaymentsAI Public API authenticates with an API key in the Authorization: ApiKey ... header (see Authentication). This page covers how to obtain that key, the temporal-to-permanent exchange that happens on production, and how to rotate the key over time.
Authentication
The PaymentsAI Public API authenticates every request with an API key passed in the Authorization header.
Base URLs and environments
PaymentsAI exposes two distinct APIs with different URL patterns and authentication conventions. Using the wrong pattern is a common source of integration errors.
Errors
In the course of interacting with PaymentsAI, you may encounter various error codes that indicate issues with your requests. These errors are designed to provide specific feedback about what went wrong, enabling you to quickly identify and resolve issues.
FramePay
8 items
Subscriptions
Subscriptions-Cancellations
Test Cards
Below you could check test cards for validating the 3ds flow:
Tokenization
4 items
Webhooks
4 items