결제 정보

post
https://api.cryptomus.com/v1/recurrence/info
복사

요구

쿼리 매개 변수

이름매개 변수 유형정의
uuid*uuidrequired_without: order_id재발 UUID
order_id*stringmin:1max:128alpha_dashrequired_without: uuid재발 순서 ID

매개 변수 유형

uuidrequired_without: order_id

정의

재발 UUID

매개 변수 유형

stringmin:1max:128alpha_dashrequired_without: uuid

정의

재발 순서 ID

* - 필수 매개 변수

반복 결제 상태를 얻으려면 필요한 매개 변수 중 하나를 전달해야합니다. 두 가지를 모두 전달하면 계정이 다음으로 식별됩니다. order_id

요청 예제


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"
}'
복사

응답

응답 매개 변수

지불 대상 - 보다

응답 예

보다

보다

가능한 오류

유효성 검사 오류

암호 : 422

예제 응답 :

UUID 및 Order_ID를 통과하지 않으면이 메시지를 받게됩니다. 이는 매개 변수 중 하나 이상이 필요하다는 것을 의미합니다.


1{
2	"state": 1,
3	"errors": {
4		"uuid": ["validation.required_without"],
5		"order_id": ["validation.required_without"]
6	}
7}
복사