The Arrow API lets you programmatically process transactions within your merchant account. You can use the API to integrate payment processing into your own web site, mobile application or any other application you may have.
The API follows REST conventions, and can be invoked by any language or tool than can communicate over HTTP. JSON is the format for sending and receiving data.
Arrow runs two environments against which you can use the API - production (where your real merchant account lives), and demo - a sandbox for development.
Each environment has completely separate accounts, API Keys, and data.
You must enable the API before you can use it. To do this:
Many API calls also required an Account MID. This your merchant account number, available under Merchant Setup / Account Configuration in the Arrow Gateway.
You can experiment with the API today without opening a real account or requesting a demo account by using the following credentials:
| API Key: | 5cbb15c1d87d480f8b82ee1a3abba353 |
| MID: | 1231616282 |
| Environment: | demo (http://demo.arrowpayments.com) |
Note you will not be able to sign in to this demo account through the web user interface to see the transactions you post. For that, contact Arrow Payments to request a full demo account.
Each action or operation you can perform via the API is represented by a URL. If the action changes data, you POST to the URL. If it only retrieves data, you GET from the URL.
POST methods have these characteristics:
GET methods have these characteristics:
When connecting to the production environment, you must use SSL (https) protocol to invoke the API.
When connecting to the demo environment, you must use standard http protocol to invoke the API.
The API will indicate the success of each call by returning one of the following HTTP status codes in the response:
If the call was not successful (i.e., status is 404 or 500), error message information will be returned in a HTTP Header named "Error".