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
    }
  }
}

Authorizations

x-fngs-public-key
string
header
required

Path Parameters

paymentId
string
required

GET /v0/payments/:paymentId Parameter

Response

200
application/json
GET /v0/payments/:paymentId Positive response
status
string
required
Allowed value: "success"
data
object
required