cURL
curl --request GET \ --url https://api.fungies.io/v0/payments/{paymentId} \ --header 'x-fngs-public-key: <api-key>'
{ "status": "<string>", "data": { "payment": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "one_time", "number": "<string>", "status": "PENDING", "createdAt": 4503599627370495, "object": "payment", "value": 0, "tax": 0, "fee": 0, "currency": null, "currencyDecimals": null, "userId": null, "user": null, "orderId": null, "orderNumber": null, "order": null, "subscriptionId": null, "subscription": null, "discount": null, "invoiceNumber": null, "invoiceUrl": null, "charges": null } } }
Retrieve detailed information about a specific payment by its ID.
Returns the full payment object including associated user, order, subscription, charges, and invoice details.
Unique identifier (UUID) of the payment.
GET /v0/payments/:paymentId Positive response
"success"
Show child attributes