Settings API

Crea un registro de setting.

Crear un registro de setting

POST /internal/v1/merchants/settings

Parameters

Name Description
name Nombre de la empresa
reference Referencia
file Form-Data File

Request

Headers

Content-Type: application/json
Authorization: <integration-token>
Host: example.org
Cookie: 

Route

POST /internal/v1/merchants/settings

Body

{"name":"test","reference":"reference","file":{"original_filename":"test.jpg","tempfile":"#\u003cFile:0x00007fae68689ed0\u003e","content_type":"text/plain"}}

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/json; charset=utf-8
ETag: W/"5d04149ff580ddb9fe8c961f7ee8d8ab"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 3ea46578-055b-4ea2-b7d7-931177a77961
X-Runtime: 0.060244
Vary: Origin
Content-Length: 480

Status

200 OK

Body

{
  "data": {
    "name": "test",
    "reference": "reference",
    "logo": "https://cash-kriptonmarket-development.s3.amazonaws.com/settings/7777/business_test_xxxxyyyyy.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIA3UB26ZDAFLCLKUO3%2F20221005%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221005T155551Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=8fc9270f71a7f96e0d70fce4afb6e51634ae3069c55829c9c07948b24109a783",
    "email": "Mail"
  },
  "state": "checking"
}