Skip to content

Sale payments

This method returns the payments associated with a sale. It accepts either the ExpertHub sale identifier or the partner’s own sale identifier.

GET /SalePayments

Parameters are sent in the query string.

  • SaleId: (string) Optional. Sale identifier in ExpertHub. If not specified, use PartnerSaleId.
  • PartnerSaleId: (string) Optional. Identifier of the sale in the partner’s system. If not specified, use SaleId.
GET /api/SalePayments?PartnerSaleId=965875680289
Accept: application/json
Authorization: ApiKey YOUR_API_KEY
  • Payments: (array). Payments associated with the sale.

    • PaymentCommerceIdentifier: (string). Identifier of the business that received the payment.
    • Amount: (decimal). Payment amount.
    • AuthorizationCode: (string). Authorization code issued by the entity that processed the payment.
    • OperationDateTime: (dateTime). Date and time of the operation.
  • Success: (boolean). Whether the request was processed successfully.

  • Timestamp: (dateTime). The moment the request was processed. ISO 8601 format (yyyy-MM-ddThh:mm:ss.fffffff).

  • ErrorMessage: (string). The reason, if the call failed.

  • ErrorCodes: (array of integer). Codes identifying the error. See error codes.

  • ErrorEntityBreakDown: (array). On failure, the entities involved, each with its Id, Name and AccessDate.

{
"Payments": [
{
"PaymentCommerceIdentifier": "5194660864094625940",
"Amount": 60.50,
"AuthorizationCode": "7BHJ989343498",
"OperationDateTime": "2026-03-14T10:22:50.5875456"
}
],
"Success": true,
"Timestamp": "2026-03-18T17:02:27.8165916"
}

If the identifier does not match any sale, the response comes back with Success: false:

{
"Success": false,
"Timestamp": "2026-03-18T17:02:27.8165916"
}