API 문서
계정 결제
인증된 계정에 연결된 결제를 검사합니다.
인증
모든 요청은 관리자 API 키와 일치하는 Bearer 토큰을 Authorization 헤더로 보내야 합니다.
API 키 가져오기.
엔드포인트
GET https://rqrcode.com/api/payments/
예시
curl --request GET \
--url 'https://rqrcode.com/api/payments/' \
--header 'Authorization: Bearer {api_key}'
매개변수
| 매개변수 | 세부 정보 | 설명 |
|---|---|---|
| page |
선택 사항
ui.admin.api_docs.common.types.정수
|
결과를 얻고자 하는 페이지 번호입니다. 기본값은 1입니다. |
| results_per_page |
선택 사항
ui.admin.api_docs.common.types.정수
|
페이지당 원하는 결과 수입니다. 허용 값은 10, 25, 50, 100, 250, 500, 1000입니다. 기본값은 25입니다. |
응답 예시
{
"data": [
{
"id": 1,
"plan_id": 1,
"processor": "stripe",
"type": "one_time",
"frequency": "monthly",
"email": "[email protected]",
"name": null,
"total_amount": "4.99",
"currency": "USD",
"status": true,
"datetime": "2026-04-20 07:54:53"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://rqrcode.com/api/payments?page=1",
"last": "https://rqrcode.com/api/payments?page=1",
"next": null,
"prev": null,
"self": "https://rqrcode.com/api/payments?page=1"
}
}
엔드포인트
GET https://rqrcode.com/api/payments/{payment_id}
예시
curl --request GET \
--url 'https://rqrcode.com/api/payments/{payment_id}' \
--header 'Authorization: Bearer {api_key}'
매개변수
추가 매개변수가 없습니다.
응답 예시
{
"data": {
"id": 1,
"plan_id": 1,
"processor": "stripe",
"type": "one_time",
"frequency": "monthly",
"email": "[email protected]",
"name": null,
"total_amount": "4.99",
"currency": "USD",
"status": true,
"datetime": "2026-04-20 07:54:53"
}
}