ReferencePayments
Add a payment
Add a payment to an order, authorize with basic auth
POST
/v1/orders/{reference}/payments
AuthorizationBasic <token>
Basic Authorization header using the Bearer scheme.
In: header
Authorization<token>
JWT Authorization header using the Bearer scheme.
In: header
Path Parameters
referencestring
orderStatusId?integer
Format
int32
paymentProvider?string | null
vpsTxId?string | null
success?boolean
txType?string | null
paymentResult?string | null
total?number
Format
double
vendorCode?string | null
cardType?string | null
paymentMethod?string | null
threeDsUrl?string | null
Response Body
curl -X POST "https://loading/v1/orders/string/payments" \ -H "Content-Type: application/json" \ -d '{}'
{
"success": true,
"errors": [
{
"description": "string"
}
],
"orderPaymentId": 0
}
{
"message": "string",
"code": 0
}
{
"succeeded": true,
"errors": [
{
"message": "string"
}
]
}
How is this guide?