Get Reconciled Orders By Order Number

Allows developers to retrieve details about a specific order in an e-commerce platform, with the order number as the input parameter. This endpoint can be integrated into an invoicing system to allow merchants to view detailed information about an individual order, such as customer details, payment status, and order total. The response from this endpoint will contain a JSON object that includes all the relevant order information.

API Endpoint

๐Ÿ“˜

Production Server:

https://restapi.paylink.sa/api/getOrder/{orderNumber}

๐Ÿ“˜

Testing Server:

https://restpilot.paylink.sa/api/getOrder/{orderNumber}

HTTP Method

GET

Headers

Authorization: The access token for authentication. Received from here

URL Parameters

{orderNumber} - The unique identifier of the order to retrieve details.

Success Response

Status Code: 200 OK
Content-Type: application/json
Body: A JSON object that contains details about the specified order. For more information, click here

NameTypeDescription
orderIdintegerThe unique identifier of the order
orderNumberstringThe unique order number
orderDatedateThe date and time the order was placed, in Unix timestamp
orderAmountfloatThe total amount of the order, in the currency
paylinkFeesfloatThe fees charged by Paylink, if applicable
paylinkVatfloatThe VAT charged by Paylink, if applicable
notestringA note associated with the order
clientNamestringThe name of the client who placed the order
clientMobilestringThe phone number of the client who placed the order
isReconciledbooleanIndicates whether the order has been reconciled
settlementNumberstringThe settlement number, if applicable
settlementBankstringThe bank account number for the settlement, if applicable
settlementAmountfloatThe amount settled, if applicable
settlementIbanstringThe IBAN for the payment, if applicable

Error Responses

  • Status Code: 401 Unauthorized
  • Status Code: 404 Not Found