Skip to content

Instantly share code, notes, and snippets.

@jrmaia
Created April 5, 2022 17:57
Show Gist options
  • Select an option

  • Save jrmaia/53d536cc1b83fccc59ff692ea9bc109d to your computer and use it in GitHub Desktop.

Select an option

Save jrmaia/53d536cc1b83fccc59ff692ea9bc109d to your computer and use it in GitHub Desktop.
{
"payment_method":"credit_card",
"amount":53500,
"recurrence":false,
"installments":1,
"capture":true,
"antifraudEnabled":false,
"customer":{
"phone":{
"ddd":"41",
"number":"988062315"
},
"name":"junior maia",
"email":"[email protected]",
"documents":{
"type":"CNPJ",
"number":"07903612999"
},
"document_number":"07903612999",
"document_type":"CNPJ",
"address":{
"street":"S\u00e3o jose",
"street_number":"451",
"complement":null,
"zipcode":"80050350",
"neighborhood":"Curitiba",
"city":"Curitiba",
"state":"PR",
"country":"BR"
}
},
"billing":{
"address":{
"street":"S\u00e3o jose",
"street_number":"451",
"complement":null,
"zipcode":"80050350",
"neighborhood":"Curitiba",
"city":"Curitiba",
"state":"PR",
"country":"BR"
}
},
"shipping":{
"address":{
"street":null,
"number":null,
"complement":null,
"zip_code":"80050350",
"neighborhood":null,
"city":"Curitiba",
"state":"PR",
"country":"BR"
}
},
"ip":"177.92.107.211",
"session":"d24f25a2d2e3fb2e3fecac74aceea4f0",
"card_holder_name":"junior maia",
"card_cvv":"884",
"card_number":"5215156351105614",
"card_expiration_date":"032023",
"items":[
{
"amount":4900,
"description":"Plaqueta de Identifica\u00e7\u00e3o Marinha com Resina e Im\u00e3",
"quantity":1
},
{
"amount":40000,
"description":"COTURNO T\u00c1TICO -40",
"quantity":1
}
],
"split_rules":[
{
"amount":4655,
"recipient_id":"re_ck0o5gx6q376vpr60lebwoxc0",
"liable":true,
"charge_processing_fee":true,
"charge_remainder":false
},
{
"amount":38000,
"recipient_id":"re_ckw5d59n508mw0i9t1aljoaky",
"liable":true,
"charge_processing_fee":true,
"charge_remainder":false
},
{
"amount":10845,
"recipient_id":"re_ck0e48s3p08csk464z3n21blw",
"liable":false,
"charge_processing_fee":false,
"charge_remainder":true
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment