πŸ”ŽRetrieve payout

The Moneroo platform's API offers an endpoint that allows you to fetch the detailed information of a specific payout transaction based on its unique transaction ID.

This guide will walk you through the process of retrieving a payout transaction using Moneroo's API.

Request

GET /v1/payouts/{payoutId} HTTP/1.1
Host: https://api.moneroo.io
Authorization: Bearer YOUR_SECRET_KEY
Content-Type: application/json
Accept: application/json

Parameters

  • Endpoint: /v1/payouts/{payoutId}

  • Method: GET

Name
Type
Required
Description

payoutId

String

Yes

The unique ID of the payout 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:

{
  "success": true,
  "message": "Payout transaction fetched successfully",
  "data": {
    // Details of the payout transaction
  }
}

Successful Response:

Upon successful retrieval, the endpoint returns a HTTP status code of 200, and the details of the payout transaction in the response body.

Error Responses:

If there's an issue with your request, the API will return an error response. The type of error response depends on the nature of the issue. Check out our response format page for more information.

Security Considerations

This endpoint requires an API key for authentication. Include the bearer token in the Authorization header of your request. Ensure the token is kept secure and not shared or exposed inappropriately.

Request example

Curl

PHP

Python

Go

JavaScript (Node.js)

Please replace 'payoutId' with the actual payout transaction Id and 'your_token' with your valid authorization token in the code snippets above.

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?