Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Descripción
MétodoPOST
URL
Ejemplo
Payload


Code Block
languagejs
titleJSON Schema
collapsetrue
{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"type": "object",
	"properties": {
		"external": {
			"type": "object",
			"properties": {
				"orderId": {
					"description": "Identificador externo del pago",
					"type": "string"
				},
				"collectionOrderId": {
					"description": "Identificador externo del pago por tarjeta", 
					"type": "string"
				},
				"consolidatorOrderId": {
					"description": "Identificador externo del agrupador, unificador de empresas",
					"type": "string"
				},
				"consolidatorValue": {
                    "description": "Valor total de la compra por cada una de las empresas",
                    "type": number,
					"exclusiveMinimum": 0
                },
                "totalValue": {
                    "description": "Valor total de la compra, si es multi-sello o 2 tarjetas, aquí va el valor de toda la compra",
                    "type": number,
					"exclusiveMinimum": 0
                },
				"orderCount": {
					"description": "Es la cantidad de pedidos que conforman la compra",
                    "type": number,
					"exclusiveMinimum": 0
					"example": 2
				}
			},
			"required": [
				"orderId",
				"consolidatorOrderId",
				"totalValue",
				"orderCount"
			]
		},
		"paymentDate": {
			"description": "Fecha en la que se realiza el pago",
			"type": "string",
			"format": "date-time"
		},
		"parentGuardian": {
			"type": "object",
			"properties": {
				"refId": {
					"description": "Id en BDC de la persona que está realizando el pago",
					"type": "string",
					"format": "uuid",
					"maxLength": 36,
					"minLength": 36
				},
				"document": {
					"description": "Documento de identificación de la persona que está realizando el pago (CPF)",
					"type": "string"
				}
			},
			"required": [
				"refId",
				"document"
			]
		},
		"paymentMethod": {
			"description": "Identificador del método de pago, es el campo parametro en la tabla forma_pago",
			"type": "string",
			"minLength": 0,
			"maxLength": 10
		},
		"conciliationAccount": {
			"description": "Identificador del concentrador de pago, es el campo parametro en la tabla concentra_pago",
			"type": "string",
			"minLength": 0,
			"maxLength": 6
		},
		"price": {
			"description": "Precio final a pagar, después de markup, descuentos, impuestos y cargos", 
			"type": "number",
			"exclusiveMinimum": 0
		},
		"originalPrice": {
			"description": "Precio inicial a pagar, antes de markup, descuentos, impuestos y cargos", 
			"type": "number",
			"exclusiveMinimum": 0
		},
		"discounts": { 
			"description": "Descuentos aplicados en la compra", 
			"type": "object",
			"properties": { 
				"discountOne": {
					"description": "Concentra el valor acumulado de los descuentos que no sean de tipo PARC",
					"type": "object", 
					"properties": { 
						"amount": { 
							"description": "Es el valor acumulado de los descuentos que no sean de tipo PARC",
							"type": "number", 
							"minimum": 0 
						} 
					}, 
					"required": [ 
						"amount" 
					]
				},
				"discountTwo": {
					"description": "Concentra el valor del descuento de tipo PARC",
					"type": "object", 
					"properties": { 
						"amount": { 
							"description": "Es el valor correspondiente al descuento de tipo PARC",
							"type": "number", 
							"minimum": 0 
						} 
					}, 
					"required": [ 
						"amount"
					]
				} 
			] 
		},
		"taxes": {
			"description": "Valor total de los impuestos aplicados, correspondiente al porcentaje total de impuestos",
			"type": "number",
			"minimum": 0
		},
		"taxRate": { 
			"description": "Porcentaje total de impuestos aplicados",
			"type": "number",
			"minimum": 0
		},	
		"itemList": {
			"description": "Lista de paquetes vendidos",
			"type": "array",
			"uniqueItems": true,
			"minItems": 1,
			"items": [
				{
					"type": "object",
					"properties": {
						"articleRefId": {
							"description": "Id en BDC del artículo/paquete",
							"type": "string",
							"format": "uuid",
							"maxLength": 36,
							"minLength": 36
						},
						"student": {
							"type": "object",
							"properties": {
								"refId": {
									"description": "Id en BDC del alumno",
									"type": "string",
									"format": "uuid",
									"maxLength": 36,
									"minLength": 36
								},
								"personRefId": {
									"description": "Id en BDC de la persona asociada al alumno",
									"type": "string",
									"format": "uuid",
									"maxLength": 36,
									"minLength": 36
								}
							},
							"required": [
								"refId",
								"personRefId"
							]
						},
						"totalItem": {
							"description": "Cantidad vendida del artículo/paquete",
							"type": "integer",
							"exclusiveMinimum": 0
						},
						"price": {
							"description": "Precio final del artículo/paquete, después de markup, descuentos, impuestos y cargos",
							"type": "number",
							"exclusiveMinimum": 0
						},
						"originalPrice": {
							"description": "Precio inicial del artículo/paquete, antes de markup, descuentos, impuestos y cargos",
							"type": "number",
							"exclusiveMinimum": 0
						},
						"discountList": { 
							"description": "Lista de descuentos aplicados al artículo/paquete, si hay un descuento comercial este debe ser informado siempre primero, es decir, en la primera posición del array, si hay más de 3 descuentos aplicados estos se acumulan en el tercer/último descuento", 
							"type": "array", 
							"uniqueItems": true, 
							"minItems": 1,
							"maxItems": 3, 
							"items": [ 
								{ 
									"type": "object", 
									"properties": { 
										"rate": { 
											"description": "Indica el porcentaje del descuento",
											"type": "number", 
											"exclusiveMinimum": 0 
										}, 
										"reason": { 
											"description": "Identificador de la razón del descuento, es el campo parametro en la tabla razon",
											"type": "string",
											"minLength": 0,
											"maxLength": 16 
										}, 
										"amount": { 
											"description": "Indica el valor correspondiente al porcentaje del descuento",
											"type": "number", 
											"exclusiveMinimum": 0 
										} 
									}, 
									"required": [ 
										"rate", 
										"reason", 
										"amount" 
									] 
								} 
							] 
						},
						"taxes": {
							"description": "Valor de los impuestos aplicados al artículo/paquete, correspondiente al porcentaje de impuestos",
							"type": "integer",
							"minimum": 0
						},
						"taxRate": { 
							"description": "Porcentaje de impuestos aplicados al artículo/paquete",
							"type": "integer",
							"minimum": 0
						},
						"salesType": {
							"description": "Identificador del tipo de venta, es el campo parametro en la tabla tipo_venta",
							"type": "string",
							"minLength": 0,
							"maxLength": 14
						},
						"salesChannel": {
							"description": "Identificador del canal de venta, es el campo parametro en la tabla canal_venta",
							"type": "string",
							"minLength": 0,
							"maxLength": 10
						},
						"salesOption": {
							"description": "Identificador de la opción de venta, es el campo parametro en la tabla opcion_venta",
							"type": "string",
							"minLength": 0,
							"maxLength": 3
						},
						"componentList": {
							"description": "Lista de los artículos/componentes que forman parte del artículo/paquete vendidos, este atributo solo debe estar presente cuando es un pago de una venta fraccionada o cuando la empresa requiere desglose de componentes para la integración con el ERP, por ejemplo: Compartilha y TDL",
							"type": "array",
							"items": [
								{
									"type": "object",
									"properties": {
										"articleRefId": {
											"description": "Id en BDC del artículo/componente",
											"type": "string",
											"format": "uuid",
											"maxLength": 36,
											"minLength": 36
										},
										"totalItem": {
											"description": "Cantidad vendida del artículo/paquete",
											"type": "integer",
											"exclusiveMinimum": 0
										},
										"price": {
											"description": "Precio final del artículo/componente, después de markup, descuentos, impuestos y cargos",
											"type": "number",
											"exclusiveMinimum": 0
										},
										"originalPrice": {
											"description": "Precio inicial del artículo/componente, antes de markup, descuentos, impuestos y cargos",
											"type": "number",
											"exclusiveMinimum": 0
										},
										"markupRate": {
											"description": "",
											"type": "number",
											"minimum": 0
										},
										"priceWithMarkup": {
											"description": "Valor del precio inicial del articulo/componente, después del markup",
											"type": "number",
											"minimum": 0
										},
										"taxes": {
											"description": "Valor de los impuestos aplicados al artículo/componente, correspondiente al porcentaje de impuestos",
											"type": "number",
											"minimum": 0
										},
										"taxRate": {
											"description": "Porcentaje de impuestos aplicados al artículo/componente",
											"type": "number",
											"minimum": 0
										},
										"discountList": {
											"description": "Lista de descuentos aplicados al artículo/componente, solo puede indicarse el tipo de descuento por venta fraccionada",
											"type": "array",
											"uniqueItems": true,
											"minItems": 1,
											"maxItems": 1,
											"items": [
												{
													"type": "object",
													"properties": {
														"rate": {
															"description": "Indica el porcentaje del descuento",
															"type": "number",
															"exclusiveMinimum": 0
														},
														"reason": {
															"description": "Identificador de la razón del descuento, es el campo parametro en la tabla razon, para venta fraccionada solo se acepta el valor VEFR y si es venta por paquete solo se acepta el valor COM",
															"type": "string",
															"maxLength": 4, 
															"minLength": 4
														},
														"amount": {
															"description": "Indica el valor correspondiente al porcentaje del descuento",
															"type": "number",
															"exclusiveMinimum": 0
														}
													},
													"required": [
														"rate",
														"reason",
														"amount"
													]
												}
											]
										},
										"salesTerms": {
											"type": "object",
											"properties": {
												"familyCode": {
													"description": "Código da Família do Produto | Lista na plataforma | Código da categoria",
													"type": "string",
													"example": "idiomas"
												},
												"code": {
													"description": "El indicador del tipo de artículo/componente, puede tener solo 3 valores posibles: 1 cuando el tipo articulo es LIB, 2 cuando el tipo de articulo es LIBD y 3 cuanto el tipo de articulo sea SERV",
													"type": "number",
													"example": 1
												},
												"group": {
													"description": "1-Avulso, 2-Agrupado",
													"type": "number",
													"example": 1
												},
												"digitalCode": {
													"description": "Código ERP do produto digital | Caso o group == 2",
													"type": "string",
													"example": "22006077"
												},
												"isExclusive": {
													"description": "Item exclusivo: false - Não exclusivo, true - exclusivo",
													"type": "boolean",
													"example": true
												}
											},
											"required": [
												"familyCode",
												"code",
												"group",
												"digitalCode",
												"isExclusive"
											]
										}
									},
									"required": [
										"articleRefId",
										"totalItem",
										"price",
										"originalPrice",
										"markupRate",
										"priceWithMarkup",
										"taxes",
										"taxRate",
										"discountList",
										"salesTerms"
									]
								}
							]
						}
					},
					"required": [
						"articleRefId",
						"student",
						"totalItem",
						"price",
						"originalPrice",
						"taxes",
						"taxRate",
						"salesType",
						"salesChannel",
						"salesOption",
						"componentList"
					]
				}
			]
		},
		"freight": {
			"type": "object",
			"properties": {
				"transportName": {
					"type": "string"
				},
				"transportPhone": {
					"type": "string"
				},
				"transportCode": {
					"type": "string"
				},
				"orderNote": {
					"type": "string"
				},
				"orderFreightValue": {
					"type": "number"
				},
				"orderDeliveryForecast": {
					"type": "string"
				},
				"orderEstablishment": {
					"type": "string"
				}
			},
			"required": [
				"transportName",
				"transportPhone",
				"transportCode",
				"orderNote",
				"orderFreightValue",
				"orderDeliveryForecast",
				"orderEstablishment"
			]
		},
		"addressList": {
			"description": "Lista de domicilios asociados a la persona que realiza el pago",
			"type": "array",
			"uniqueItems": true,
			"minItems": 2,
			"maxItems": 3,
			"items": [
				{
					"type": "object",
					"properties": {
						"address": {
							"type": "object",
							"properties": {
								"addressType": {
									"description": "Indicador del tipo de domicilio, solo puede tener 3 valores (Physical, Mailing, Shipping)",
									"type": "string",
									"maxLength": 7,
									"minLength": 8
								},
								"street": {
									"type": "string"
								},
								"outdoorNumber": {
									"type": "string"
								},
								"interiorNumber": {
									"type": "string"
								},
								"neighborhood": {
									"type": "string"
								},
								"city": {
									"type": "string"
								},
								"postalCode": {
									"type": "string"
								},
								"county": {
									"type": "object",
									"properties": {
										"refId": {
											"type": "string",
											"format": "uuid",
											"maxLength": 36,
											"minLength": 36
										},
										"countyCode": {
											"type": "string"
										}
									},
									"required": [
										"refId",
										"countyCode"
									]
								},
								"contact": {
									"type": "string"
								},
								"phone": {
									"type": "string"
								},
								"phone2": {
									"type": "string"
								},
								"position": {
									"type": "string"
								},
								"officeHours": {
									"type": "string"
								},
								"email": {
									"type": "string",
									"format": "email"
								},
								"timeZone": {
									"type": "object",
									"properties": {
										"refId": {
											"type": "string",
											"format": "uuid",
											"maxLength": 36,
											"minLength": 36
										}
									},
									"required": [
										"refId"
									]
								},
								"language": {
									"type": "object",
									"properties": {
										"refId": {
											"type": "string",
											"format": "uuid",
											"maxLength": 36,
											"minLength": 36
										}
									},
									"required": [
										"refId"
									]
								},
								"active": {
									"type": "boolean"
								}
							},
							"required": [
								"addressType",
								"street",
								"outdoorNumber",
								"interiorNumber",
								"neighborhood",
								"city",
								"postalCode",
								"county",
								"contact",
								"phone",
								"phone2",
								"position",
								"officeHours",
								"email",
								"timeZone",
								"language",
								"active"
							]
						}
					},
					"required": [
						"address"
					]
				}
			]
		},
    	"invoiceData": {
      		"type": "object",
	      	"properties": {
        		"name": {
          			"type": "string"
        		},
        		"lastName": {
          			"type": "string"
        		},
        		"document": {
          			"type": "string"
        		},
        		"isLegalPerson": {
          			"type": "boolean"
        		}
      		},
      		"required": [
        		"name",
        		"document",
        		"isLegalPerson"
      		]
    	},
		"transactiontransactions": {
			"description": "Lista de formas de pago utilizadas en la compra. Ejemplo, si se realiza un pago con 2 tarjetas, se cada elemento tendrá la información relacionada a la compra realizada de cada tarjeta."
			"type": "objectarray",
			"items": [
				{
					"type":   "object",
					"properties": {
						"orderId": {
							"description": "Identificador de la compra del lado del integrador (Venda Bem Pago)",
							"type": "string"
						},
						        "transactionId": {
							"description": "Identificador de la transacción del lado del integrador (Transaçao Bem Pago)",
		        					"type": "string"
						        },
		        				"establishmentCode": {
		          					"type": "integer"
		        				},
					        	"paymentMethodCode": {
		          					"type": "integer"
        						},
		        				"value": {
					          		"type": "integer"
						        },
		        },
						"valueDiscount": {
		          					"type": "integer"
		        				},
				        		"installments": {
        						  	"type": "integer"
			        			},
						        "status": {
        						  	"type": "integer"
						        },
						"authorization":        "authorization": {
		          {
							"type": "string"
						        },
		        				"operatorTransactionCode": {
		          					"type": "string"
			        			},
        						"operatorApprovalDate": {
						          	"type": "string"
		        				},
			        			"receipt": {
					          		"type": "string"
		        				},
		        				"nsu": {
			          				"type": "string"
						        },
						        "message": {
		          					"type": "string"
		        				},
						        "card": {
							"description": "Datos de la tarjeta, este campo solo es obligatorio cuando el pago es con tarjeta",
          							"type": "object",
          								"properties": {
            								"cardHolder": {
									"description": "Nombre del titular de la tarjeta",
              									"type": "string"
            								},
            								"cardNumber": {
									"description": "Número de la tarjeta utilizada, tal cual la devuelve el integrador, con una mascara que solo 			muestra los primeros 6 dígitos, seguidos de 7 asteríscos y los últimos 4 dígitos",
									"examples": ["123456*******7890"],
              									"type": "string"
            								},
            								"document": {
									"description": "Documento de identificación de la persona titular de la tarjeta (CPF)",
              									"type": "string"
            								}
          							},
          							"required": [
            								"cardHolder",
            								"cardNumber",
            								"document"
          			]
        							]
						},
        						"paymentUrl": {
							"description": "Este campo es obligatorio cuando es un pago fraccionado",
          							"type": "string"
        						},
						"paymentValue": {
							"type": "integer"
						},
						"interest": {
							"description": "Es la diferencia entre paymentValue menos value",
							"type": "integer"
						}
      					},
      					"required": [
						"orderId",
        						"transactionId",
        						"establishmentCode",
        						"paymentMethodCode",
        						"value",
        						"valueDiscount",
        						"installments",
        						"status",
        						"authorization",
        						"operatorTransactionCode",
        						"operatorApprovalDate",
        						"receipt",
        						"nsu",
        						"paymentUrl"
					]
     				}
			]
		},
		"splitPayment": {
			"description": "Indicador de que la información es parte de un pago realizado con 2 tarjetas",
			"type": boolean,
			"example": true
		},
		"mixedBundling": {
			"description": "Indicador de que el pago es fraccionado",
			"type": boolean,
			"example": true
		},
		"multipleBusinesses": {
			"description": "Indicador de que el pago es parte de una compra multi-sello",
			"type": boolean,
			"example": false
		}
	},
	"required": [
		"external",
		"paymentDate",
		"parentGuardian",
		"paymentMethod",
		"price",
		"originalPrice",
		"taxes",
		"taxRate",
		"itemList",
		"freight",
		"addressList",
		"invoiceData",
		"transaction",
		"splitPayment",
		"mixedBundling",
		"multipleBusinesses"
	]
}


Code Block
languagejs
titleEjemplo - Pago por paquete
collapsetrue
{
	"external": {
		"orderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5",
		"collectionOrderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5",
		"consolidatorOrderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5",
		"totalValue": 1118.5200,
		"orderCount": 1
	},
	"paymentDate": "2023-06-07T16:21:38+00:00",
	"parentGuardian": {
		"refId": "00000000-0000-1000-0000-000012282310",
		"document": "03915826588"
	},
	"paymentMethod": "TCV",
	"conciliationAccount": "YAPY",
	"price": 1118.5200,
	"originalPrice": 4406.8000,
	"discountList": [
		{
			"rate": 74.6183,
			"amount": 3288.2800
		}
	],
	"itemList": [
		{
			"articleRefId": "00000000-0000-1000-0000-000000118094",
			"student": {
				"refId": "00000000-0000-1000-0000-000020096053",
				"personRefId": "00000000-0000-1000-0000-000012271661"
			},
			"totalItem": 1,
			"price": 559.2617,
			"originalPrice": 2203.3983980,
			"discountList": [
				{
					"rate": 23.7097,
					"reason": "COM",
					"amount": 522.4191
				},
				{
					"rate": 6636.737300,
					"reason": "FFS",
					"amount": 1121.7172
				},
				{
					"rate": 25.0000,
					"reason": "IT",
					"amount": 1121.7172
				}
			],
			"taxes": 0.0000,
			"taxRate": 0.0000,
			"salesType": "VENTA",
			"salesChannel": "ALU",
			"installments": 1
		},
		{
			"articleRefId": "00000000-0000-1000-0000-000000118095",
			"student": {
				"refId": "00000000-0000-1000-0000-000020096149",
				"personRefId": "00000000-0000-1000-0000-000012271845"
			},
			"totalItem": 1,
			"price": 559.2617,
			"originalPrice": 2203.398,
			"discountList": [
				{
					"rate": 23.7097,
					"reason": "COM",
					"amount": 522.4191
				},
				{
					"rate": 66.7300,
					"reason": "HP",
					"amount": 1121.7172
				}
			],
			"taxes": 0.0000,
			"taxRate": 0.0000,
			"salesType": "VENTA",
			"salesChannel": "ALU",
			"installments": 1
		}
	],
	"freight": {
		"transportName": "",
		"transportPhone": "",
		"transportCode": "",
		"orderNote": "",
		"orderFreightValue": 0,
		"orderDeliveryForecast": "dd/mm/yyyy",
		"orderEstablishment": ""
	},
	"addressList": [
		{
			"address": {
				"addressType": "Physical",
				"street": "Rua Gavião Peixoto",
				"outdoorNumber": "313",
				"interiorNumber": "",
				"neighborhood": "Icaraí",
				"city": "RIO DE JANEIRO",
				"postalCode": "24230092",
				"county": {
					"refId": "00000000-0000-1000-0000-000000020226",
					"countyCode": "BE402DF"
				},
				"contact": "Alfredo Pai",
				"phone": "",
				"phone2": "12345678901",
				"position": "Contacto Principal",
				"officeHours": "",
				"email": "test@test.com",
				"timeZone": {
					"refId": "00000000-0000-1000-0000-000000000028"
				},
				"language": {
					"refId": "00000000-0000-1000-0000-000000000017"
				},
				"active": true
			}
		},
		{
			"address": {
				"addressType": "Mailing",
				"street": "Rua Gavião Peixoto",
				"outdoorNumber": "313",
				"interiorNumber": "",
				"neighborhood": "Icaraí",
				"city": "RIO DE JANEIRO",
				"postalCode": "24230092",
				"county": {
					"refId": "00000000-0000-1000-0000-000000020226",
					"countyCode": "BE402DF"
				},
				"contact": "Alfredo Pai",
				"phone": "",
				"phone2": "12345678901",
				"position": "Contacto Principal",
				"officeHours": "",
				"email": "test@test.com",
				"timeZone": {
					"refId": "00000000-0000-1000-0000-000000000028"
				},
				"language": {
					"refId": "00000000-0000-1000-0000-000000000017"
				},
				"active": true
			}
		}
	],
  	"invoiceData": {
    	"name": "Alfredo",
    	"lastName": "Bernal",
    	"document": "07319150972",
    	"isLegalPerson": false  
  	},
	"transaction": {
		"orderId": 3511,
		"transactionId": 20027340,
   	 	"establishmentCode": 1627652346504,
    	"paymentMethodCode": 190,
    	"value": 198055,
    	"valueDiscount": 0,
    	"installments": 2,
    	"status": 1,
    	"authorization": "263461",
    	"operatorTransactionCode": "00",
    	"operatorApprovalDate": "2023-07-19 11:26:35",
    	"receipt": "10462307190818157291",
    	"nsu": "11409373",
    	"message": "Sucesso.",
    	"card": {
      		"cardHolder": "Alfredo Bernal",
      		"cardNumber": "123456*******7890",
      		"document": "07319150972"
    	},	
    	"paymentUrl": "https://api.bempaggo.io/proxy/yapay/checkout/api/v3/transacao/1627652346504/20027340",
		"paymentValue": 198055,
		"interest": 0
	},
	"mixedBundling": false,
    "splitPayment": false
}


Code Block
languagejs
titleEjemplo - Pago fraccionado
collapsetrue
{
	"external": {
		"orderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5",
		"collectionOrderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5",
		"consolidatorOrderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5",
		"totalValue": 1118.5200,
		"orderCount": 1
	},
	"paymentDate": "2023-06-07T16:21:38+00:00",
	"parentGuardian": {
		"refId": "00000000-0000-1000-0000-000012431581",
		"document": "27288324800"
	},
	"paymentMethod": "PWM",
	"conciliationAccount": "",
	"price": 760.73,
	"originalPrice": 760.73,
	"itemList": [
		{
			"articleRefId": "00000000-0000-1000-0000-000000118090",
			"student": {
				"refId": "00000000-0000-1000-0000-000020700764",
				"personRefId": "00000000-0000-1000-0000-000012147907"
			},
			"totalItem": 1,
			"price": 741.12,
			"originalPrice": 741.12,
			"taxes": 0.0000,
			"taxRate": 0.0000,
			"salesType": "VENTA",
			"salesChannel": "ALU",
			"salesOption": "OB",
			"installments": 1,
			"componentList": [
				{
					"articleRefId": "00000000-0000-1000-0000-000000094355",
					"totalItem": 1,
					"price": 143.2523,
					"originalPrice": 219,
					"markupRate": 20.0000,
					"priceWithMarkup": 0.0000,
					"taxes": 0.0000,
					"taxRate": 0.0000,
					"discountList": [
						{
							"rate": 45.4900,
							"reason": "VEFR",
							"amount": 119.5477
						}
					],
					"salesTerms": {
						"familyCode": "idiomas",
						"code": 1,
						"group": 2,
						"digitalCode": "22006077",
						"isExclusive": false
					}
				},
				{
					"articleRefId": "00000000-0000-1000-0000-00000094584",
					"totalItem": 1,
					"price": 66.7202,
					"originalPrice": 102,
					"markupRate": 20.0000,
					"priceWithMarkup": 0.0000,
					"taxes": 0.0000,
					"taxRate": 0.0000,
					"discountList": [
						{
							"rate": 45.4900,
							"reason": "VEFR",
							"amount": 55.6798
						}
					],
					"salesTerms": {
						"familyCode": "idiomas",
						"code": 1,
						"group": 2,
						"digitalCode": "22006077",
						"isExclusive": false
					}
				},
				{
					"articleRefId": "00000000-0000-1000-0000-000000094294",
					"totalItem": 1,
					"price": 138.6734,
					"originalPrice": 212,
					"priceWithMarkup": 0.0000,
					"markupRate": 20.0000,
					"taxes": 0.0000,
					"taxRate": 0.0000,
					"discountList": [
						{
							"rate": 45.4900,
							"reason": "VEFR",
							"amount": 115.7266
						}
					],
					"salesTerms": {
						"familyCode": "idiomas",
						"code": 1,
						"group": 2,
						"digitalCode": "22006077",
						"isExclusive": false
					}
				},
				{
					"articleRefId": "00000000-0000-1000-0000-000000094344",
					"totalItem": 1,
					"price": 138.6734,
					"originalPrice": 212,
					"priceWithMarkup": 0.0000,
					"markupRate": 20.0000,
					"taxes": 0.0000,
					"taxRate": 0.0000,
					"discountList": [
						{
							"rate": 45.4900,
							"reason": "VEFR",
							"amount": 115.7266
						}
					],
					"salesTerms": {
						"familyCode": "idiomas",
						"code": 1,
						"group": 2,
						"digitalCode": "22006077",
						"isExclusive": false
					}
				},
				{
					"articleRefId": "00000000-0000-1000-0000-000000094291",
					"totalItem": 1,
					"price": 138.6734,
					"originalPrice": 212,
					"markupRate": 20.0000,
					"priceWithMarkup": 0.0000,
					"taxes": 0.0000,
					"taxRate": 0.0000,
					"discountList": [
						{
							"rate": 45.4900,
							"reason": "VEFR",
							"amount": 115.7266
						}
					],
					"salesTerms": {
						"familyCode": "idiomas",
						"code": 1,
						"group": 2,
						"digitalCode": "22006077",
						"isExclusive": false
					}
				},
				{
					"articleRefId": "00000000-0000-1000-0000-000000094604",
					"totalItem": 1,
					"price": 115.1251,
					"originalPrice": 176,
					"markupRate": 20,
					"priceWithMarkup": 0.0000,
					"taxes": 0,
					"taxRate": 0,
					"discountList": [
						{
							"rate": 45.49,
							"reason": "VEFR",
							"amount": 96.0749
						}
					],
					"salesTerms": {
						"familyCode": "idiomas",
						"code": 1,
						"group": 2,
						"digitalCode": "22006077",
						"isExclusive": false
					}
				}
			]
		}
	],
	"freight": {
		"transportName": "",
		"transportPhone": "",
		"transportCode": "",
		"orderNote": "",
		"orderFreightValue": 19.61,
		"orderDeliveryForecast": "2023-06-07T16:21:38+00:00",
		"orderEstablishment": ""
	},
	"addressList": [
		{
			"address": {
				"addressType": "Physical",
				"street": "Rua Gavião Peixoto",
				"outdoorNumber": "313",
				"interiorNumber": "",
				"neighborhood": "Icaraí",
				"city": "RIO DE JANEIRO",
				"postalCode": "24230092",
				"county": {
					"refId": "00000000-0000-1000-0000-000000020226",
					"countyCode": "BE402DF"
				},
				"contact": "Alfredo Pai",
				"phone": "",
				"phone2": "12345678901",
				"position": "Contacto Principal",
				"officeHours": "",
				"email": "test@test.com",
				"timeZone": {
					"refId": "00000000-0000-1000-0000-000000000028"
				},
				"language": {
					"refId": "00000000-0000-1000-0000-000000000017"
				},
				"active": true
			}
		},
		{
			"address": {
				"addressType": "Mailing",
				"street": "Rua Gavião Peixoto",
				"outdoorNumber": "313",
				"interiorNumber": "",
				"neighborhood": "Icaraí",
				"city": "RIO DE JANEIRO",
				"postalCode": "24230092",
				"county": {
					"refId": "00000000-0000-1000-0000-000000020226",
					"countyCode": "BE402DF"
				},
				"contact": "Alfredo Pai",
				"phone": "",
				"phone2": "12345678901",
				"position": "Contacto Principal",
				"officeHours": "",
				"email": "test@test.com",
				"timeZone": {
					"refId": "00000000-0000-1000-0000-000000000028"
				},
				"language": {
					"refId": "00000000-0000-1000-0000-000000000017"
				},
				"active": true
			}
		}
	],
  	"invoiceData": {
    	"name": "Alfredo",
    	"lastName": "Bernal",
    	"document": "07319150972",
    	"isLegalPerson": false  
  	},
	"transaction": {
		"transactions": [
		{
			"orderId": 3511,
			"transactionId": 20027340,
			"establishmentCode": 1627652346504,
			"paymentMethodCode": 190,
			"value": 198055,
			"valueDiscount": 0,
			"installments": 2,
			"status": 1,
			"authorization": "263461",
			"operatorTransactionCode": "00",
			"operatorApprovalDate": "2023-07-19 11:26:35",
			"receipt": "10462307190818157291",
			"nsu": "11409373",
			"message": "Sucesso.",
			"card": {
				"cardHolder": "Alfredo Bernal",
				"cardNumber": "123456*******7890",
				"document": "07319150972"
			},
			"paymentUrl": "https://api.bempaggo.io/proxy/yapay/checkout/api/v3/transacao/1627652346504/20027340",
			"paymentValue": 198055,
			"interest": 0
		},
		{
			"orderId": 3511,
			"transactionId": 2002734020027341,
    			"establishmentCode": 1627652346504,
    			"paymentMethodCode": 190,
    			"value": 198055,
    			"valueDiscount": 0,
    			"installments": 2,
    			"status": 1,
    			"authorization": "263461263462",
    			"operatorTransactionCode": "00",
    			"operatorApprovalDate": "2023-07-19 11:26:35",
    			"receipt": "1046230719081815729110462307190818157292",
    			"nsu": "1140937311409374",
    			"message": "Sucesso.",
    			"card": {
      				"cardHolder": "Alfredo Bernal",
      				"cardNumber": "123456*******7890",
      				"document": "07319150972"
    			},
    			"paymentUrl": "https://api.bempaggo.io/proxy/yapay/checkout/api/v3/transacao/1627652346504/20027340",
			"paymentValue": 198055,
			"interest": 0
		}
	],
	"mixedBundling": false,
    "splitPayment": false
}




...