GET
/
api
/
user-api
/
payment
/
get
/
{payment_id}
Get Payment
curl --request GET \
  --url https://api.sandbox.paywint.com/api/user-api/payment/get/{payment_id} \
  --header 'X-Api-Key: <x-api-key>' \
  --header 'X-Api-Secret: <x-api-secret>'
{
  "success": true,
  "message": "Operation completed.",
  "data": {
    "payment_id": "d4211545-cfc9-4aa0-8fcc-e4c2639e8052",
    "payer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "payer_name": "<string>",
    "payee_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "payee_name": "<string>",
    "amount": 100,
    "currency": "USD",
    "description": "June invoice for services",
    "payment_method": "WALLET",
    "receiving_method": "WALLET",
    "created_at": "2025-06-16T10:04:51.739761Z",
    "payment_date": "2025-06-16T10:13:16.749655Z",
    "status": "success",
    "failure_reason": "Insufficient wallet balance"
  },
  "queryGeneratedTime": 1718006400
}

Headers

X-Api-Key
string
required

Your API Key (UUID format). Required to identify and authorize each request

X-Api-Secret
string
required

Secret associated with your API Key. Used for authenticating requests. Keep this secure.

Path Parameters

payment_id
string<uuid>
required

Response

Successful Response

success
boolean
default:true

Indicates whether the request was processed successfully.

Example:

true

message
string
default:Success

A short, human-readable message describing the result of the request.

Example:

"Operation completed."

data
object | null

The main response payload, if applicable

queryGeneratedTime
number | null
default:1756880309.235435

The Unix timestamp (in seconds) indicating when the response was generated.

Example:

1718006400