Consultar un pago
Changed onEndpoint que retorna el pago registrado en la cuenta de Alegra que está identificado con el id que se envía como parámetro.
Request
- Base URLhttps://api.alegra.com/api/v1
- URLhttps://api.alegra.com/api/v1/payments/{id}
- AuthHTTP basic
Path parameters
Id del pago que se desea consultar. Se debe enviar en la URL.
Query parameters
Id de la cuenta de banco por la que se desea filtrar
Filtrar las transacciones conciliadas o no. Por default se devuelven ambas
Para obtener los comentarios del pago se debe enviar el parámetro fields con el valor comments, para obtener el voucherNumber (COL) se debe agregar el valor voucherNumber a fields.
Response
Retorna información de un pago
Changes
- breaking
removed the enum value
balancefrom thequeryrequest parameterfields - breaking
removed the enum value
billTypefrom thequeryrequest parameterfields - breaking
removed the enum value
commentsfrom thequeryrequest parameterfields - breaking
removed the enum value
decimalPrecisionfrom thequeryrequest parameterfields - breaking
removed the enum value
deletablefrom thequeryrequest parameterfields - breaking
removed the enum value
editablefrom thequeryrequest parameterfields - breaking
removed the enum value
journalfrom thequeryrequest parameterfields - breaking
removed the enum value
numberfrom thequeryrequest parameterfields - breaking
removed the enum value
numberTemplatefrom thequeryrequest parameterfields - breaking
removed the enum value
openablefrom thequeryrequest parameterfields - breaking
removed the enum value
pdffrom thequeryrequest parameterfields - breaking
removed the enum value
regimeClientfrom thequeryrequest parameterfields - breaking
removed the enum value
simplefrom thequeryrequest parameterfields - breaking
removed the enum value
totalPayedfrom thequeryrequest parameterfields - breaking
removed the enum value
voidablefrom thequeryrequest parameterfields - info
added the new optional
queryrequest parameteraccount_id - info
added the new optional
queryrequest parameterconciliated - info
for the
pathrequest parameterid, the type was generalized fromintegertostring
- breaking