stripe-api-java
API的Java客户端库。
用法
Maven依赖
< dependency>
< groupId>net.joelinn groupId>
< artifactId>stripe artifactId>
< version>1.2.0 version>
dependency>
进行API调用
初始化客户端对象
Stripe stripe = new Stripe ( " your_api_key " );
客户来电
// create a customer
CreateCustomerRequest customerRequest = new CreateCustomerRequest ()
.setEMail( " foo@bar.com " )
.setDescription(
2022-12-29 21:44:36
108KB
Java
1