api_operations_create_create
POST /api/operations/create/
Esta clase extiende la funcionalidad de la vista genérica "CreateAPIView" para permitir especificar un serializador que enviar en la respuesta. Esto es util en casos en los qu e no quieras que todos los datos que almacena el serializador sea devuelto al usuario.
- application/json
- application/x-www-form-urlencoded
- multipart/form-data
Request Body required
- user_wallet string required
Possible values:
<= 255 characters
- swap_from string required
- swap_to string required
- status object
operation_log object required
Request Body required
- user_wallet string required
Possible values:
<= 255 characters
- swap_from string required
- swap_to string required
- status object
operation_log object required
Request Body required
- user_wallet string required
Possible values:
<= 255 characters
- swap_from string required
- swap_to string required
- status object
operation_log object required
Responses
- 201
- application/json
- Schema
- Example (from schema)
Schema
- opcode Operation Code required
Possible values: Value must match regular expression
^[-a-zA-Z0-9_]+$
- user_wallet string required
Possible values:
<= 255 characters
- swap_from string required
- swap_to string required
- status object
operation_log object required
- kubepay_wallet string required
Where user must send funds
{
"opcode": "string",
"user_wallet": "string",
"swap_from": "string",
"swap_to": "string",
"status": "created",
"operation_log": {},
"kubepay_wallet": "string"
}
Loading...