Versions Compared

Key

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

Pago aplicado

Descripción
MétodoPOST
URL
/apply

Status
subtletrue
colourBlue
titleEJEMPLO

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"
				},
				"
orderConsolidatorId
collectionOrderId": {
					"
type
description": "
string" }
Identificador externo del pago por tarjeta", 
		
},
			"
required
type": 
[
"string"
				
"orderId"
},
				"
orderConsolidatorId
consolidatorOrderId": {
			
]
		
},
"
paymentDate
description":
{
 "Identificador externo del agrupador, unificador de empresas",
					"type": "string"
				},
				"
parentGuardian
consolidatorValue": {
"type

                    "description": "
object", "properties": { "refId": { "type": "string" }, "document": {
Valor total de la compra por cada una de las empresas",
                    "type": number,
					"
type
exclusiveMinimum": 
"string" } }, "required": [ "refId", "document" ] }, "paymentMethod": { "type": "string" }, "conciliationAccount": { "type": "string" }, "price": { "type": "number" }, "originalPrice": { "type": "number" }, "discountList": { "type": "array", "items": [
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": {
					"
type
description": "
object", "properties": {
Es la cantidad de pedidos que conforman la compra",
                    "type": number,
					"
porcentage
exclusiveMinimum": 
{
0
					
"
type
example": 
"number"
2
				}
			},
			
"
amount
required": 
{
[
				"orderId",
				"
type
consolidatorOrderId"
:
,
				"
number
totalValue",
				
}
"orderCount"
			]
		},
		
"
required
paymentDate": 
[
{
			
"
porcentage
description"
, "amount" ] } ] }, "itemList": {
: "Fecha en la que se realiza el pago",
			"type": "
array
string",
			"
items
format": 
[
"date-time"
		},
		"parentGuardian": {
			
"type": "object",
			
"properties": {
				
"
articleRefId
refId": {
					
"
type
description": "
string"
Id en BDC de la persona que está realizando el pago",
					
}
"type": "string",
					"
student
format": 
{
"uuid",
					
"
type
maxLength": 
"object"
36,
					
"
properties
minLength": 
{
36
				},
				"
refId
document": {
					"description": "Documento de identificación de la persona que está realizando el pago (CPF)",
					"type": "string"
				}
			
},
			
"
personRefId
required": 
{
[
				"refId",
				
"
type
document"
:

"string"
			
]
		
},
		
}, "required": [ "refId", "personRefId" ] }, "totalItem": { "type": "integer" },
"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
		
},
		
"
discountList
discounts": { 
			
"
type
description": "
array", "items": [ {
Descuentos aplicados en la compra", 
			"type": "object",
			
"properties": { 
				
"porcentage
"discountOne": {
					
"description": "Concentra el valor acumulado de los descuentos que no sean de tipo PARC",
					"type": "
number
object", 
					"properties": { 
					
},
	"amount": { 
							"
reason
description":
{
 "Es el valor acumulado de los descuentos que no sean de tipo PARC",
							"type": "
string
number", 
							"minimum": 0 
						}
,
 
					}, 
					"
amount
required": [ 
{

						"
type
amount"
:
 
"number"

					
}
]
				
},
				"discountTwo": {
					"
required
description":
[
 "Concentra el valor del descuento de tipo PARC",
					
"porcentage
"type": "object", 

					"
reason",
properties": { 
						
"amount"
]
: { 
							
}
"description": "Es el valor correspondiente al descuento de tipo PARC",
							
] },
"type": "number", 
							"
porcentageTaxes
minimum": 
{
0 
						
"type": "integer"
} 
					
}, 
					"
taxes
required": [ 
{

						
"type": "integer
"amount"
					
},
]
				
"salesType": {
} 
			
"type": "string"
] 
		
},
		
"
salesChannel
taxes": {
			
"
type
description": "
string" }, "installments
Valor total de los impuestos aplicados, correspondiente al porcentaje total de impuestos",
			"type": "number",
			"minimum": 0
		},
		"taxRate": { 
			
"description": "Porcentaje total de impuestos aplicados",
			"type": "
integer
number",
			"minimum": 0
		
},	
		
"
componentList
itemList": {
			"description": "Lista de paquetes vendidos",
			
"type": "array",
			
"
items
uniqueItems": 
[
true,
			"minItems": 1,
			"items": [
				{
					
"type": "object",
					
"properties": {
						"articleRefId": {
							"description": "Id en BDC del artículo/paquete",
							"type": "
integer
string",
							
},
"format": "uuid",
							"
totalItem
maxLength": 
{
36,
							
"
type
minLength": 
"integer"
36
						
},
						
"
price
student": {
							
"type": "
integer
object",
							
},
"properties": {
								
"
taxes
refId": {
									"
type
description": "
integer"
Id en BDC del alumno",
									
}
"type": "string",
									
"
discountList
format": 
{
"uuid",
									
"
type
maxLength": 
"array"
36,
									
"
items
minLength": 
[
36
								},
					
{
			
"personRefId": {
									"
type
description": "
object
Id en BDC de la persona asociada al alumno",
									
"properties": {
"type": "string",
									"
porcentage
format": 
{
"uuid",
									"maxLength": 36,
									"
type
minLength": 
"integer"
36
								}
							},
							
"reason
"required": 
{
[
								"refId",
								"
type": "string
personRefId"
							
]
						},
						"
amount
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",
							"
required
exclusiveMinimum": 
[
0
						
},
						"
porcentage
originalPrice"
,
: {
							
"reason
"description": "Precio inicial del artículo/paquete, antes de markup, descuentos, impuestos y cargos",
							
"amount"
"type": "number",
							
] } ] }
"exclusiveMinimum": 0
						
},
						"
required
discountList": 
[
{ 
							
"
articleRefId
description"
, "totalItem",
: "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", 
							
"price
"type": "array", 
							
"
taxes
uniqueItems": true, 
							
"
discountList
minItems": 1,
							
]
"maxItems": 3, 
							
}
"items": [ 
								
]
{ 
							
}
		"type": "object", 
				
},
					
"
required
properties": 
[
{ 
										"
articleRefId",
rate": { 
											
"student
"description": "Indica el porcentaje del descuento",
							
"totalItem
				"type": "number", 
							
"price",
				"exclusiveMinimum": 0 
			
"originalPrice",
							
"discountList", "porcentageTaxes", "taxes", "salesType", "salesChannel", "installments", "componentList" ] } } ] }, "freight": { "type": "object", "properties": { "transportName": { "type": "string" }, "transportPhone": { "type": "string" }, "transportCode": { "type": "string" }, "orderNote": { "type": "string" }, "orderFreightValue": { "type": "integer" }, "orderDeliveryForecast": { "type": "string" }, "orderEstablishment": { "type": "string" } }, "required": [ "transportName", "transportPhone", "transportCode", "orderNote", "orderFreightValue", "orderDeliveryForecast", "orderEstablishment" ] }, "addressList": { "type": "array", "items": [ { "type": "object", "properties": { "address": { "type": "object", "properties": { "addressType": { "type": "string" }, "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" }, "countyCode": { "type": "string" } }, "required": [ "refId", "countyCode" ] }, "contact": { "type": "string" }, "phone": { "type": "string" }, "phone2": { "type": "string" }, "position
}, 
										"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"
      		]
    	},
		"transactions": {
			"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": "array",
			"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": {
							"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.3980,
			"discountList": [
				{
					"rate": 23.7097,
					"reason": "COM",
					"amount": 522.4191
				},
				{
					"rate": 36.7300,
					"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": {
						
"
type
familyCode": "
string
idiomas",
						
}
"code": 1,
						
"
officeHours
group": 
{
2,
						"digitalCode": "22006077",
						"
type
isExclusive": 
"string"
false
					}
				},
				{
					"
email
articleRefId": 
{
"00000000-0000-1000-0000-000000094344",
					"
type
totalItem": 
"string"
1,
					
}
"price": 138.6734,
					"
timeZone
originalPrice": 
{
212,
					
"
type
priceWithMarkup": 
"object"
0.0000,
					
"
properties
markupRate": 
{
20.0000,
					"taxes": 0.0000,
					"
refId
taxRate": 
{
0.0000,
					
"
type
discountList": 
"string"
[
						{
				
}
			"rate": 45.4900,
							
}
"reason": "VEFR",
							
"
required
amount": 
[
115.7266
						}
					
"refId"
],
					"salesTerms": {
				
]
		"familyCode": "idiomas",
						
}
"code": 1,
						"
language
group": 
{
2,
						
"
type
digitalCode": "
object
22006077",
						
"
properties
isExclusive": 
{
false
					}
				
"refId": {
},
				
{
					"
type
articleRefId": "
string"
00000000-0000-1000-0000-000000094291",
					"totalItem": 1,
					
}
"price": 138.6734,
					"originalPrice": 212,
					
}
"markupRate": 20.0000,
					"
required
priceWithMarkup": 
[
0.0000,
					"taxes": 0.0000,
					"
refId"
taxRate": 0.0000,
					
]
"discountList": [
						
},
{
							"
active
rate": 
{
45.4900,
							"
type
reason": "
boolean" } }
VEFR",
							"
required
amount": 
[
115.7266
						}
		
"addressType",
			],
					"
street
salesTerms"
,
: {
						
"outdoorNumber
"familyCode": "idiomas",
						
"
interiorNumber
code": 1,
						
"
neighborhood
group": 2,
						
"city
"digitalCode": "22006077",
						
"
postalCode
isExclusive"
,
: false
					}
			
"county"
	},
				{
				
"contact
	"articleRefId": "00000000-0000-1000-0000-000000094604",
					
"
phone
totalItem": 1,
					"
phone2
price": 115.1251,
					
"
position
originalPrice": 176,
					
"
officeHours
markupRate": 20,
					
"email"
"priceWithMarkup": 0.0000,
					
"
timeZone
taxes": 0,
					
"
language
taxRate": 0,
					
"
active
discountList": [
						{
	
]
						
}
"rate": 45.49,
					
},
		
"
required
reason": 
[
"VEFR",
							"
address
amount": 96.0749
					
]
	}
			
}
		
],
			
},
		"
transaction
salesTerms": {
						"
type
familyCode": "
object
idiomas",
		
} },
				"
required
code": 
[
1,
						"
external
group": 2,
		
"paymentDate",
				"
parentGuardian
digitalCode"
,
: 
"
paymentMethod
22006077",
						"
conciliationAccount
isExclusive"
,
: false
					
"price",
}
		
"originalPrice",
		}
		
"discountList",
	]
		
"itemList"
}
	],
	
"freight"
,
: {
		"
addressList
transportName"
,
: 
"
transaction
",
	
] } Code Block
languagejs
titleEjemplo - Pago por paquete
collapsetrue
{
	"
external
transportPhone": 
{
"",
		"
orderId
transportCode": "
9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5
",
		"
orderConsolidatorId
orderNote": 
"9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5" }, "paymentDate
"",
		"orderFreightValue": 19.61,
		"orderDeliveryForecast": "2023-06-07T16:21:38+00:00",
		"
parentGuardian
orderEstablishment": 
{
""
	},
	"
refId
addressList": 
"00000000-0000-1000-0000-000012282310",
[
		{
			"
document
address": 
"03915826588"
{
		
},
		"
paymentMethod
addressType": "
TCV
Physical",
				"
conciliationAccount
street": "
YAPY
Rua Gavião Peixoto",
				"
price
outdoorNumber": 
1118.5200, "originalPrice": 4406.8000
"313",
	
"discountList": [
		
{
	
"
porcentage
interiorNumber": 
74.6183
"",
				"
amount
neighborhood": 
3288.2800
"Icaraí",
		
}
	
],
	"
itemList
city":
[
 "RIO DE JANEIRO",
		
{
		
"
articleRefId
postalCode": "
00000000-0000-1000-0000-000000118094
24230092",
				"
student
county": {
					"refId": "00000000-0000-1000-0000-
000020096053
000000020226",
					"
personRefId
countyCode": "
00000000-0000-1000-0000-000012271661
BE402DF"
				},
				"
totalItem
contact": 
1, "price": 559.2617
"Alfredo Pai",
			
"originalPrice": 2203.398,
	
"
discountList
phone":
[
 
{ "porcentage": 23.7097
"",
				"
reason
phone2": "
COM
12345678901",
				"
amount
position": 
522.4191 }
"Contacto Principal",
				
{
"officeHours": "",
				
"
porcentage
email": 
66
"test@test.
73
com",
				
"
reason
timeZone": 
"FFS",
{
					"
amount
refId": 
1121.7172
"00000000-0000-1000-0000-000000000028"
				},
	
],
			"
porcentageTaxes
language": 
0,
{
					"
taxes
refId": 
0,
"00000000-0000-1000-0000-000000000017"
				
"salesType": "VENTA"
},
				"
salesChannel
active": 
"ALU",
true
			
"installments": 1
}
		},
		{
			"
articleRefId
address": 
"00000000-0000-1000-0000-000000118095",
{
				"
student
addressType": 
{
"Mailing",
				"
refId
street": "
00000000-0000-1000-0000-000020096149
Rua Gavião Peixoto",
				"
personRefId
outdoorNumber": "
00000000-0000-1000-0000-000012271845" },
313",
				"
totalItem
interiorNumber": 
1
"",
				"
price
neighborhood": 
559.2617
"Icaraí",
				"
originalPrice
city": 
2203.398
"RIO DE JANEIRO",
				"
discountList
postalCode": 
[
"24230092",
				
{ "porcentage
"county": 
23.7097,
{
					"
reason
refId": "
COM
00000000-0000-1000-0000-000000020226",
					"
amount
countyCode": 
522.4191
"BE402DF"
				},
				
{ "porcentage
"contact":
66.73
 "Alfredo Pai",
				
"
reason
phone": "
HP
",
				"
amount
phone2": 
1121.7172 } ],
"12345678901",
				"
porcentageTaxes
position": "Contacto 
0
Principal",
				"
taxes
officeHours": 
0
"",
				"
salesType
email": "
VENTA
test@test.com",
				"
salesChannel
timeZone": 
"ALU",
{
					"
installments
refId": 
1
"00000000-0000-1000-0000-000000000028"
				},
	
],
			"
freight
language": {
					"
transportName
refId": "00000000-0000-1000-0000-000000000017"
				},
				"
transportPhone
active": 
"",
true
		
"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 } } ], "transaction": {} } Code BlocklanguagejstitleEjemplo - Pago fraccionadocollapsetrue
	}
		}
	],
  	"invoiceData": {
    	"name": "Alfredo",
    	"lastName": "Bernal",
    	"document": "07319150972",
    	"isLegalPerson": false  
  	},
	"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": 20027341,
			"establishmentCode": 1627652346504,
			"paymentMethodCode": 190,
			"value": 198055,
			"valueDiscount": 0,
			"installments": 2,
			"status": 1,
			"authorization": "263462",
			"operatorTransactionCode": "00",
			"operatorApprovalDate": "2023-07-19 11:26:35",
			"receipt": "10462307190818157292",
			"nsu": "11409374",
			"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
}