Operation Id:
payments/payments/post [Official Documentaction]
Methods
- sourceId Integer
- sourceType 'order'|'return'|'rma'
- value Number
- account String
- type 'payment'|'advance'|'repayment'|'fee'
- paymentFormId Integer
- paymentVoucherKey String
- giftCardPIN Integer
- externalPaymentId String
Examples
This function sets the values for various payment parameters, such as source ID, source type, payment value, payment form ID, and payment type.
Loading editor...
const result = await idosellRequest.postPayments .sourceId(9) .sourceType("order") .value(100) .paymentFormId(5) .type("payment") .exec();