Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Ir al inicio del anuncio

Acción

POST  /api/v2/  https://a.paypertic.com/auth/realms/entidades/protocol/openid-connect/token


Tipo de mensaje

x-www-form-urlencoded


Parámetros del mensaje


Nombre

Tipo

Formato

Descripción

usernamestring

nombre de usuario

Status
colourRed
titlerequerido


passwordstring

contraseña

Status
colourRed
titleRequerido

grant_type

string password

Tipo de grant usado para la autenticación en el servicio.

Status
colourRed
titleRequerido

client_id

...

string

Identificador del cliente.

Status
colourRed
titleRequerido

client_secretstring

Clave de identificación de autenticación.

Status
colourRed
titleRequerido


Ejemplo

POST /auth/realmsre

Code Block
languagejs
collapsetrue
alms/entidades/protocol/openid-connect/token HTTP/1.1

...


Host: a.paypertic.com

...


Content-Type: application/x-www-form-urlencoded

...


Cache-Control: no-cache

...


Postman-Token: 46944d22-ffe6-449d-a921-b150110569e6

...


username=usuario&password=contrasea&grant_type=password&client_id=16465308-1844-4abe-abe6-f184149ee740&client_secret=a2d03fa3-f6c4-45e5-9792-dc0d8b51a25c


Error posibles

  • 4000  Invalid request.

  • 4001  Invalid payment id.

  • 4002  Invalid payment type.

  • 4003  Invalida payment status

  • 4004  Invalid collector.

  • 4005  Invalid payment method.

  • 4006  Invalid currency.

  • 4007  Invalid url return.

  • 4008  Invalid back url.

  • 4009  Invalid url notification.

  • 4010  Invalid media payment.

  • 4011  Invalid expiration year.

  • 4012  Invalid expiration month.

  • 4013  Invalid identification type.

  • 4014  Invalid identification type.

  • 4015  Invalid due date.

  • 4016  Invalid last due date.

  • 4017  Invalid security code.

  • 4018  Invalid transaction amount.

  • 4019  Invalid action.

  • 4020  Invalid authorization transaction id.

  • 4030  Details of payment can not be null.

  • 4031  External reference can not be null.

  • 4032  Concept id can not be null.

  • 4033  Concept description can not be null.

  • 4034  Amount can not be null.

  • 4035  Installments can not be null.

  • 4036  Card holder can not be null.

  • 4037  Card holder name can not be null.

  • 4038  Card holder identification can not be null.

  • 4039  Identification number can not be null.

  • 4050  Parameter not allowed.

  • 4051  Unrelated collector.

  • 4052  Payment type not updateable.

  • 4053  Rate out of range.

  • 4054  Charge delay out of range.

  • 4055  Installments not allowed.

  • 4056  Payment id not allowed.

  • 4057  Payment number not allowed.

  • 4058  Security code not allowed.

  • 4059  Holder not allowed.

  • 4060  Parameter not found.

  • 4100  Access denied.

  • 5001  Internal 5001  Internal service error.