Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Charllyson Souza charllysonsouza

🎯
Focusing
View GitHub Profile
View evento-cagado.json
[
{
"AppKey": "B9234FFA-4B21-43D0-9AEB-108AF753C324"
},
{
"Route": "affiliation"
},
{
"UUID": "7b5c69dd-241f-4538-88dd-e5b9c4858523"
},
View affiliate-curl
curl --request POST \
--url http://affiliation-service-layer.qa.stone.com.br/Merchant/MerchantService.svc/merchant/affiliate/ \
--header 'Content-Type: application/json' \
--data '{
"BypassCreditAnalysis": false,
"ComplementWithDefaultValues": true,
"Language": null,
"Merchant": {
"__type": "IndividualMerchant:#Stone.ServiceLayer.Affiliation.DataContracts",
"AccountEmailList": [
View autocred-affiliation.json
{
"UUID": "be1bd2ab-90c0-4d4b-9e66-d661eeb7526d",
"CreatedAt": "2023-01-06T18:56:01.3995473Z",
"Event": "affiliation",
"AppKey": "B9234FFA-4B21-43D0-9AEB-108AF753C324",
"Route": "affiliation",
"Content": {
"AffiliationCode": "168530433",
"MerchantId": 1040904,
"ApplicationKey": "811B43E7-A3AC-4CF8-9C55-ED136D8E1992",
View affiliation-events-stg-autocred.logs
2023-01-04T17: 31: 50-03: 00{
"severity": "info",
"product_company": "Stone",
"product_name": "AffiliationEvents",
"product_version": "1.0.0",
"machine_name": "affiliation-events-7f77d4bc76-jd7qz",
"os_full_name": "linux amd64",
"native_process_id": 1,
"type_name": "LogEntry",
"routing_key": "AffiliationEvents",
View merchant-fee-consumer-logs
2023-01-04T17: 31: 50-03: 00{
"severity": "info",
"responsible_team": "Merchant",
"product_name": "merchant-fee-consumer",
"product_version": "1.2.0",
"machine_name": "merchant-fee-consumer-5b6d6f864f-8ntwv",
"type_name": "LogEntry",
"tracing_key": "6580083416890812",
"event_uuid": "653de0df-53ac-4fcf-8955-0e5ffb3b292f",
"event_subscription": "projects/sd7psxhcpn91ttovr0l65007irrrks/subscriptions/fee_consumer__merchant",
View affiliation-autocred.json
{
"UUID": "653de0df-53ac-4fcf-8955-0e5ffb3b292f",
"CreatedAt": "2023-01-04T20:31:48.3364692Z",
"Event": "affiliation",
"AppKey": "B9234FFA-4B21-43D0-9AEB-108AF753C324",
"Route": "affiliation",
"Content": {
"AffiliationCode": "111683453",
"MerchantId": 1040640,
"Data": {
View affiliation.json
{
"BypassCreditAnalysis": false,
"ComplementWithDefaultValues": true,
"Language": null,
"Merchant": {
"__type": "IndividualMerchant:#Stone.ServiceLayer.Affiliation.DataContracts",
"AccountEmailList": [
],
"Active": null,
"AffiliationCode": null,
View reaffiliate-event.json
{
"UUID": "26bbb477-9e72-4c0e-abd7-70dddbd34d02",
"CreatedAt": "2022-10-14T20:02:08.8620966Z",
"Event": "reaffiliate",
"AppKey": "B9234FFA-4B21-43D0-9AEB-108AF753C324",
"Route": "affiliation",
"Content": {
"Id": 1025950,
"AffiliationKey": "3cb4c8385abd44f0b3a57451305f63a2",
"AffiliationCode": "143843710",
View affiliation-merchantReceivableAdvanceConfiguration.json
{
"insertId": "63442c85000a96cf88662d49",
"jsonPayload": {
"Route": "affiliation",
"AppKey": "B9234FFA-4B21-43D0-9AEB-108AF753C324",
"Content": {
"Data": {
"MerchantReceivableAdvanceConfiguration": {
"DelayAdvanceDays": 2,
"LastModifiedDate": "2022-10-10T14:30:29.16",
View affiliate-flag.cs
using System;
using System.Linq;
using System.Collections.Generic;
using System.Collections.ObjectModel;
public class Program
{
public static void Main(string[] args)
{
var processors = new Dictionary<string,string>(){