Skip to main content

Fulfillment API

Fulfillment API

Method: POST
Headers:
    Content-Type: application/json
    API-Key: (api key shared with the partner)

Request

Request Body ParamData TypeMandatory?Size
mobileNumberStringYesMin = 10, Max = 10
operatorCodeStringYesMax = 5
circleCodeStringYesMax = 5
amountNumberYesPositive: Max = 10000 Rs
referenceIdStringYesMin = 10, Max = 50
userUidStringYesMin = 25, Max = 35
channelIdStringYesMax = 10

Sample Request

{
"mobileNumber": "9663042234",
"operatorCode": "1",
"circleCode": "10",
"amount": 719,
"referenceId": "N-1234-5678",
"userUid": "15WWejw5pc2sdfnV",
"channelId": "CIB/RIB",
}

Sample Response

Success Status Code : 200

{
"orderId": "N-13K30DD-AJ2L39F-32RM1S6"
}
Response Body ParamData TypeSize
orderIdStringMin = 10, Max = 40

Details

  1. ReferenceId will be used in order to uniquely identify a request. This will be stored at our end and will filter out duplicate requests using the same referenceId.
  2. OrderId is the unique Id generated at Nuclei’s end. This can be stored by partners for future reference.
  3. This API will only give confirmation that the fulfillment process started successfully. For the latest status, partner needs to call the fulfillment status API
  4. This API will validate that the given plan amount belongs to the given operator, else it will throw the proper errors.