I create an API which create payment and I need to include note for each api but it is not working Is it possible if yes send me an example please
I guess you could make use of the setNote(string) method of the payment object.
for creating I send this format {"amount":"543","tipAmount":"345","taxAmount":"345","result":"SUCCESS","cashbackAmount":"4353","setNote":"3543345","order":{"id":"9DRSM96WTGQJM"},"employee":{"id":"805ZKRAYA76AT"},"tender":{"id":"XMR12V49FFFVM"}}
after I use this url GET /v3/merchants/{mId}/payments/{payId} for getting payment and in output I don't see note
{"amount":"543","tipAmount":"345","taxAmount":"345","result":"SUCCESS","cashbackAmount":"4353","note":"3543345","order":{"id":"9DRSM96WTGQJM"},"employee":{"id":"805ZKRAYA76AT"},"tender":{"id":"XMR12V49FFFVM"}}
sorry but I when I use this format it is not adding note in payments. I get payment by this GET /v3/merchants/{mId}/payments/{payId} maybe I need to add something in url to see note thanks
3 People are following this question.