Skip to content

Instantly share code, notes, and snippets.

@1ou
Created December 2, 2019 13:57
Show Gist options
  • Save 1ou/117eca027ea9f2c52f4895269d2b6ba9 to your computer and use it in GitHub Desktop.
Save 1ou/117eca027ea9f2c52f4895269d2b6ba9 to your computer and use it in GitHub Desktop.
curl -X POST \
https://pay.viralpay.es/api/v1/transaction/payment \
-H 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6WyJtZXJjaGFudCJdLCJleHAiOjE1NzUzMTI4OTEsImF1dGhvcml0aWVzIjpbIlJPTEVfTUVSQ0hBTlQiXSwianRpIjoiMzkwMWFlNjEtMWQ0MC00ZDA1LTgzMmItODdiMTU2YjczZmUyIiwiY2xpZW50X2lkIjoiZkxGQjVRNERXYXZXWTVOaCJ9.M87QRYyZZaYUumXxMXOlsDAymUnK-an4PuyMcH3Sq5PozssXzPoZ7PpHAKzGvUHI4aNMaK-y-JfGZZRKNhovhNmJEreguCf8fvTjQRSIVDO7YZ1gRX481hurvF3_E5QPC3JetgxIS7BtzEOmteHh0K03QRTTlddA665xbQrV9kpHDfZZlRg7SiMemWZBCrDFz-Oo_MQwsn1E33iXi0a5IQek18S7LkoMMA-AN9APrW_JXKvEbEPpO8tsGFdTfLC0jDSUUnrRS9NafV96QR9O-cjMlUqn-9Y5fKS1kWAQW7ngBmBpjn9hnRRoC17JsBn-gy5h2ennDY01n4YfCjuJ1Q' \
-H 'Content-Type: application/json' \
-H 'Postman-Token: 1c4aa180-8612-4ef7-a090-d0db09b7e711' \
-H 'cache-control: no-cache' \
-d '{"merchantOrderId":"235","customerId":"3","orderDescription":"","merchantId":5,"customerInfo":{"firstName":"","lastName":"","birthday":""},"card":{"cardPrintedName":"PER JAN ERIC NYMAN","creditCardNumber":"5529310004733501","expireMonth":"02","expireYear":"2023","cvv2":"123"},"address":{"addressLine1":"Address","city":"asdfasdfasd","state":"","country":"AF","zipCode":""},"contact":{"phone":"","cellPhone":"","email":"[email protected]"},"ipAddress":"172.31.46.45","amount":49000,"paymentType":"card","currency":"EUR","delivered":false,"paymentSystem":"stripe"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment