Retrieve payment
The Moneroo platform's API offers an endpoint that allows you to fetch the detailed information of a specific payment transaction based on its unique transaction ID
.
This guide will walk you through the process of retrieving a payment transaction using Moneroo's API.
Request
Parameters
Endpoint:
/v1/payments/{paymentId}
Method:
GET
paymentId
String
Yes
The unique ID of the payment transaction to retrieve.
Response Structure
The response from this API endpoint will be in the standard Moneroo API response format.
You'll get a response that looks like this:
Successful Response:
Upon successful retrieval, the endpoint returns a HTTP status code 200, and the payment transaction details in the response body.
Error Responses:
Security considerations
This endpoint requires a bearer token for authentication. The bearer token must be included in the Authorization
header of the request. Ensure the token is kept secure and not shared or exposed inappropriately.
Request examples
Response example
You'll get a response that looks like this:
The data
field will contain the transaction details. The specific structure and content of this field depend on the details of the individual transaction.
Last updated
Was this helpful?