Created
April 24, 2022 12:50
-
-
Save zalun/19af3328f1769df9cddb389193f967df to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl \ | |
-X 'POST' \ | |
-H 'accept: application/json' \ | |
-H 'Content-Type: application/json' \ | |
-d '{ | |
"currencyCode":"PLN", | |
"totalAmount": "1000", | |
"description":"test", | |
"customerIp": "127.0.0.1", | |
"products": [{ | |
"id": 1, | |
"name": "Test product", | |
"quantity": 1, | |
"unitPrice": 1000 | |
}] | |
}' localhost:1337/payu/transactions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment