Endpoint overview
#
URL
https://crm-api-test.10npay.com/api/v1/IndividualTransaction/{individualId}
Request #
Headers
-
accept: */*
-
Authorization: Bearer {Token}
-
Content-Type: application/json-patch+json
Request Body
The request body should be a JSON object with the following properties:
Field |
Type |
Description |
---|---|---|
|
string |
The user’s email address. |
|
number |
The batch number for pagination. |
Curl Example
curl -X 'GET' \
'https://crm-api-test.10npay.com/api/v1/IndividualTransaction/740' \
-H 'accept: text/plain' \
-H 'Authorization: Bearer {Token}'
Replace {Token}
with your actual Bearer token.
Response #
200 Success #
A successful response returns an array of transaction objects.
Example Response
[
{
"walletId": "string",
"source": "string",
"transactionType": "string",
"transactionTimestamp": "2024-07-08T13:32:01.827Z",
"cbsDate": "2024-07-08T13:32:01.827Z",
"amount": 0,
"amountFcy": 0,
"currency": "string",
"status": "string",
"referenceNumber": "string",
"branchDescription": "string",
"financialYear": "string",
"fcModule": "string",
"fcModuleDescription": "string",
"transactionCode": "string",
"valueDate": "string"
}
]
400 Bad Request #
A bad request response returns a JSON object detailing the error.
Response Body
Field |
Type |
Description |
---|---|---|
|
object |
A dictionary containing error details. |
|
string |
The type of error. |
|
string |
The title of the error. |
|
number |
The HTTP status code. |
|
string |
A trace identifier for the error instance. |
Example Response
{
"errors": {
"": [
"Invalid character after parsing property name. Expected ':' but got: }. Path '', line 3, position 0."
],
"request": [
"The request field is required."
]
},
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"traceId": "00-4709ad872251cf76136ac66405e377eb-ba2664bfc5dc3036-01"
}
500 Server Error #
A server error response returns a JSON object indicating an internal server error.
Response Body
Field |
Type |
Description |
---|---|---|
|
string |
The type of error. |
|
string |
The title of the error. |
|
number |
The HTTP status code. |
|
string |
A detailed description of the error. |
|
string |
The instance of the error. |
Example Response
{
"type": "string",
"title": "Internal Server Error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "string"
}