# Endpoint
DEVELOPMENT
https://testpay.directpay.lk/
1
PRODUCTION
https://pay.directpay.lk/
1
Get Testing simulator
# Common Parameters
# Parameter
| Field | Type | Description | Allow values | Mandatory |
|---|---|---|---|---|
| _mId | String | Merchant ID. Get Merchant ID. | Yes | |
| type | String | API request type | ONE_TIME, RECURRING, CARD_ADD | Yes |
| _firstName | String | Customer first name | No | |
| _lastName | String | Customer last name | No | |
| _email | String | Customer email | No | |
| _reference | String | merchant reference code | Yes | |
| _description | String | Product description | Yes | |
| _returnUrl | String | Page redirect URL | Yes | |
| _cancelUrl | String | Transaction cancel redirect URL | Yes | |
| _responseUrl | String | Server-side response URL /HTTP JSON POST request will be sent to the given endpoint | Yes | |
| _orderId | String | Order number | Yes | |
| _pluginVersion | String | 1.0 | Yes | |
| _pluginName | String | CUSTOM | Yes | |
| api_key | String | Merchant api key | Yes | |
| signature | String | signature generated for the data | Yes |