Payment API
Last updated
Last updated
Below are some of the points you must be aware of while calling Swipez APIs:
All API responses are in JSON format.
POST requests should include ContentType: application/json
All API response have status, message, and data.
Swipez uses API keys to allow access to the API. Once you have signed up at our merchant site, you will be able to see your AccessKey and SecretKey.
The API is rate limited per user. You will receive a 429 HTTP status code if you exceed the rate limit. The rate limit is 30 requests per minute per user and is subject to change.
POST
/api/v1/merchant/payment/received
This endpoint allows you to get list of payment transactions.
POST
/api/v1/merchant/payment/status
This endpoint allows you to get status of payment transaction.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
URL
HTTP Verb
Functionality
POST
To get list of payment transactions.
POST
To get status of payment.
access_key_id
string
Your access key.
secret_access_key
string
Your secret key.
from_date
string
From date (in the format YYYY-mm-dd) from which you want the data.
to_date
string
To Date till you want the data
access_key_id
string
Your access key.
secret_access_key
string
Your secret key.
transaction_type
string
Transaction type MERCHANT_TRANS_ID : Merchant reference no. SWIPEZ_TRANS_ID: Swipez transaction ID. SWIPEZ_REQ_ID: Swipez invoice id.
id
string
Value for transaction type