결제진행(선처리)
결제버튼 클릭 후 선 호출, 결제금액, 결제주소 리턴
POST https://{status-domain}/v1.0/swipebrick/payment/begin
Headers
Name
Type
Description
Authorization*
String
Bearer (webtoken)
Request Body
Name
Type
Description
charge_count*
int
8
```json
{
"return": 0,
"message": "success",
"value": {
"total_fee": "0.008257224",
"to_address": "0xa12d855735d0d75e3b543462a1e71131f40945e8065d2f944ba78dc5a9966b08"
}
}
```curl --location --request POST 'https://localhost:51151/v1.0/swipebrick/payment/begin'key
data type
desc.
total_fee
string
총 수수료 (float형태의 string)
to_address
string
수수료를 보낼 주소 (부모지갑)
return
message
desc.
0
success
성공
72000
Not Found User
72200
Not Enough Balance
결제금액 부족
Last updated