가상계좌 발급 API 문의드립니다.

급 API.

Response virtualAccountsResponse =
await dio2.post(
'https://api.tosspayments.com/v1/virtual-accounts',
data: {
"amount": 15000,
"orderId": "5f6adce29b8018585613c36f08457be45f1690e44bba07e01cd972f5abb881ad",
"orderName": "",
"customerName": "",
"bank": "31",
},
options: options,
);

로 api , .

니 orderId,
final paymentResult =
await _paymentWidget.requestPayment(
paymentInfo: PaymentInfo(
orderId: digest1.toString(),
orderName: productData["name"]
.toString()
.replaceAll("'", ""),
));
된 paymentResult.success!.orderId를 orderId.

시 orderId를 api.
Was this page helpful?