Body
Required
-
cuc
string Required -
customerId
string Required -
partnerId
string Required -
cpf
string Required -
items
array[object] Required -
productType
string Required
POST
/orders/rescue/funds
curl \
-X POST https://open-api.hml.soupi.com.br/orders/rescue/funds \
-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}],"productType":"string"}'
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
}
],
"productType": "string"
}
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
}
],
"productType": "string"
}
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": {}
}