Payload |
Code Block |
---|
language | js |
---|
title | JSON Schema |
---|
collapse | true |
---|
| {
"$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"
}
},
"required": [
"orderId",
"orderConsolidatorId"
]
},
"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
},
"discountList": {
"description": "Lista de descuentos aplicados al total de la compra, si hay más de 2 descuentos aplicados estos se acumulan en el segundo/último descuento",
"type": "array",
"uniqueItems": true,
"minItems": 1,
"maxItems": 2,
"items": [
{
"type": "object",
"properties": {
"rate": {
"description": "Indica el porcentaje del descuento",
"type": "number",
"exclusiveMinimum": 0
},
"amount": {
"description": "Indica el valor correspondiente al porcentaje del descuento",
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"rate",
"amount"
]
}
]
},
"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 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",
"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/paquete, antes de markup, descuentos, impuestos y cargos",
"type": "number",
"exclusiveMinimum": 0
},
"markupRate": {
"description": "",
"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, al ser venta fraccionada solo se acepta el valor VEFR",
"type": "string",
"maxLength": 4,
"minLength": 4
},
"amount": {
"description": "Indica el valor correspondiente al porcentaje del descuento",
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"rate",
"reason",
"amount"
]
}
]
}
},
"required": [
"articleRefId",
"totalItem",
"price",
"originalPrice",
"markupRate",
"taxes",
"taxRate",
"discountList"
]
}
]
}
},
"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"
]
}
]
},
"transaction": {
"type": "arrayobject",
"itemsproperties": {
"installments "transactionId": {
"type": "numberinteger",
"exclusiveMinimum },
"establishmentCode": 0{
}
}
}
}, "requiredtype": [ "externalinteger",
"paymentDate" },
"parentGuardian", "paymentMethodCode": {
"paymentMethod",
"price",
"originalPrice" "type": "integer"
},
"itemList",
"freight",
"addressList",
"transaction"
]
} | Code Block |
---|
language | js |
---|
title | Ejemplo - Pago por paquete |
---|
collapse | true |
---|
| {
"external "value": {
"type": "integer"
},
"valueDiscount": {
"orderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5",
"collectionOrderId "type": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5integer"
"consolidatorOrderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5"
},
"paymentDate": "2023-06-07T16:21:38+00:00",
"parentGuardian "installments": {
"refId": "00000000-0000-1000-0000-000012282310", "documenttype": "03915826588integer"
},
"paymentMethod": "TCV", "status": {
"conciliationAccounttype": "YAPYinteger",
"price": 1118.5200,
"originalPrice": 4406.8000,
"discountList": [
{
"rate": 74.6183,
"amount": 3288.2800
}
],
"itemList": [
{
"articleRefId": "00000000-0000-1000-0000-000000118094",
"student },
"authorization": {
"type": "string"
},
"operatorTransactionCode": {
"refIdtype": "00000000-0000-1000-0000-000020096053",string"
"personRefId": "00000000-0000-1000-0000-000012271661"
},
"totalItem": 1,
"price": 559.2617,
"originalPrice": 2203.398,
"discountList": [
{
"rate": 23.7097,
"reason": "COM",
"amount": 522.4191
},
{
"rate": 66.73,
"reason": "FFS",
"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": {
},
"operatorApprovalDate": {
"type": "string"
},
"receipt": {
"type": "string"
},
"nsu": {
"type": "string"
},
"message": {
"type": "string"
},
"cards": {
"type": "array",
"items": [
{
"type": "string"
}
]
},
"paymentUrl": {
"type": "string"
}
},
"required": [
"transactionId",
"establishmentCode",
"paymentMethodCode",
"value",
"valueDiscount",
"installments",
"status",
"authorization",
"operatorTransactionCode",
"operatorApprovalDate",
"receipt",
"nsu",
"message",
"cards",
"paymentUrl"
]
}
},
"required": [
"external",
"paymentDate",
"parentGuardian",
"paymentMethod",
"price",
"originalPrice",
"itemList",
"freight",
"addressList",
"transaction"
]
} |
Code Block |
---|
language | js |
---|
title | Ejemplo - Pago por paquete |
---|
collapse | true |
---|
| {
"external": {
"orderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5",
"collectionOrderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5",
"consolidatorOrderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5"
},
"paymentDate": "2023-06-07T16:21:38+00:00",
"parentGuardian": {
"refId": "00000000-0000-1000-0000-000000020226000012282310",
"countyCodedocument": "BE402DF03915826588"
},
"contactpaymentMethod": "Alfredo PaiTCV",
"phoneconciliationAccount": "YAPY",
"phone2price": "12345678901"1118.5200,
"originalPrice": 4406.8000,
"positiondiscountList": "Contacto Principal",
[
{
"officeHoursrate": ""74.6183,
"emailamount": "test@test.com",3288.2800
}
],
"timeZoneitemList": {[
{
"refIdarticleRefId": "00000000-0000-1000-0000-000000000028"
}000000118094",
"languagestudent": {
"refId": "00000000-0000-1000-0000-000000000017"
}000020096053",
"activepersonRefId": true"00000000-0000-1000-0000-000012271661"
}
},
{
"addresstotalItem": {1,
"addressTypeprice": "Mailing"559.2617,
"streetoriginalPrice": "Rua Gavião Peixoto"2203.398,
"outdoorNumberdiscountList": "313",
[
{
"interiorNumberrate": ""23.7097,
"neighborhoodreason": "IcaraíCOM",
"cityamount": "RIO DE JANEIRO"522.4191
},
"postalCode": "24230092",
{
"countyrate": {66.73,
"refIdreason": "00000000-0000-1000-0000-000000020226FFS",
"countyCodeamount": "BE402DF"1121.7172
}
],
"contacttaxes": "Alfredo Pai"0.0000,
"phonetaxRate": ""0.0000,
"phone2salesType": "12345678901VENTA",
"positionsalesChannel": "Contacto PrincipalALU",
"officeHoursinstallments": ""1
},
{
"emailarticleRefId": "test@test.com00000000-0000-1000-0000-000000118095",
"timeZonestudent": {
"refId": "00000000-0000-1000-0000-000000000028"
}000020096149",
"language": {
"refIdpersonRefId": "00000000-0000-1000-0000-000000000017000012271845"
},
"activetotalItem": true1,
}"price": 559.2617,
}
] "originalPrice": 2203.398,
"transactiondiscountList": [
{}
} | Code Block |
---|
language | js |
---|
title | Ejemplo - Pago fraccionado |
---|
collapse | true |
---|
| {
"external": {
"orderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5
"rate": 23.7097,
"reason": "COM",
"collectionOrderIdamount": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5"
"consolidatorOrderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5"
},
"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": [
{
"articleRefId522.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-000000094355000000020226",
"totalItemcountyCode": 1 "BE402DF"
},
"pricecontact": 143.2523"Alfredo Pai",
"originalPricephone": 219"",
"markupRatephone2": 20.0000"12345678901",
"taxesposition": 0.0000 "Contacto Principal",
"taxRateofficeHours": 0.0000"",
"discountListemail": ["test@test.com",
"timeZone": {
"raterefId": 45.4900,"00000000-0000-1000-0000-000000000028"
},
"reasonlanguage": "VEFR",{
"amountrefId": 119.5477"00000000-0000-1000-0000-000000000017"
},
]
"active": true
}
},
{
"address": {
"articleRefIdaddressType": "00000000-0000-1000-0000-00000094584Mailing",
"totalItemstreet": 1"Rua Gavião Peixoto",
"priceoutdoorNumber": 66.7202"313",
"originalPriceinteriorNumber": 102"",
"markupRateneighborhood": 20.0000"Icaraí",
"taxescity": 0.0000 "RIO DE JANEIRO",
"taxRatepostalCode": 0.0000"24230092",
"discountListcounty": [
{
"raterefId": 45.4900"00000000-0000-1000-0000-000000020226",
"reasoncountyCode": "VEFRBE402DF",
},
"amountcontact": 55.6798
}"Alfredo Pai",
]
},
{
"phone": "",
"articleRefIdphone2": "00000000-0000-1000-0000-00000009429412345678901",
"totalItemposition": "Contacto 1Principal",
"priceofficeHours": 138.6734"",
"originalPriceemail": 212"test@test.com",
"markupRatetimeZone": 20.0000,{
"taxesrefId": 0.0000"00000000-0000-1000-0000-000000000028"
},
"taxRatelanguage": 0.0000,{
"discountListrefId": ["00000000-0000-1000-0000-000000000017"
{
},
"rateactive": 45.4900,true
}
}
],
"reasontransaction": "VEFR",
{
"amounttransactionId": 115.7266
}
]
},
{
"articleRefId": "00000000-0000-1000-0000-000000094344",
"totalItem": 1,
"price": 138.6734,
"originalPrice": 212,
"markupRate": 20.0000,
"taxes": 0.0000,
"taxRate": 0.0000,
"discountList": [
{
"rate": 45.4900,
"reason": "VEFR",
"amount": 115.7266
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.",
"cards": [
"123456*******7890"
],
"paymentUrl": "https://api.bempaggo.io/proxy/yapay/checkout/api/v3/transacao/1627652346504/20027340"
}
} |
Code Block |
---|
language | js |
---|
title | Ejemplo - Pago fraccionado |
---|
collapse | true |
---|
| {
"external": {
"orderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5",
"collectionOrderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5",
"consolidatorOrderId": "9d4d296d-f9c7-4ce8-96c5-9721cdd2c8d5"
},
"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,
"taxes": 0.0000,
"taxRate": 0.0000,
"discountList": [
{
"rate": 45.4900,
"reason": "VEFR",
"amount": 119.5477
}
]
},
{
"articleRefId": "00000000-0000-1000-0000-00000094584",
"totalItem": 1,
"price": 66.7202,
"originalPrice": 102,
"markupRate": 20.0000,
"taxes": 0.0000,
"taxRate": 0.0000,
"discountList": [
{
"rate": 45.4900,
"reason": "VEFR",
"amount": 55.6798
}
]
},
{
"articleRefId": "00000000-0000-1000-0000-000000094294",
"totalItem": 1,
"price": 138.6734,
"originalPrice": 212,
"markupRate": 20.0000,
"taxes": 0.0000,
"taxRate": 0.0000,
"discountList": [
{
"rate": 45.4900,
"reason": "VEFR",
"amount": 115.7266
}
]
},
{
"articleRefId": "00000000-0000-1000-0000-000000094344",
"totalItem": 1,
"price": 138.6734,
"originalPrice": 212,
"markupRate": 20.0000,
"taxes": 0.0000,
"taxRate": 0.0000,
"discountList": [
{
"rate": 45.4900,
"reason": "VEFR",
"amount": 115.7266
}
]
},
{
"articleRefId": "00000000-0000-1000-0000-000000094291",
"totalItem": 1,
"price": 138.6734,
"originalPrice": 212,
"markupRate": 20.0000,
"taxes": 0.0000,
"taxRate": 0.0000,
"discountList": [
{
"rate": 45.4900,
"reason": "VEFR",
"amount": 115.7266
}
]
},
{
"articleRefId": "00000000-0000-1000-0000-000000094291000000094604",
"totalItem": 1,
"price": 138115.67341251,
"originalPrice": 212176,
"markupRate": 20.0000,
"taxes": 0.0000,
"taxRate": 0.0000,
"discountList": [
{
"rate": 45.490049,
"reason": "VEFR",
"amount": 11596.72660749
}
]
}
]
}
],
"freight": {
"articleRefIdtransportName": "00000000-0000-1000-0000-000000094604",
"totalItemtransportPhone": 1"",
"pricetransportCode": 115.1251"",
"originalPriceorderNote": 176"",
"markupRateorderFreightValue": 2019.61,
"taxesorderDeliveryForecast": 0"2023-06-07T16:21:38+00:00",
"taxRateorderEstablishment": 0""
},
"discountListaddressList": [
{
"rate": 45.49,
"address": {
"reasonaddressType": "VEFRPhysical",
"amountstreet": 96.0749
}
]
}
]
}
],
"freight": {
"transportName"Rua Gavião Peixoto",
"outdoorNumber": "313",
"interiorNumber": "",
"transportPhoneneighborhood": "Icaraí",
"transportCodecity": "RIO DE JANEIRO",
"orderNotepostalCode": "24230092",
"orderFreightValuecounty": 19.61,
{
"orderDeliveryForecastrefId": "2023-06-07T16:21:38+00:0000000000-0000-1000-0000-000000020226",
"orderEstablishmentcountyCode": "BE402DF"
},
"addressListcontact": [
{
"Alfredo Pai",
"addressphone": {"",
"addressTypephone2": "Physical12345678901",
"streetposition": "RuaContacto Gavião PeixotoPrincipal",
"outdoorNumberofficeHours": "313",
"interiorNumberemail": "test@test.com",
"neighborhoodtimeZone": "Icaraí",{
"cityrefId": "RIO DE JANEIRO",00000000-0000-1000-0000-000000000028"
"postalCode": "24230092"},
"countylanguage": {
"refId": "00000000-0000-1000-0000-000000020226"000000000017"
},
"countyCodeactive": "BE402DF"true
}
},
{
"contactaddress": "Alfredo Pai", {
"phoneaddressType": "Mailing",
"phone2street": "12345678901Rua Gavião Peixoto",
"positionoutdoorNumber": "Contacto Principal313",
"officeHoursinteriorNumber": "",
"emailneighborhood": "test@test.comIcaraí",
"timeZonecity": { "RIO DE JANEIRO",
"refIdpostalCode": "00000000-0000-1000-0000-000000000028"
}24230092",
"languagecounty": {
"refId": "00000000-0000-1000-0000-000000000017000000020226",
},
"activecountyCode": true"BE402DF"
}
},
{
"addresscontact": {"Alfredo Pai",
"addressTypephone": "Mailing",
"streetphone2": "Rua Gavião Peixoto12345678901",
"outdoorNumberposition": "313Contacto Principal",
"interiorNumberofficeHours": "",
"neighborhoodemail": "Icaraítest@test.com",
"citytimeZone": "RIO DE JANEIRO",
{
"postalCoderefId": "24230092"00000000-0000-1000-0000-000000000028"
},
"countylanguage": {
"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": {000000000017"
},
"active": true
}
}
],
"transaction": {
"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.",
"cards": [
"123456*******7890"
],
"paymentUrl": "https://api.bempaggo.io/proxy/yapay/checkout/api/v3/transacao/1627652346504/20027340"
}
} |
|
---|