Payment information
post https://api.cryptomus.com/v1/recurrence/info Copy
Request
Query parameters
| Name | Parameter type | Definition | 
|---|---|---|
| uuid* | uuidrequired_without: order_id | Recurrence uuid | 
| order_id* | stringmin:1max:128alpha_dashrequired_without: uuid | Recurrence order ID | 
- Parameter type uuidrequired_without: order_id- Definition Recurrence uuid
- Parameter type stringmin:1max:128alpha_dashrequired_without: uuid- Definition Recurrence order ID
* - mandatory parameter
To get the recurring payment status you need to pass one of the required parameters, if you pass both, the account will be identified by order_id
Request example
curl https://api.cryptomus.com/v1/recurrence/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"
}'
Response
Response parameters
Object of payment - seeResponse example
seesee
Possible errors
Validation errors
code : 422
example responses:
If you will not pass a uuid and order_id, you will receive this message. It means that at least one of the parameters is required.
1{
2	"state": 1,
3	"errors": {
4		"uuid": ["validation.required_without"],
5		"order_id": ["validation.required_without"]
6	}
7}