결제위젯 브랜드페이 카드 등록 후, 서버에서 자동결제


: ,

: 시 REQUIRED_BILLING_TERMS , 버 API.

1.
:
POST /v1/brandpay/payments
Authorization: Basic {base64(apiSecretKey:)}
Content-Type: application/json
{
"methodKey": "...",
"customerKey": "ddabong_user_38568",
"orderId": "...",
"orderName": "",
"amount": 5900
}

(400):
{"code":"REQUIRED_BILLING_TERMS","message":"."}
---

2. (404)
:
GET /v1/brandpay/terms/ddabong_user_38568?scope=BILLING
Authorization: Basic {base64(apiSecretKey:)}
: 404 Not Found

3.
termsId서 scope

[POST] /v1/brandpay/terms/agree
Authorization: Basic {base64(apiSecretKey:)}
Content-Type: application/json
{
"customerKey": "ddabong_user_38568",
"scope": ["BILLING"]
}
(400):
{"code":"REQUIRED_TERMS","message":"."}


1. 젯 Flutter SDK, ()
?
2. 회 API (/v1/brandpay/terms/{customerKey})가 404.
이 API?
3. 의 API서 termsId 이 scope면 REQUIRED_TERMS .
termsId?
4. 젯 SDK이 SDK의 requestAgreement() .
?
Was this page helpful?