Skip to main content
Version: v3

Record Order Payment

POST 

/payments/orders/:orderId/record-payment

The "Record Order Payment" API allows to record a payment for an order. Use this endpoint to record payment for an order and update the order status to "Paid".

Request

Version stringrequired

API Version

Available optionsv3
orderId stringrequired

Order ID

application/json

Bodyrequired

    altIdstringrequired

    location Id / company Id based on altType

    altTypestringrequired

    Alt Type

    Available optionslocation
    modestringrequired

    manual payment method

    Available optionscashcardchequebank_transferother
    cardobject

    Details of Card if used for payment

    chequeobject

    Details of the Cheque if used for payment

    notesstring

    Any note to be recorded with the transaction

    amountnumber

    Amount to be paid against the invoice.

    metaobject

    Meta data to be recorded with the transaction

    isPartialPaymentboolean

    Indicates if the order is intended to be a partial payment.

application/json

Successful response

Schema
    successbooleanrequired

    Success status of the request