riverty logo

Docs

#Add payment

Path

POST /businesses/{businessCode}/customers/{customerNumber}/orders/{orderReference}/payments

Request Parameters

businessCode
required
string
The business in the context of which this request is to be executed, e.g. 1000
customerNumber
required
string
The customer in the context of which this request is to be executed, e.g. TFI2021072801
orderReference
required
string
The order in the context of which this request is to be executed, e.g. TFI2021072801_03
X-Request-ID
string
The unique ID of this particular request/transaction. Subsequent requests with the same request ID might get ignored.

Request Body

application/json

authorizedAmount
number
Values(>0)
Amount paid; if the amount is not provided, then the system assumes that the entire order has been paid
paymentProvider
string
Max length: 30
maxLength(30)
Name of the payment provider

Responses