ਭੁਗਤਾਨ ਦੀ ਜਾਣਕਾਰੀ

post
https://api.cryptomus.com/v1/payment/info
ਕਾਪੀ

ਬੇਨਤੀ

ਪੁੱਛਗਿੱਛ ਪੈਰਾਮੀਟਰ

ਨਾਮਪੈਰਾਮੀਟਰ ਦੀ ਕਿਸਮਪਰਿਭਾਸ਼ਾ
uuid*uuidrequired_without: order_idਇਨਵੌਇਸ ਯੂਡ
order_id*stringmin:1max:128alpha_dashਇਨਵੌਇਸ ਆਰਡਰ ਆਈਡੀ

ਪੈਰਾਮੀਟਰ ਦੀ ਕਿਸਮ

uuidrequired_without: order_id

ਪਰਿਭਾਸ਼ਾ

ਇਨਵੌਇਸ ਯੂਡ

ਪੈਰਾਮੀਟਰ ਦੀ ਕਿਸਮ

stringmin:1max:128alpha_dash

ਪਰਿਭਾਸ਼ਾ

ਇਨਵੌਇਸ ਆਰਡਰ ਆਈਡੀ

* - ਲਾਜ਼ਮੀ ਪੈਰਾਮੀਟਰ

ਚਲਾਨ ਸਥਿਤੀ ਪ੍ਰਾਪਤ ਕਰਨ ਲਈ ਤੁਹਾਨੂੰ ਲੋੜੀਂਦੇ ਮਾਪਦੰਡਾਂ ਵਿੱਚੋਂ ਇੱਕ ਪਾਸ ਕਰਨ ਦੀ ਜ਼ਰੂਰਤ ਹੈ, ਜੇ ਤੁਸੀਂ ਦੋਵੇਂ ਪਾਸ ਕਰਦੇ ਹੋ, ਤਾਂ ਖਾਤਾ ਦੁਆਰਾ ਪਛਾਣਿਆ ਜਾਵੇਗਾ order_id

ਬੇਨਤੀ ਉਦਾਹਰਣ


curl https://api.cryptomus.com/v1/payment/info \
-X POST \
-H 'merchant: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json' \
-d '{
    "uuid": "8b03432e-385b-4670-8d06-064591096795"
}'
ਕਾਪੀ

ਜਵਾਬ

ਜਵਾਬ ਮਾਪਦੰਡ

ਭੁਗਤਾਨ ਦਾ ਉਦੇਸ਼ - ਵੇਖੋ

ਜਵਾਬ ਉਦਾਹਰਣ


1{
2	"state": 0,
3	"result": {
4		"uuid": "70b8db5c-b952-406d-af26-4e1c34c27f15",
5		"order_id": "65bbe87b4098c17a31cff3e71e515243",
6		"amount": "15.00",
7		"payment_amount": "0.00",
8		"payer_amount": "15.75",
9		"discount_percent": -5,
10		"discount": "-0.75",
11		"payer_currency": "USDT",
12		"currency": "USDT",
13		"comments": null,
14		"merchant_amount": "15.43500000",
15		"network": "tron",
16		"address": "TXhfYSWt2oKRrHAJVJeYRuit6ZzKuoEKXj",
17		"from": null,
18		"txid": null,
19		"payment_status": "cancel",
20		"url": "https://pay.cryptomus.com/pay/70b8db5c-b952-406d-af26-4e1c34c27f15",
21		"expired_at": 1689099831,
22		"status": "cancel",
23		"is_final": true,
24		"additional_data": null,
25		"created_at": "2023-07-11T20:23:52+03:00",
26		"updated_at": "2023-07-11T21:24:17+03:00"
27	}
28}
ਕਾਪੀ

ਸੰਭਵ ਗਲਤੀਆਂ

ਪ੍ਰਮਾਣਿਕਤਾ ਗਲਤੀਆਂ

ਕੋਡ : 422

ਉਦਾਹਰਣ ਪ੍ਰਤਿਕਿਰਿਆ:


1{
2	"state": 1,
3	"errors": {
4		"uuid": ["validation.required_without"],
5		"order_id": ["validation.required_without"]
6	}
7}
ਕਾਪੀ