Pagos

Endpoint que permite registrar un pago en la aplicación.

post/payments

Request

  • Base URL
    https://api.alegra.com/api/v1
  • URL
    https://api.alegra.com/api/v1/payments
  • Auth
    HTTP basic

Request body

OR
OR
OR

Example request

{
  "date": "2022-10-30"
}

Response

Retorna un objeto con la información del pago

Changes

    • breaking

      removed subschema #1: Pago subschema #2 subschema #3 from the request body oneOf list

    • breaking

      the request's body type changed from object to no type

    • breaking

      removed the success response with the status

    • info

      added to the request body oneOf list

    • info

      added the non-success response with the status

    • info

      added the success response with the status