Anything you can do on the screen, you can do in code.
Create an API key on the Integrations screen, and from that moment every action in the system is available in one REST call: open a payment request, read a month's invoices, add a supplier, download a statement. The same permissions as the user who created the key.
What the connection gives you
Create a key that starts with ask_, keep it on your side, and send it in the Authorization header. Revoke any time.
Every action is one URL: send JSON and get JSON back. No SDK and no installs.
The key acts in the name of whoever created it. A regular user cannot delete things only an admin deletes.
Every error comes back with a code and an explanation in words, so your code knows what to fix.
A list of every action, its fields and examples, on the developers page and in the help center.
Invoices and statements come as a secure download link, ready to save on your side.
How to connect
On the Integrations screen, in the AskPay API tile, click "Create key" and save it.
Send a request with the key in the header, and get your account details back.
From here every action is one call. The full catalog is on the developers page.
What happens by itself after connecting
These things run in the background once you have connected. An action that costs credits shows how many before it runs.
- Authenticates every call and checks permissions
- Logs every action in the account's activity log
- Rate-limits to protect the account
How it looks on the Integrations screen
- Key
- ask_••••••••••••a91f
- Created by
- Avi · OWNER
- Last call
- Today 10:02 · payments.list
- Calls this month
- 1,204
Works together with the apps
More connections in this group
Questions about connecting AskPay API
Where do I start?
The developers page explains the first call, the response shape and the error codes. The help center has the catalog of every action.
What can the key do?
Anything the user who created it can do on the screen, no more. A regular user's key does not get admin permissions.
Can I revoke a key?
Yes, in one click on the Integrations screen. From that moment every call with it is rejected.
How much does it cost?
API calls are free. Actions that cost credits on the screen, like reading an invoice with AI, cost the same through the API.
Connect AskPay API in a minute.
Open an account, go to the Integrations screen and click the tile. No credit card.