Saltar al contenido principal

Transfers

GET /wallet/transactions/all

Get all transfers

Petición de ejemplo:

GET /wallet/transactions/all HTTP/1.1
Host: example.com
  • Status Codes:

    • 200 OK

      Transfer created

      Ejemplo de respuesta:

      HTTP/1.1 200 OK
      Content-Type: application/json

      [
      {
      "uuid": "string",
      "coelsaId": "string",
      "type": "DEPOSIT",
      "status": "COMMITING",
      "account": [],
      "counterParty": [],
      "amount": 1.0,
      "currency": "string",
      "concept": "VAR",
      "summary": "string",
      "description": "string",
      "taxes": 1.0,
      "fees": 1.0,
      "createdAt": "2024-10-14T18:48:17.496156"
      }
      ]
    • 400 Bad Request

      Invalid payload

      Ejemplo de respuesta:

      HTTP/1.1 400 Bad Request
      Content-Type: application/json

      {
      "name": "string",
      "message": "string",
      "detail": {
      "items": [
      {
      "path": "string",
      "message": "string",
      "type": "required"
      }
      ]
      }
      }
    • 401 Unauthorized

      Unauthorized

      Ejemplo de respuesta:

      HTTP/1.1 401 Unauthorized
      Content-Type: application/json

      {
      "name": "string",
      "message": "string"
      }

POST /wallet/transactions

Crear nueva transfer

Petición de ejemplo:

POST /wallet/transactions HTTP/1.1
Host: example.com
Content-Type: application/json

{
"accountUUID": "string",
"movementType": "DEPOSIT",
"counterParty": {
"name": "string",
"cValue": "string",
"identifierType": "CBU",
"identifier": "string",
"branchName": "string"
},
"amount": 1.0,
"concept": "VAR",
"summary": "string"
}
  • Status Codes:

    • 201 Created

      Transfer created

      Ejemplo de respuesta:

      HTTP/1.1 201 Created
      Content-Type: application/json

      {
      "uuid": "string",
      "coelsaId": "string",
      "type": "DEPOSIT",
      "status": "COMMITING",
      "account": [],
      "counterParty": [],
      "amount": {
      "value": 1.0,
      "currency": "string"
      },
      "currency": "string",
      "concept": "VAR",
      "summary": "string",
      "description": "string",
      "taxes": 1.0,
      "fees": 1.0,
      "movementType": "DEPOSIT",
      "created": "2024-10-14T18:48:17.496156"
      }
    • 400 Bad Request

      Invalid payload

      Ejemplo de respuesta:

      HTTP/1.1 400 Bad Request
      Content-Type: application/json

      {
      "name": "string",
      "message": "string",
      "detail": {
      "items": [
      {
      "path": "string",
      "message": "string",
      "type": "required"
      }
      ]
      }
      }
    • 401 Unauthorized

      Unauthorized

      Ejemplo de respuesta:

      HTTP/1.1 401 Unauthorized
      Content-Type: application/json

      {
      "name": "string",
      "message": "string"
      }

GET /wallet/transactions/[uuid]

View transaction details

  • Parameters:
    • uuid (string) –

Petición de ejemplo:

GET /wallet/transactions/[uuid] HTTP/1.1
Host: example.com
  • Status Codes:

    • 200 OK

      Transaction details

      Ejemplo de respuesta:

      HTTP/1.1 200 OK
      Content-Type: application/json

      {
      "uuid": "string",
      "coelsaId": "string",
      "type": "DEPOSIT",
      "status": "COMMITING",
      "account": [],
      "counterParty": [],
      "amount": 1.0,
      "currency": "string",
      "concept": "VAR",
      "summary": "string",
      "description": "string",
      "taxes": 1.0,
      "fees": 1.0,
      "createdAt": "2024-10-14T18:48:17.496156"
      }
    • 401 Unauthorized

      Unauthorized

      Ejemplo de respuesta:

      HTTP/1.1 401 Unauthorized
      Content-Type: application/json

      {
      "name": "string",
      "message": "string"
      }
    • 404 Not Found

      Transfer not found

      Ejemplo de respuesta:

      HTTP/1.1 404 Not Found
      Content-Type: application/json

      {
      "name": "string",
      "message": "string",
      "detail": {
      "item": "string"
      }
      }