| Package | Description |
|---|---|
| be.feelio.mollie.handler | |
| be.feelio.mollie.util |
| Modifier and Type | Method and Description |
|---|---|
OrderResponse |
OrderHandler.cancelOrder(String orderId,
QueryParams params)
The order can only be canceled while:
the order doesn’t have any open payments except for the methods banktransfer, directdebit, klarnapaylater, and klarnasliceit.
the order’s status field is either created, authorized or shipping.
In case of created, all order lines will be canceled and the new order status will be canceled.
In case of authorized, the authorization will be released, all order lines will be canceled and the new order status will be canceled.
In case of shipping, any order lines that are still authorized will be canceled and order lines that are shipping will be completed.
|
void |
OrderHandler.cancelOrderLines(String orderId,
CancelOrderLinesRequest body,
QueryParams params)
This endpoint can be used to cancel one or more order lines that were previously authorized using a pay after delivery payment method.
|
PaymentResponse |
PaymentHandler.cancelPayment(String paymentId,
QueryParams params)
Some payment methods are cancellable for an amount of time, usually until the next day.
|
void |
RefundHandler.cancelRefund(String paymentId,
String refundId,
QueryParams params)
For certain payment methods, like iDEAL, the underlying banking system will delay refunds until the next day.
|
SubscriptionResponse |
SubscriptionHandler.cancelSubscription(String customerId,
String subscriptionId,
QueryParams params)
Cancel a subscription
|
CustomerResponse |
CustomerHandler.createCustomer(CustomerRequest body,
QueryParams params)
Creates a simple minimal representation of a customer in the Mollie API to use for the Mollie Checkout and Recurring features.
|
PaymentResponse |
CustomerHandler.createCustomerPayment(String customerId,
PaymentRequest body,
QueryParams params)
Creates a payment for the customer.
|
MandateResponse |
MandateHandler.createMandate(String customerId,
MandateRequest body,
QueryParams params)
Create a mandate for a specific customer.
|
OrderResponse |
OrderHandler.createOrder(OrderRequest body,
QueryParams params)
Using the Orders API is the preferred approach when integrating the Mollie API into e-commerce applications such as webshops.
|
PaymentResponse |
OrderHandler.createOrderPayment(String orderId,
OrderPaymentRequest body,
QueryParams params)
An order has an automatically created payment that your customer can use to pay for the order.
|
RefundResponse |
OrderHandler.createOrderRefund(String orderId,
OrderRefundRequest body,
QueryParams params)
When using the Orders API, refunds should be made against the order.
|
PaymentResponse |
PaymentHandler.createPayment(PaymentRequest body,
QueryParams params)
Payment creation is elemental to the Mollie API: this is where most payment implementations start off.
|
ProfileResponse |
ProfileHandler.createProfile(ProfileRequest body,
QueryParams params)
In order to process payments, you need to create a website profile.
|
RefundResponse |
RefundHandler.createRefund(String paymentId,
RefundRequest body,
QueryParams params)
Most payment methods support refunds.
|
ShipmentResponse |
ShipmentHandler.createShipment(String orderId,
ShipmentRequest body,
QueryParams params)
In addition to the Orders API, the create shipment endpoint can be used to ship order lines.
|
SubscriptionResponse |
SubscriptionHandler.createSubscription(String customerId,
SubscriptionRequest body,
QueryParams params)
With subscriptions, you can schedule recurring payments to take place at regular intervals.
|
protected kong.unirest.HttpResponse<String> |
AbstractHandler.delete(String uri,
Object body,
QueryParams params) |
protected kong.unirest.HttpResponse<String> |
AbstractHandler.delete(String uri,
QueryParams params) |
void |
CustomerHandler.deleteCustomer(String customerId,
QueryParams params)
Delete a customer.
|
void |
ProfileHandler.deleteProfile(String id,
QueryParams params)
This endpoint enables profile deletions, rendering the profile unavailable for further API calls and transactions.
|
void |
ProfileHandler.disableMyPaymentMethod(PaymentMethod paymentMethod,
QueryParams params)
Disable a payment method on an authenticated profile.
|
void |
ProfileHandler.disablePaymentMethod(String profileId,
PaymentMethod paymentMethod,
QueryParams params)
Disable a payment method on a specific profile.
|
MethodResponse |
ProfileHandler.enableMyPaymentMethod(PaymentMethod paymentMethod,
QueryParams params)
Enable a payment method on an authenticated profile to use it with payments.
|
MethodResponse |
ProfileHandler.enablePaymentMethod(String profileId,
PaymentMethod paymentMethod,
QueryParams params)
Enable a payment method on a specific profile to use it with payments.
|
TokenResponse |
ConnectHandler.generateTokens(String clientId,
String clientSecret,
TokenRequest body,
QueryParams params)
Exchange the auth code received at the Authorize endpoint for an actual access token, with which you can communicate with the Mollie API.
|
protected kong.unirest.HttpResponse<String> |
AbstractHandler.get(String uri,
QueryParams params) |
CaptureResponse |
CaptureHandler.getCapture(String paymentId,
String captureId,
QueryParams params)
Retrieve a single capture by its ID.
|
ChargebackResponse |
ChargebackHandler.getChargeback(String paymentId,
String chargebackId,
QueryParams params)
Retrieve a single chargeback by its ID.
|
CustomerResponse |
CustomerHandler.getCustomer(String customerId,
QueryParams params)
Retrieve a single customer by its ID.
|
InvoiceResponse |
InvoiceHandler.getInvoice(String id,
QueryParams params)
Retrieve details of an invoice, using the invoice’s identifier.
|
Pagination<InvoicesListResponse> |
InvoiceHandler.getInvoices(QueryParams params)
Retrieve all invoices on the account.
|
MandateResponse |
MandateHandler.getMandate(String customerId,
String mandateId,
QueryParams params)
Retrieve a mandate by its ID and its customer’s ID.
|
MethodResponse |
MethodHandler.getMethod(String methodId,
QueryParams params)
Retrieve a single method by its ID.
|
OrganizationResponse |
OrganizationHandler.getMyOrganization(QueryParams params)
Retrieve the currently authenticated organization.
|
ProfileResponse |
ProfileHandler.getMyProfile(QueryParams params)
Use this API if you are creating a plugin or SaaS application that allows users to enter a Mollie API key, and you want to give a confirmation of the website profile that will be used in your plugin or application.
|
SettlementResponse |
SettlementHandler.getNextSettlement(QueryParams params)
Retrieve the details of the current settlement that has not yet been paid out.
|
OnboardingResponse |
OnboardingHandler.getOnboardingStatus(QueryParams params)
Get the status of onboarding of the authenticated organization.
|
SettlementResponse |
SettlementHandler.getOpenSettlement(QueryParams params)
Retrieve the details of the open balance of the organization.
|
OrderResponse |
OrderHandler.getOrder(String orderId,
QueryParams params)
Retrieve a single order by its ID.
|
Pagination<OrderRefundListResponse> |
OrderHandler.getOrderRefunds(String orderId,
QueryParams params)
Retrieve all order refunds.
|
Pagination<OrderListResponse> |
OrderHandler.getOrders(QueryParams params)
Retrieve all orders.
|
OrganizationResponse |
OrganizationHandler.getOrganization(String organizationId,
QueryParams params)
Retrieve an organization by its ID.
|
PaymentResponse |
PaymentHandler.getPayment(String paymentId,
QueryParams params)
Retrieve a single payment object by its payment token.
|
PermissionResponse |
PermissionHandler.getPermission(Permission permission,
QueryParams params)
All API actions through OAuth are by default protected for privacy and/or money related reasons and therefore require specific permissions.
|
Pagination<PermissionListResponse> |
PermissionHandler.getPermissions(QueryParams params)
List all permissions available with the current app access token.
|
ProfileResponse |
ProfileHandler.getProfile(String id,
QueryParams params)
Retrieve details of a profile, using the profile’s identifier.
|
Pagination<ProfileListResponse> |
ProfileHandler.getProfiles(QueryParams params)
Retrieve all profiles available on the account.
|
RefundResponse |
RefundHandler.getRefund(String paymentId,
String refundId,
QueryParams params)
Retrieve a single refund by its ID.
|
SettlementResponse |
SettlementHandler.getSettlement(String id,
QueryParams params)
Successful payments, together with refunds, captures and chargebacks are collected into settlements, which are then paid out according to your organization’s payout schedule.
|
Pagination<CaptureListResponse> |
SettlementHandler.getSettlementCaptures(String settlementId,
QueryParams params)
Retrieve all captures in a certain settlement.
|
Pagination<ChargebackListResponse> |
SettlementHandler.getSettlementChargebacks(String settlementId,
QueryParams params)
Retrieve all chargebacks included in a settlement.
|
Pagination<PaymentListResponse> |
SettlementHandler.getSettlementPayments(String settlementId,
QueryParams params)
Retrieve all payments included in a settlement.
|
Pagination<RefundListResponse> |
SettlementHandler.getSettlementRefund(String settlementId,
QueryParams params)
Retrieve all refunds included in a settlement.
|
Pagination<SettlementListResponse> |
SettlementHandler.getSettlements(QueryParams params)
Retrieve all settlements, ordered from new to old.
|
ShipmentResponse |
ShipmentHandler.getShipment(String orderId,
String shipmentId,
QueryParams params)
Retrieve a single shipment and the order lines shipped by a shipment’s ID.
|
Pagination<ShipmentListResponse> |
ShipmentHandler.getShipments(String orderId,
QueryParams params)
Retrieve all shipments for an order.
|
SubscriptionResponse |
SubscriptionHandler.getSubscription(String customerId,
String subscriptionId,
QueryParams params)
Retrieve a subscription by its ID and its customer’s ID.
|
Pagination<CaptureListResponse> |
CaptureHandler.listCaptures(String paymentId,
QueryParams params)
Retrieve all captures for a certain payment.
|
Pagination<ChargebackListResponse> |
ChargebackHandler.listChargebacks(QueryParams params)
Retrieve all received chargebacks.
|
Pagination<ChargebackListResponse> |
ChargebackHandler.listChargebacks(String paymentId,
QueryParams params)
Retrieve all received chargebacks.
|
Pagination<PaymentListResponse> |
CustomerHandler.listCustomerPayments(String customerId,
QueryParams params)
Retrieve all payments linked to the customer.
|
Pagination<CustomerListResponse> |
CustomerHandler.listCustomers(QueryParams params)
Retrieve all customers created.
|
Pagination<MandateListResponse> |
MandateHandler.listMandates(String customerId,
QueryParams params)
Retrieve all mandates for the given customerId, ordered from newest to oldest.
|
Pagination<MethodListResponse> |
MethodHandler.listMethods(QueryParams params)
Retrieve all available payment methods.
|
Pagination<PaymentListResponse> |
PaymentHandler.listPayments(QueryParams params)
Retrieve all payments created with the current website profile, ordered from newest to oldest.
|
Pagination<RefundListResponse> |
RefundHandler.listRefunds(QueryParams params)
Retrieve refunds.
|
Pagination<RefundListResponse> |
RefundHandler.listRefunds(String paymentId,
QueryParams params)
Retrieve refunds.
|
Pagination<PaymentListResponse> |
SubscriptionHandler.listSubscriptionPayments(String customerId,
String subscriptionId,
QueryParams params)
Retrieve all payments of a specific subscriptions of a customer.
|
Pagination<SubscriptionListResponse> |
SubscriptionHandler.listSubscriptions(String customerId,
QueryParams params)
Retrieve all subscriptions of a customer.
|
protected kong.unirest.HttpResponse<String> |
AbstractHandler.patch(String uri,
Object body,
QueryParams params) |
protected kong.unirest.HttpResponse<String> |
AbstractHandler.post(String uri,
Object body,
QueryParams params) |
protected kong.unirest.HttpResponse<String> |
AbstractHandler.postWithoutBody(String uri,
QueryParams params) |
void |
MandateHandler.revokeMandate(String customerId,
String mandateId,
QueryParams params)
Revoke a customer’s mandate.
|
void |
ConnectHandler.revokeToken(String clientId,
String clientSecret,
RevokeTokenRequest body,
QueryParams params)
Revoke an access- or a refresh token.
|
void |
OnboardingHandler.submitOnboardingData(OnboardingRequest body,
QueryParams params)
Submit data that will be prefilled in the merchant’s onboarding.
|
CustomerResponse |
CustomerHandler.updateCustomer(String customerId,
CustomerRequest body,
QueryParams params)
Update an existing customer.
|
OrderResponse |
OrderHandler.updateOrder(String orderId,
OrderUpdateRequest body,
QueryParams params)
This endpoint can be used to update the billing and/or shipping address of an order.
|
OrderResponse |
OrderHandler.updateOrderLine(String orderId,
String lineId,
OrderLineUpdateRequest body,
QueryParams params)
This endpoint can be used to update an order line.
|
ProfileResponse |
ProfileHandler.updateProfile(String id,
ProfileRequest body,
QueryParams params)
A profile is required to process payments.
|
ShipmentResponse |
ShipmentHandler.updateShipment(String orderId,
String shipmentId,
ShipmentUpdateRequest body,
QueryParams params)
This endpoint can be used to update the tracking information of a shipment.
|
SubscriptionResponse |
SubscriptionHandler.updateSubscription(String customerId,
String subscriptionId,
UpdateSubscriptionRequest body,
QueryParams params)
Update a subscription.
|
| Modifier and Type | Field and Description |
|---|---|
static QueryParams |
QueryParams.EMPTY |
Copyright © 2020. All rights reserved.