Getting Payment Details
Using this endpoint will allow you to get the latest details against a payment.
https://api.vendreo.com/v1/payment/{payment}
(Full example: docs)
curl --location --request GET 'https://api.vendreo.com/v1/payment/{payment}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {AUTH_TOKEN}'
Searching many payments
https://api.vendreo.com/v1/payments (Full example: docs)
curl --location --request GET 'https://api.vendreo.com/v1/payments' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {AUTH_TOKEN}' \
--data-raw '{
"payments": [
"c012a5cc-5435-4935-b8f3-b022f2605df8"
]
}'