Upload credit note
Use this web method to upload credit note to a matter number.
post
https://testclient.payink.com
/api/matters/{matter_number}/credit_notes
Credit Note (STAGE)
Example code in CURL:
1
curl --location --request POST 'https://testclient.payink.com/api/matters/ASD-123124234/credit_notes' \
2
--header 'Content-Type: multipart/form-data' \
3
--header 'X-Login: pk_test_49nv2TdDAAfxigoQfD8Cibssu' \
4
--form '[email protected]"/home/payink/Downloads/Geraçao e-Ticket-A5090.pdf"' \
5
--form 'amount="3.44"' \
6
--form 'sendInvoice="true"' \
7
--form 'credit_note_number="ABC123"'
Copied!
post
https://client.payink.com
/api/matters/{matter_number}/credit_notes
Credit Note (PRODUCTION)
Example code in CURL
1
curl --location --request POST 'https://testclient.payink.com/api/matters/ASD-123124234/credit_notes' \
2
--header 'Content-Type: multipart/form-data' \
3
--header 'X-Login: pk_test_49nv2TdDAAfxigoQfD8Cibssu' \
4
--form '[email protected]"/home/payink/Downloads/Geraçao e-Ticket-A5090.pdf"' \
5
--form 'amount="3.44"' \
6
--form 'sendInvoice="true"' \
7
--form 'credit_note_number="ABC123"'
Copied!