orders
Get order details
orders
Get order details
Retrieve detailed information about a specific order by its ID or number.
GET
/
v0
/
orders
/
{orderIdOrNumber}
curl --request GET \
--url https://api.fungies.io/v0/orders/{orderIdOrNumber} \
--header 'x-fngs-public-key: <api-key>'
{
"status": "<string>",
"data": {
"order": {
"object": "order",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"status": "PENDING",
"value": 0,
"tax": 0,
"fee": 0,
"totalItems": 0,
"country": null,
"currency": null,
"currencyDecimals": null,
"createdAt": 4503599627370495,
"userId": null,
"user": null,
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null,
"subscriptionId": null,
"subscription": null,
"orderNumber": "<string>"
},
"subscription": {
"object": "subscription",
"id": "<string>",
"status": "all",
"createdAt": 4503599627370495,
"currentIntervalEnd": 4503599627370495,
"currentIntervalStart": 4503599627370495,
"cancelAtIntervalEnd": false,
"canceledAt": null,
"userId": null,
"user": null,
"orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderNumber": "<string>",
"order": {
"object": "order",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"status": "PENDING"
},
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null
}
}
}
Authorizations
Path Parameters
GET /v0/orders/:orderIdOrNumber Parameter
Response
200
application/json
GET /v0/orders/:orderIdOrNumber Positive response
Allowed value:
"success"
Available options:
PENDING
, PAID
, FAILED
, UNPAID
, CANCELLED
, REFUNDED
, PARTIALLY_REFUNDED
, EXPIRED
Required range:
0 <= x <= 9007199254740991
Available options:
order
Required range:
-9007199254740991 <= x <= 9007199254740991
Required range:
-9007199254740991 <= x <= 9007199254740991
Required range:
-9007199254740991 <= x <= 9007199254740991
Required range:
0 <= x <= 9007199254740991
Available options:
AFN
, ALL
, DZD
, AOA
, ARS
, AMD
, AWG
, AUD
, AZN
, BSD
, BDT
, BBD
, BZD
, BMD
, BOB
, BAM
, BWP
, BRL
, BHD
, GBP
, BND
, BGN
, BIF
, BYN
, KHR
, CAD
, CVE
, KYD
, KWD
, XAF
, XPF
, CLP
, CNY
, COP
, KMF
, CDF
, CRC
, HRK
, CZK
, DKK
, DJF
, DOP
, XCD
, EGP
, ETB
, EUR
, FKP
, FJD
, GMD
, GEL
, GIP
, GTQ
, GNF
, GYD
, HTG
, HNL
, HKD
, HUF
, ISK
, INR
, IDR
, ILS
, JMD
, JPY
, JOD
, KZT
, KES
, KGS
, LAK
, LBP
, LSL
, LRD
, MOP
, MKD
, MGA
, MWK
, MYR
, MVR
, MRO
, MUR
, MXN
, MDL
, MNT
, MAD
, MZN
, MMK
, NAD
, NPR
, ANG
, TWD
, NZD
, NIO
, NGN
, NOK
, OMR
, PKR
, PAB
, PGK
, PYG
, PEN
, PHP
, PLN
, QAR
, RON
, RUB
, RWF
, SHP
, SVC
, WST
, STD
, SAR
, RSD
, SCR
, SLL
, SGD
, SBD
, SOS
, ZAR
, KRW
, LKR
, SRD
, SZL
, SEK
, CHF
, TJS
, TZS
, THB
, TND
, TOP
, TTD
, TRY
, UGX
, UAH
, AED
, UYU
, USD
, UZS
, VUV
, VEF
, VND
, XOF
, YER
, ZMW
, SLE
, XCG
, SSP
, VES
, MRU
, STN
, VED
Required range:
-9007199254740991 <= x <= 9007199254740991
Available options:
one_time
, subscription_initial
, subscription_update
, subscription_interval
, subscription_extra
, claim_free
Available options:
PENDING
, PAID
, FAILED
, UNPAID
, CANCELLED
, REFUNDED
, PARTIALLY_REFUNDED
, EXPIRED
Available options:
payment
Available options:
all
, active
, canceled
, incomplete
, incomplete_expired
, past_due
, trialing
, paused
, unpaid
Available options:
subscription
Available options:
all
, active
, canceled
, incomplete
, incomplete_expired
, past_due
, trialing
, paused
, unpaid
Required range:
0 <= x <= 9007199254740991
Required range:
0 <= x <= 9007199254740991
Required range:
0 <= x <= 9007199254740991
Available options:
PENDING
, PAID
, FAILED
, UNPAID
, CANCELLED
, REFUNDED
, PARTIALLY_REFUNDED
, EXPIRED
Available options:
order
Available options:
subscription
Required range:
0 <= x <= 9007199254740991
Available options:
one_time
, subscription_initial
, subscription_update
, subscription_interval
, subscription_extra
, claim_free
Available options:
PENDING
, PAID
, FAILED
, UNPAID
, CANCELLED
, REFUNDED
, PARTIALLY_REFUNDED
, EXPIRED
Available options:
payment
curl --request GET \
--url https://api.fungies.io/v0/orders/{orderIdOrNumber} \
--header 'x-fngs-public-key: <api-key>'
{
"status": "<string>",
"data": {
"order": {
"object": "order",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"status": "PENDING",
"value": 0,
"tax": 0,
"fee": 0,
"totalItems": 0,
"country": null,
"currency": null,
"currencyDecimals": null,
"createdAt": 4503599627370495,
"userId": null,
"user": null,
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null,
"subscriptionId": null,
"subscription": null,
"orderNumber": "<string>"
},
"subscription": {
"object": "subscription",
"id": "<string>",
"status": "all",
"createdAt": 4503599627370495,
"currentIntervalEnd": 4503599627370495,
"currentIntervalStart": 4503599627370495,
"cancelAtIntervalEnd": false,
"canceledAt": null,
"userId": null,
"user": null,
"orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"orderNumber": "<string>",
"order": {
"object": "order",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"status": "PENDING"
},
"lastPaymentId": null,
"lastPaymentNumber": null,
"lastPayment": null
}
}
}