Rescue fixed-income order

POST /orders/rescue/fixed-income

Body Required

  • cuc string Required
  • customerId string Required
  • partnerId string Required
  • cpf string Required
  • items array[object] Required
    Hide items attributes Show items attributes array[object]
    • id string Required
    • price number Required
    • type string Required
    • type_rescue string Required
    • externalId string Required
    • investmentId number Required

Responses

  • 200
    Hide response attributes Show response attributes object
    • status string Required
    • message string Required
  • 400
    Hide response attributes Show response attributes object
    • message object Required
    • data object Required
  • 401
    Hide response attributes Show response attributes object
    • message object Required
    • data object Required
POST /orders/rescue/fixed-income
curl \
 -X POST https://open-api.hml.soupi.com.br/orders/rescue/fixed-income \
 -H "Authorization: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"cuc":"string","customerId":"string","partnerId":"string","cpf":"string","items":[{"id":"string","price":42.0,"type":"string","type_rescue":"string","externalId":"string","investmentId":42.0}]}'
Request example
{
  "cuc": "string",
  "customerId": "string",
  "partnerId": "string",
  "cpf": "string",
  "items": [
    {
      "id": "string",
      "price": 42.0,
      "type": "string",
      "type_rescue": "string",
      "externalId": "string",
      "investmentId": 42.0
    }
  ]
}
Request examples
{
  "cuc": "string",
  "customerId": "string",
  "partnerId": "string",
  "cpf": "string",
  "items": [
    {
      "id": "string",
      "price": 42.0,
      "type": "string",
      "type_rescue": "string",
      "externalId": "string",
      "investmentId": 42.0
    }
  ]
}
Response examples (200)
{
  "status": "string",
  "message": "string"
}
Response examples (200)
{
  "status": "string",
  "message": "string"
}
Response examples (400)
{
  "message": {},
  "data": {}
}
Response examples (400)
{
  "message": {},
  "data": {}
}
Response examples (401)
{
  "message": {},
  "data": {}
}
Response examples (401)
{
  "message": {},
  "data": {}
}