Skip to main content
string
The Spring bean identifier containing the service being called.stripeServiceImpl
string
default:"PROTOTYPE"
Bean scope. Use PROTOTYPE for service calls.
string
The public service method name shown in the signature below.
object[]
The method argument array. Each argument is passed as an object with index 0, 1, and so on; the value must match the Java parameter type.

Headers

Send Lang-Context and Site-Context with every request. For protected methods, send the JWT in the Authorization header as Bearer <token>. Access: ADMIN. Bearer Token: conditional for USER/ADMIN.
  • GUEST — unauthenticated users; only whitelist services are available.
  • USER — authentication is required; methods with USER checks are available.
  • ADMIN — full access to public methods of all services.
  • If a method checks a role internally, GUEST may receive null.

Methods

void

init

boolean

isStripeKeysDefined

String

getCurrency

String

createIntent

Map<String,Object>

retrieveIntent

String

cancelIntent

String

refundIntent

PaymentStatus

chargeIntent

boolean

changePaymentMethod

String

chargeSepa

Example JSON request object:
Request:
String

chargeCreditCard

Example JSON request object:
Request:
void

chargeTariffSepa

Example JSON request object:
Request:
void

chargeTariffCreditCard

Example JSON request object:
Request:
String

cancelSubscriptionAfterActivePeriod

String

cancelSubscriptionImmediately

Map<String, Object>

getContractEndDate

Map<String, Object>

getContractEndDateFromTimestamp

boolean

isTariffEquals

Map<String, String>

getAmountByTariff

Map<String,Object>

createInvoice

List<Invoice>

getInvoices

List<Product>

getProducts

String

createCustomer

void

deleteCustomer

void

removePaymentMethod

List<PaymentMethod>

getPaymentMethods

Map<String, Object>

getPaymentMethod

Map<String,Object>

getSubscription

Map<String, Object>

calculateTaxRate

Map<String, TaxRate>

obtainAllTaxRates