/
Mark a Payment as Synchronized

Mark a Payment as Synchronized

Use this method to mark payments as synchronized with an external system. 

Valid Tokens: Company.


Related Articles

Request


URL: https://api.kometsales.com/api/payment.mark.sync

Method: POST

Content-Type: application/JSON


Input Parameters

authenticationToken (required)(string:50)

Komet Sales security token.


payments (required)(array)

An array containing Komet Sales internal Payment IDs to mark as synchronized.


paymentId (required)(integer: 20)

Komet Sales internal Payment ID. 

You can get this ID using the payment.list API method.


{ "authenticationToken":"token_info_goes_here", "payments":[ {"paymentId": 450545}, {"paymentId": 451181}, {"paymentId": 47873233} ] }

Response


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


payments (array)

An array containing payments with their status response. 


message (string:500)

Transaction status description.


status (integer:1)

Transaction status.

Valid values: 1 = Success | 0 = Failure


paymentId (integer: 20)

Payment ID.


{ "status": "1", "payments": [ { "message": "The payment was successfully synchronized", "status": "1", "paymentId": 450545 }, { "message": "The payment was cancelled", "status": "0", "paymentId": 451181 }, { "message": "The payment doesn't exist", "status": "0", "paymentId": 47873233 } ] }
Peacock

Related content

Mark a Vendor Invoice as Synchronized
Mark a Vendor Invoice as Synchronized
More like this
Mark an Invoice as Synchronized
Mark an Invoice as Synchronized
More like this
Synchronize credits with an external system
Synchronize credits with an external system
More like this
Get a list of Payment Methods
Get a list of Payment Methods
More like this
Payments
Payments
More like this
Get a list of Payments
Get a list of Payments
More like this