/update_record(ON_RECON)
Cascades on_recon request received from Counterparty NP to Aarambh
Request Type: POST
Request Body: {"type":"ORDER_UPDATE","data":<update settlement payload as mandated by ONDC>}
type: Determines the type of record that is being sent to Aarambh
data: update settlement payload schema as mandated by ONDC to be placed here.
Request Headers: {'authorization':'Authorization Signature generated','subscriberid':'ONDC transactional subscriber Id'}
Response:
Success Response :
{"message":{"ack":{"status":"ACK"}}Errors:
datais not present:{"message":{"ack":{"status":"NACK"},"error":{"error":"Record data 'data' is missing"}}typeis not present:{"message":{"ack":{"status":"NACK"},"error":{"error":"Record data 'type' is missing"}}other errors:
{"message":{"ack":{"status":"NACK"},"error":{"error":"internal server error"}}
Determining INBOUND and OUTBOUND /on_recon
The /recon process in Aarambh operates in two directions: INBOUND and OUTBOUND. To facilitate seamless reconciliation, Aarambh introduces a requesttype header, which determines how the reconciliation request should be processed.
Flow Mechanism:
OUTBOUND /on_recon: When Aarambh initiates an outbound reconciliation request, it includes the
requesttypeheader in the API request.The receiving Network Participant (NP) must check for the
requesttypeheader.If the header exists, the NP forwards the request to the Counterparty NP for further processing.
INBOUND /recon: If the
requesttypeheader does not exist, the NP must cascade the request back to Aarambh for reconciliation handling
Last updated