cadastrar
POST
http://apidatain-prod.f1ws.com.br/payment_conditions
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://apidatain-prod.f1ws.com.br/payment_conditions' \
--header 'Content-Type: text/plain' \
--data-raw '{
"data": [
{
"code": "1",
"name": "Boleto Prazo",
"type": "postbilledbankbill",
"installments_number": "3",
"order_completion_text": "",
"status": 1,
"installments": [
{
"code": "11",
"installment_number": "1",
"display": "",
"type": "",
"percent": "0",
"minimum_value": "0",
"post_payment": "1",
"average_period_payment": "1",
"channel": "",
"initial_status": "WAITINGPAYMENT",
"product_selector_id": "CODIGO_SELETOR",
"restrict_by_segment": 1,
"restrict_by_product": 0,
"segments": "SEG1,SEG2,SEG3"
},
{
"code": "12",
"installment_number": "2",
"display": "",
"type": "interest",
"percent": "2",
"minimum_value": "0",
"post_payment": "1",
"average_period_payment": "2",
"channel": "FRANCHISES",
"initial_status": ""
},
{
"code": "13",
"installment_number": "3",
"display": "",
"type": "discount",
"percent": "5",
"minimum_value": "0",
"post_payment": "1",
"average_period_payment": "3",
"channel": "",
"initial_status": "",
"restrict_by_segment": 0,
"restrict_by_product": 1,
"segments": "SEG2"
}
]
},
{
"code": "2",
"name": "Transferência",
"type": "transfer",
"installments_number": "1",
"order_completion_text": "Texto com caracteres hmtl codificados",
"installments": [
{
"code": "21",
"installment_number": "1",
"display": "",
"type": "",
"percent": "0",
"minimum_value": "0",
"post_payment": "1",
"average_period_payment": "1",
"channel": "",
"initial_status": "WAITINGPAYMENT",
"restrict_by_segment": 1,
"restrict_by_product": 1,
"segments": "SEG1,SEG2,SEG3,SEG4"
}
]
}
]
}'
Response Response Example
{}
Requisição
Parâmetros Bodytext/plain
Respostas
Modificado em 2025-06-23 20:17:41