Skip to content

Instantly share code, notes, and snippets.

@1ou
Created October 14, 2019 10:25
Show Gist options
  • Save 1ou/7c51c72f0004ae1582404d99b68eb99c to your computer and use it in GitHub Desktop.
Save 1ou/7c51c72f0004ae1582404d99b68eb99c to your computer and use it in GitHub Desktop.
curl -X POST \
https://dev.pay.viralpay.es/api/v1/transaction/payment \
-H 'Accept: */*' \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJtZXJjaGFudCJdLCJleHAiOjE1NzEwNjU4OTAsImF1dGhvcml0aWVzIjpbIlJPTEVfTUVSQ0hBTlQiXSwianRpIjoiODE3MWNkN2YtMGE1Yy00MTFjLTkyMjctNzA1MDU1MmEyZmJlIiwiY2xpZW50X2lkIjoiZnVjayJ9.EFIavMgRihr1W8QwlTx39yv8fm4zgphXWDZmmDQWRJ4W1hJPKx5K7MB-2iNtF_kZVgi0702jkorOfm14wAdGbLnfs0yLX4sdYmw5gQLFIB9mx4q5dYTXoZ_a225Nw3TdhLBhIZwCzIeBsw1yX7aKDZFavO2SSyI7VQbsvQno4FAxraPNdOWg-cg2IiQlIPqR6v28Sq9-F0xe0SbC7IlQwFi-_QGqWs86GAujoxGgGcEnP1TWav-PbiYbcgynObdyP2KyOhFcadMf0a2FV8U2hWoWpCZtWbnGrwxts4c8XOhH08AG-RbfeqR4g_f-to3XJEKSBRTU4L5zU8u6Rj8rKQ' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Length: 540' \
-H 'Content-Type: application/json' \
-H 'Host: dev.pay.viralpay.es' \
-H 'Postman-Token: 7000f818-50a4-460a-ab5b-312dfa4bca46,349b96f7-f030-48f2-828f-493aa3031ff4' \
-H 'User-Agent: PostmanRuntime/7.16.3' \
-H 'cache-control: no-cache' \
-d '{"address":{"addressLine1":"Address","city":"City","country":"AR","state":"R","zipCode":"630092"},"amount":36000,"card":{"cardPrintedName":"Anton Putin","creditCardNumber":"4242424242424242","cvv2":"123","expireMonth":"10","expireYear":"2019"},"contact":{"cellPhone":"","email":"[email protected]","phone":""},"currency":"EUR","customerId":"13","customerInfo":{"birthday":"","firstName":"","lastName":""},"ipAddress":"127.0.0.1","merchantId":1,"merchantOrderId":"815","orderDescription":"","paymentSystem":"stripe","paymentType":"card"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment