hasilParseConfig1.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "itm": {
  3. "headers": [
  4. {
  5. "name": "Authorization",
  6. "type": "LITERAL",
  7. "value": "Bearer token123"
  8. },
  9. {
  10. "name": "Content-Type",
  11. "value": "application/json"
  12. }
  13. ],
  14. "endpoint": "https://abb.com/payment",
  15. "TrxAuthMethod": "bearer",
  16. "ApiSecret": "secret_itm_456",
  17. "TrxSignKey": "Authorization"
  18. },
  19. "config1": {
  20. "headers": [
  21. {
  22. "name": "Content-Type",
  23. "type": "LITERAL",
  24. "value": "application/json"
  25. },
  26. {
  27. "name": "X-Timestamp",
  28. "type": "DEFAULT"
  29. },
  30. {
  31. "name": "X-Signature",
  32. "type": "PATH",
  33. "value": "Environment.Variables.Signature"
  34. }
  35. ],
  36. "endpoint": "https://xxx.com/v1",
  37. "TrxAuthMethod": "basic",
  38. "ApiSecret": "secret_fundtastic_123",
  39. "TrxSignKey": "X-Signature",
  40. "TrxSignAlgorithm": "HMACSHA256(hex)/ApiSecret",
  41. "timeout": "30000"
  42. }
  43. }