{"info":{"_postman_id":"6c164816-58df-430e-a2bc-8f3dc875bad3","name":"H2 Payments - API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"17356401","collectionId":"6c164816-58df-430e-a2bc-8f3dc875bad3","publishedId":"2sBYHXQdkt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-11-02T19:44:46.000Z"},"item":[{"name":"OAuth","item":[{"name":"Token","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const _responseJson = pm.response.json();\r\nif (_responseJson?.data?.access_token) {\r\n    pm.collectionVariables.set('access_token', _responseJson?.data?.access_token);\r\n}\r\n"]}}],"id":"5486f51c-15cf-4302-b386-92d91396b8f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"{{client_id}}"},{"key":"client_secret","value":"{{client_secret}}"},{"key":"grant_type","value":"client_credentials"}]},"url":"https://api.h2pay.net/payment-gateway/v1/oauth/token","urlObject":{"path":["payment-gateway","v1","oauth","token"],"host":["https://api.h2pay.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"5486f51c-15cf-4302-b386-92d91396b8f8"}],"id":"c6105e64-391f-4563-aabe-2e26d93369bf","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"1ea4d572-5b25-4276-afc8-3e1ad841d639","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"b0b35f2b-54b3-4e78-889a-64cbd3e1aeca","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"_postman_id":"c6105e64-391f-4563-aabe-2e26d93369bf","description":""},{"name":"Links","item":[],"id":"986966c0-193e-40da-af77-f65a7cb3d3ac","_postman_id":"986966c0-193e-40da-af77-f65a7cb3d3ac","description":""},{"name":"Customers","item":[],"id":"7b0566d7-889a-45e6-9766-aa183f8a90d5","_postman_id":"7b0566d7-889a-45e6-9766-aa183f8a90d5","description":""},{"name":"Invoices","item":[],"id":"be5e26de-08e2-4bea-b0a2-7b9ab67f8a12","_postman_id":"be5e26de-08e2-4bea-b0a2-7b9ab67f8a12","description":""},{"name":"Payments","item":[{"name":"Payment - Authorize - CreditCard - MInimum","id":"0bbd691b-519b-4f03-84bf-808a99e809b9","request":{"method":"POST","header":[{"key":"x-merchant-stack","value":"{{merchantStack}}"},{"key":"x-merchant-id","value":"{{merchantId}}"},{"key":"x-merchant-secret","value":"{{merchantSecret}}"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantOrderId\": \"{{merchantOrderId}}\",\r\n    \"payment\": {\r\n        \"type\": \"creditcard\",\r\n        \"amount\": \"1.00\",\r\n        \"creditcard\": {\r\n            \"number\": \"{{creditCardNumber}}\",\r\n            \"holder\": \"{{creditCardHolder}}\",\r\n            \"expirationDate\": \"{{creditCardExpirationDate}}\",\r\n            \"securityCode\": \"{{creditCardCvv}}\",\r\n            \"brand\": \"{{creditCardBrand}}\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.h2pay.net/payment-gateway/v1/payments","urlObject":{"path":["payment-gateway","v1","payments"],"host":["https://api.h2pay.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"0bbd691b-519b-4f03-84bf-808a99e809b9"},{"name":"Payment - Authorize - CreditCard","id":"1896b2b2-e7e1-493a-80fb-0b904dd90ca3","request":{"method":"POST","header":[{"key":"x-merchant-id","value":"{{merchantId}}"},{"key":"x-merchant-secret","value":"{{merchantSecret}}"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantOrderId\": \"{{merchantOrderId}}\",\r\n    \"externalUniqueId\": \"{{externalUniqueId}}\",\r\n    \"payment\": {\r\n        \"type\": \"CreditCard\",\r\n        \"amount\": \"1.00\",\r\n        \"currency\": \"BRL\",\r\n        \"country\": \"BRA\",\r\n        \"installments\": 1,\r\n        \"capture\": true,\r\n        \"authenticate\": true,\r\n        \"softDescriptor\": \"{{paymentSoftDescriptor}}\",\r\n        \"creditCard\": {\r\n            \"cardNumber\": \"{{creditCardNumber}}\",\r\n            \"holder\": \"{{creditCardHolder}}\",\r\n            \"expirationDate\": \"{{creditCardExpirationDate}}\",\r\n            \"securityCode\": \"{{creditCardCvv}}\",\r\n            \"brand\": \"{{creditCardBrand}}\",\r\n            \"saveCard\": {{creditCardSaveCard}}\r\n        },\r\n        \"fraudAnalysis\": {\r\n            \"sequence\": \"AuthorizeFirst\",\r\n            \"sequenceCriteria\": \"OnSuccess\",\r\n            \"provider\": \"Cybersource\",\r\n            \"captureOnLowRisk\": true,\r\n            \"voidOnHighRisk\": \"false\",\r\n            \"totalOrderAmount\": \"1.01\"\r\n        }\r\n    },\r\n    \"customer\": {\r\n        \"name\": \"{{customerName}}\",\r\n        \"taxIdType\": \"{{customerTaxIdType}}\",\r\n        \"taxId\": \"{{customerTaxId}}\",        \r\n        \"email\": \"{{customerEmail}}\",\r\n        \"birthdate\": \"{{customerBirthDate}}\",\r\n        \"phone\": \"{{customerPhone}}\",\r\n        \"billingAddress\": {\r\n            \"street\": \"{{billingAddressStreet}}\",\r\n            \"number\": \"{{billingAddressNumber}}\",\r\n            \"complement\": \"{{billingAddressComplement}}\",\r\n            \"neighborhood\": \"{{billingAddressNeighborhood}}\",\r\n            \"postalcode\": \"{{billingAddressPostalcode}}\",\r\n            \"city\": \"{{billingAddressCity}}\",\r\n            \"state\": \"{{billingAddressState}}\",\r\n            \"country\": \"{{billingAddressCountry}}\"\r\n        },\r\n        \"shippingAddress\": {\r\n            \"street\": \"{{shippingAddressStreet}}\",\r\n            \"number\": \"{{shippingAddressNumber}}\",\r\n            \"complement\": \"{{shippingAddressComplement}}\",\r\n            \"neighborhood\": \"{{shippingAddressNeighborhood}}\",\r\n            \"postalcode\": \"{{shippingAddressPostalcode}}\",\r\n            \"city\": \"{{shippingAddressCity}}\",\r\n            \"state\": \"{{shippingAddressState}}\",\r\n            \"country\": \"{{shippingAddressCountry}}\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.h2pay.net/payment-gateway/v1/payments","urlObject":{"path":["payment-gateway","v1","payments"],"host":["https://api.h2pay.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"1896b2b2-e7e1-493a-80fb-0b904dd90ca3"},{"name":"Payment - Authorize - DebitCard","id":"70882520-5786-4619-b7fd-e998e169e1de","request":{"method":"POST","header":[{"key":"x-merchant-id","value":"{{merchantId}}"},{"key":"x-merchant-secret","value":"{{merchantSecret}}"}],"body":{"mode":"raw","raw":"{\r\n    \"merchantOrderId\": \"20261031154120-2233468486129806-101\",\r\n    \"payment\": {\r\n        \"type\": \"CreditCard\",\r\n        \"amount\": \"1.01\",\r\n        \"currency\": \"BRL\",\r\n        \"country\": \"BRA\",\r\n        \"installments\": 1,\r\n        \"capture\": true,\r\n        \"authenticate\": true,\r\n        \"softDescriptor\": \"{{paymentSoftDescriptor}}\",\r\n        \"creditCard\": {\r\n            \"cardNumber\": \"{{creditCardNumber}}\",\r\n            \"holder\": \"{{creditCardHolder}}\",\r\n            \"expirationDate\": \"{{creditCardExpirationDate}}\",\r\n            \"securityCode\": \"{{creditCardCvv}}\",\r\n            \"brand\": \"{{creditCardBrand}}\",\r\n            \"saveCard\": {{creditCardSaveCard}}\r\n        },\r\n        \"fraudAnalysis\": {\r\n            \"sequence\": \"AuthorizeFirst\",\r\n            \"sequenceCriteria\": \"OnSuccess\",\r\n            \"provider\": \"Cybersource\",\r\n            \"captureOnLowRisk\": true,\r\n            \"voidOnHighRisk\": \"false\",\r\n            \"totalOrderAmount\": 1\r\n        }\r\n    },\r\n    \"customer\": {\r\n        \"name\": \"{{customerName}}\",\r\n        \"taxIdType\": \"{{customerTaxIdType}}\",\r\n        \"taxId\": \"{{customerTaxId}}\",        \r\n        \"email\": \"{{customerEmail}}\",\r\n        \"birthdate\": \"{{customerBirthDate}}\",\r\n        \"phone\": \"{{customerPhone}}\",\r\n        \"billingAddress\": {\r\n            \"street\": \"{{billingAddressStreet}}\",\r\n            \"number\": \"{{billingAddressNumber}}\",\r\n            \"complement\": \"{{billingAddressComplement}}\",\r\n            \"neighborhood\": \"{{billingAddressNeighborhood}}\",\r\n            \"postalcode\": \"{{billingAddressPostalcode}}\",\r\n            \"city\": \"{{billingAddressCity}}\",\r\n            \"state\": \"{{billingAddressState}}\",\r\n            \"country\": \"{{billingAddressCountry}}\"\r\n        },\r\n        \"shippingAddress\": {\r\n            \"street\": \"{{shippingAddressStreet}}\",\r\n            \"number\": \"{{shippingAddressNumber}}\",\r\n            \"complement\": \"{{shippingAddressComplement}}\",\r\n            \"neighborhood\": \"{{shippingAddressNeighborhood}}\",\r\n            \"postalcode\": \"{{shippingAddressPostalcode}}\",\r\n            \"city\": \"{{shippingAddressCity}}\",\r\n            \"state\": \"{{shippingAddressState}}\",\r\n            \"country\": \"{{shippingAddressCountry}}\"\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.h2pay.net/payment-gateway/v1/payments","urlObject":{"path":["payment-gateway","v1","payments"],"host":["https://api.h2pay.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"70882520-5786-4619-b7fd-e998e169e1de"}],"id":"983ba490-4a1a-4e1f-ab99-8906e0771a00","_postman_id":"983ba490-4a1a-4e1f-ab99-8906e0771a00","description":""}],"event":[{"listen":"prerequest","script":{"id":"7f1ac44d-2622-4c7f-a463-3ecf0127ae69","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"91fe4d21-9b5e-4054-8ea2-eec9288f433e","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.h2pay.net"},{"key":"access_token","value":""}]}