---
agentTools:
  projectIndex: https://virtualpos.readme.io/llms.txt
---

# Envio de una solicitud de pago por Email, Whatsapp o SMS

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "VirtualPOS",
    "version": "3.0"
  },
  "servers": [
    {
      "url": "https://api.virtualpos.cl"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/v3/payment/{uuid}/send": {
      "post": {
        "summary": "Envio de una solicitud de pago por Email, Whatsapp o SMS",
        "description": "",
        "operationId": "envio-de-payment-por-email-whatsapp-sms",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "API KEY del comercio",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Signature",
            "in": "header",
            "description": "Firma del mensaje",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "channel",
                  "receiver"
                ],
                "properties": {
                  "channel": {
                    "type": "string",
                    "description": "Canal de envío de la solicitud de pago (EMAIL, SMS o WHATSAPP) habilitado al comercio.",
                    "default": "EMAIL",
                    "enum": [
                      "EMAIL",
                      "WHATSAPP",
                      "SMS"
                    ]
                  },
                  "receiver": {
                    "type": "string",
                    "description": "Destinatario, este puede ser un correo electrónico válido o un numero de teléfono (12 caracteres incluido +56)"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"OK\",\n  \"code\": 200,\n  \"send_status\": \"enviado\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "OK"
                    },
                    "code": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "send_status": {
                      "type": "string",
                      "example": "enviado"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"NOK\",\n  \"code\": 400,\n  \"error\": {\n    \"error_code\": \"E-###\",\n    \"message\": \"detalle del error\",\n    \"doc_url\": \"https://virtualpos.readme.io/reference/objeto-error\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "NOK"
                    },
                    "code": {
                      "type": "integer",
                      "example": 400,
                      "default": 0
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "error_code": {
                          "type": "string",
                          "example": "E-###"
                        },
                        "message": {
                          "type": "string",
                          "example": "detalle del error"
                        },
                        "doc_url": {
                          "type": "string",
                          "example": "https://virtualpos.readme.io/reference/objeto-error"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "63d857da7710f60012144a5b:6492098512cfda004b8a2a61"
}
```