payments
Get payment details
payments
Get payment details
Retrieve detailed information about a specific payment by its ID.
GET
/
v0
/
payments
/
{paymentId}
curl --request GET \
--url https://api.fungies.io/v0/payments/{paymentId} \
--header 'x-fngs-public-key: <api-key>'
{
"status": "<string>",
"data": {
"payment": {
"object": "payment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "one_time",
"number": "<string>",
"status": "PENDING",
"value": 0,
"tax": 0,
"fee": 0,
"currency": null,
"currencyDecimals": null,
"createdAt": 4503599627370495,
"userId": null,
"user": null,
"orderId": null,
"orderNumber": null,
"order": null,
"subscriptionId": null,
"subscription": null,
"invoiceNumber": null,
"invoiceUrl": null
}
}
}
Authorizations
Path Parameters
GET /v0/payments/:paymentId Parameter
Response
200
application/json
GET /v0/payments/:paymentId Positive response
The response is of type object
.
curl --request GET \
--url https://api.fungies.io/v0/payments/{paymentId} \
--header 'x-fngs-public-key: <api-key>'
{
"status": "<string>",
"data": {
"payment": {
"object": "payment",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "one_time",
"number": "<string>",
"status": "PENDING",
"value": 0,
"tax": 0,
"fee": 0,
"currency": null,
"currencyDecimals": null,
"createdAt": 4503599627370495,
"userId": null,
"user": null,
"orderId": null,
"orderNumber": null,
"order": null,
"subscriptionId": null,
"subscription": null,
"invoiceNumber": null,
"invoiceUrl": null
}
}
}