NeroConnect
Account and NeroConnect
Read account details and build platform workflows with connected merchant account scope.
Account APINeroConnectConnected accounts
Account endpoints
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /account | Read the authenticated merchant. |
| GET | /connected-accounts | List connected merchants under a NeroConnect platform. |
| POST | /connected-accounts | Create a connected merchant under a NeroConnect platform. |
| GET | /connected-accounts/{account_id} | Retrieve one connected merchant. |
| PATCH | /connected-accounts/{account_id} | Update allowed connected merchant fields. |
Get account
GET
/accountReturns public account profile information for the authenticated merchant.
true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $secretKey,
'Accept: application/json',
],
]);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
echo $response;
{
"success": true,
"data": {
"account_id": "NPEE4E742AB2_6165",
"name": "Demo Merchant Ltd",
"email": "merchant@example.com",
"country": "GB",
"status": "active",
"neroconnect_enabled": true
}
}
Create connected account
This endpoint is for NeroConnect platform merchants. KYC verification remains managed by NeroPay. The platform can create the application profile and then use the returned connected account id with NeroPay-Account.
| Parameter | Type | Required | Description |
|---|---|---|---|
business_company_name | string | Yes | Legal or trading business name. |
firstname | string | Yes | Representative first name. |
lastname | string | Yes | Representative last name. |
email | email string | Yes | Connected merchant login and notification email. |
country_code | ISO country code | Yes | Business country, for example GB. |
mobile_code | string | Yes | Dial code without plus symbol, for example 44. |
mobile | string | Yes | Business or representative mobile number. |
business_type | string | Yes | Use individual, company or the value shown in your onboarding form. |
dob | date YYYY-MM-DD | Yes | Representative date of birth. |
address, city, postcode | string | Yes | Business address fields. |
metadata | object | Optional | Short non-sensitive references from your platform. |
'POST',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $secretKey,
'Accept: application/json',
'Content-Type: application/json',
'X-NeroPay-Timestamp: ' . $timestamp,
'X-NeroPay-Signature: ' . $signature,
'Idempotency-Key: ' . bin2hex(random_bytes(16)),
],
CURLOPT_POSTFIELDS => $rawBody,
]);
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
echo $response;
{
"success": true,
"data": {
"account_id": "NP6454f52b_6165",
"status": "created",
"onboarding_status": "pending",
"email": "jane.connected@example.com"
}
}
Connected account errors
{
"success": false,
"error": {
"code": "account_not_found",
"message": "Connected account was not found.",
"details": null
}
}