Api SMS Vmas
Api para envío de SMS de Vendemás
Ruta con whitelist
QA: https://api-sms.qa.vmas.com.pe
PRD: https://api-sms.vmas.com.pe
Ruta Pública
QA: https://api-sms-public.qa.vmas.com.pe
PRD: https://api-sms-public.vmas.com.pe
POST
/venta/enviar
POST
/venta/enviarRYS
POST
/v1/venta/enviarConduent
POST
/v1/corresponsalia/enviar
POST
/venta/enviar
Envío de SMS de Venta con tarjeta
Request body
Object
codeAction
string
Example:
01
idTrx
string
Example:
999222999222999
amount
string
Example:
175.6
telephoneNumber
string
Example:
987654321
nameCommerce
string
Example:
XYZabc Consulting 222
param1
string
Example:
Valor en 1er param
param2
string
Example:
0
param3
string
Example:
Valor en 3er param
Responses
200
OK
Body
Object
state
string
Example:
2000
seqSms
string
Example:
0
idSms
string
Example:
313582368
desState
string
Example:
Enviado
POST
/venta/enviarRYS
Request body
Object
nombreProducto
string
Example:
prod test
monto
string
Example:
10
id
string
Example:
20032018403412456789
codigo
string
Example:
123456
numeroTelefono
string
Example:
987654321
tipo
string
Example:
1
Responses
200
OK
Body
Object
state
string
Example:
2000
seqSms
string
Example:
0
idSms
string
Example:
313582506
descState
string
Example:
Enviado
POST
/v1/venta/enviarConduent
Request body
Object
nombreComercio
string
Example:
COCQUITO
monto
string
Example:
35
precioTarjeta
string
Example:
4.5
idVenta
string
Example:
20032018403412456789
claimId
string
Example:
123123
numero
string
Example:
987654321
tipo
string
Example:
A
Responses
200
OK
Body
Object
state
string
Example:
2000
seqSms
string
Example:
0
idSms
string
Example:
313582684
descState
string
Example:
Enviado
POST
/v1/corresponsalia/enviar
Request body
Object
telephoneNumber
string
Example:
987654321
nameCommerce
string
Example:
XYZabc Consulting 222
nameTrx
string
Example:
Deposito
account
string
Example:
32134214231414412
amount
string
Example:
S/ 172.6
idTrx
string
Example:
999222999222999
Responses
200
OK
Body
Object
state
string
Example:
2000
seqSms
string
Example:
0
idSms
string
Example:
313582901
desState
string
Example:
Enviado
Authorization
string
required
Applied to all operations
Header de autenticación
Si se accede desde chip, usar el basic sin encriptar
Si se accede desde wifi, el basic se debe desencriptar con PKCS7 antes de trabajarlo como un basic auth cualquiera
Examples:
Basic dXNyX3ZtYXM6MjM0M2RmczM0MTI=Basic D68483BA803ECFDF2C854FD399B4A54655571C1B4BB2797C556F08C117E7D5D4
iv
string
optional
Applied to all operations
Vector de inicialización, lo debe dar el encargado de los pos
Example:
76931FAC9DAB2B36C248B87D6AE33F9A