POST v1/CovaOrderPayment

This Call Marks a Sales Order as PaidWaitingForCompletion at the Location specified within the Company

Information:

Base URL:

https://api.covasoft.net/covaorderintake

Example of a call would be:

https://api.covasoft.net/covaorderintake/v1/CovaOrderPayment

Request Information

URI Parameters

None.

Body Parameters

Details needed for the Cova Order Payment intake

CovaSalesOrderPaymentPost
NameDescriptionTypeAdditional information
SaleID

The OrderId submitted/returned when creating an order

globally unique identifier

None.

CompanyId

integer

None.

TrackingNumber

Required. Delivery identifier: driver name/phone/id, shipping\mailing tracking number. If not applicable, supply some sort of order reference (your internal id, perhaps) or "N/A"

string

None.

Payments

Collection of Payment

None.

Request Formats

application/json, text/json

Sample:
{
  "SaleID": "7c1dba29-70e9-4f76-b92d-eaf0f620261c",
  "CompanyId": 2,
  "TrackingNumber": "sample string 3",
  "Payments": [
    {
      "PreAuthorizationToken": "sample string 1",
      "Amount": 2.1,
      "TimeTakenUtc": "2024-11-25T11:50:32.0109093+00:00",
      "Last4Digits": "sample string 4"
    },
    {
      "PreAuthorizationToken": "sample string 1",
      "Amount": 2.1,
      "TimeTakenUtc": "2024-11-25T11:50:32.0109093+00:00",
      "Last4Digits": "sample string 4"
    }
  ]
}

Response Information

Resource Description

CovaSalesOrderPaymentPost
NameDescriptionTypeAdditional information
SaleID

The OrderId submitted/returned when creating an order

globally unique identifier

None.

CompanyId

integer

None.

TrackingNumber

Required. Delivery identifier: driver name/phone/id, shipping\mailing tracking number. If not applicable, supply some sort of order reference (your internal id, perhaps) or "N/A"

string

None.

Payments

Collection of Payment

None.

Response Formats

application/json, text/json

Sample:
{
  "SaleID": "7980294a-ebaf-4194-85b9-cd65620f48be",
  "CompanyId": 2,
  "TrackingNumber": "sample string 3",
  "Payments": [
    {
      "PreAuthorizationToken": "sample string 1",
      "Amount": 2.1,
      "TimeTakenUtc": "2024-11-25T11:50:32.0265707+00:00",
      "Last4Digits": "sample string 4"
    },
    {
      "PreAuthorizationToken": "sample string 1",
      "Amount": 2.1,
      "TimeTakenUtc": "2024-11-25T11:50:32.0265707+00:00",
      "Last4Digits": "sample string 4"
    }
  ]
}