Payment information

post
https://api.cryptomus.com/v1/recurrence/info
COPY

Request

Query parameters

NameParameter typeDefinition
uuid*uuidrequired_without: order_idRecurrence uuid
order_id*stringmin:1max:128alpha_dashrequired_without: uuidRecurrence 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"
}'
COPY

Response

Response parameters

Object of payment - see

Response example

see

see

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