Skip to content

Latest commit

 

History

History
84 lines (82 loc) · 8.94 KB

reference.md

File metadata and controls

84 lines (82 loc) · 8.94 KB

Java SDK reference

Generated from the pinned public contract. Parameters use builder(); omitted fields remain absent. The set<Field>Null() pattern sends explicit null. All methods accept RequestOptions as the last argument.

Method Endpoint Parameters Return type Idempotency
accounts().retrieveFees GET /v1/accounts/fees none AccountFees No
accounts().retrieveNumber GET /v1/accounts/account_number none AccountNumber No
accounts().retrieveCheckoutSettings GET /v1/accounts/checkout_settings none CheckoutSettings No
accounts().updateCheckoutSettings PATCH /v1/accounts/checkout_settings UpdateCheckoutSettingsParams CheckoutSettings Yes
accounts().createCheckoutLogoUpload POST /v1/accounts/checkout_settings/logo_uploads CreateCheckoutLogoUploadParams CheckoutAssetUpload Yes
accounts().createCheckoutFaviconUpload POST /v1/accounts/checkout_settings/favicon_uploads CreateCheckoutFaviconUploadParams CheckoutAssetUpload Yes
accounts().deleteCheckoutAssetUpload DELETE /v1/accounts/checkout_settings/uploads/{id} none CheckoutAssetUploadDeleted Yes
accounts().retrieveContext GET /v1/accounts/context none AccountContext No
balances().retrieve GET /v1/balances none Balance No
balances().forecast GET /v1/balances/forecast GetBalanceForecastParams BalanceForecast No
charges().create POST /v1/charges CreateChargeParams ChargeCreated Yes
charges().list GET /v1/charges ListChargesParams ChargeListResponse No
charges().retrieve GET /v1/charges/{id} none Charge No
charges().update PATCH /v1/charges/{id} UpdateChargeParams Charge Yes
charges().revoke DELETE /v1/charges/{id} none RevokeChargeResult Yes
charges().retrievePayment GET /v1/charges/{id}/payment none PaymentReceipt No
charges().retrieveReceipt GET /v1/charges/{id}/receipt none FinancialDocument No
charges().retrieveBoleto GET /v1/charges/{id}/boleto none FinancialDocument No
charges().createRefund POST /v1/charges/{id}/refunds CreateRefundParams Refund Yes
charges().listRefunds GET /v1/charges/{id}/refunds ListChargeRefundsParams RefundListResponse No
charges().retrieveRefundEligibility GET /v1/charges/{id}/refund_eligibility none RefundEligibility No
charges().statistics GET /v1/charges/statistics GetChargeStatisticsParams ChargeStatistics No
customers().create POST /v1/customers CreateCustomerParams CustomerCreated Yes
customers().list GET /v1/customers ListCustomersParams CustomerListResponse No
customers().retrieve GET /v1/customers/{id} none CustomerListItem No
customers().update PATCH /v1/customers/{id} UpdateCustomerParams CustomerListItem Yes
customers().delete DELETE /v1/customers/{id} none CustomerDeleted No
customers().deleteBatch DELETE /v1/customers RemoveCustomersParams CustomerBatchDeleted Yes
disputes().list GET /v1/disputes ListDisputesParams DisputeListResponse No
disputes().retrieve GET /v1/disputes/{id} none Dispute No
paymentLinks().create POST /v1/payment_links CreatePaymentLinkParams PaymentLink Yes
paymentLinks().list GET /v1/payment_links ListPaymentLinksParams PaymentLinkListResponse No
paymentLinks().retrieve GET /v1/payment_links/{id} none PaymentLinkDetails No
paymentLinks().update PATCH /v1/payment_links/{id} UpdatePaymentLinkParams PaymentLink Yes
paymentLinks().sendEmail POST /v1/payment_links/{id}/send_email none PaymentLinkEmailRequestAccepted Yes
refunds().list GET /v1/refunds ListRefundsParams RefundListResponse No
refunds().retrieve GET /v1/refunds/{id} none Refund No
refunds().retrieveReceipt GET /v1/refunds/{id}/receipt none FinancialDocument No
statements().list GET /v1/statements ListStatementsParams StatementListResponse No
statements().retrieve GET /v1/statements/{id} none Statement No
webhookEventTypes().list GET /v1/webhook_event_types none WebhookEventTypeListResponse No
webhooks().create POST /v1/webhooks CreateWebhookParams WebhookCreated Yes
webhooks().list GET /v1/webhooks ListWebhooksParams WebhookListResponse No
webhooks().retrieve GET /v1/webhooks/{webhook_id} none Webhook No
webhooks().update PATCH /v1/webhooks/{webhook_id} UpdateWebhookParams Webhook Yes
webhooks().delete DELETE /v1/webhooks/{webhook_id} none DeleteWebhookResult Yes
webhooks().retrieveHealth GET /v1/webhooks/{webhook_id}/health none WebhookHealth No
webhooks().setPause PATCH /v1/webhooks/{webhook_id}/pause SetWebhookPauseParams WebhookPause Yes
webhooks().rotateSecret POST /v1/webhooks/{webhook_id}/rotate_secret RotateWebhookSecretParams WebhookSecretRotation Yes
webhooks().test POST /v1/webhooks/{webhook_id}/test none WebhookTestAccepted Yes
webhookEvents().list GET /v1/webhook_events ListWebhookEventsParams WebhookEventListResponse No
webhookEvents().retrieve GET /v1/webhook_events/{event_id} none WebhookEventDetail No
webhookEvents().deliver POST /v1/webhook_events/{event_id}/deliveries DeliverWebhookEventParams WebhookDeliveryResendAccepted Yes
webhookDeliveries().list GET /v1/webhook_deliveries ListWebhookDeliveriesParams WebhookDeliveryListResponse No
webhookDeliveries().retrieve GET /v1/webhook_deliveries/{delivery_id} none WebhookDelivery No
webhookDeliveries().listAttempts GET /v1/webhook_deliveries/{delivery_id}/attempts ListWebhookDeliveryAttemptsParams WebhookAttemptListResponse No
webhookDeliveries().retrieveAttempt GET /v1/webhook_deliveries/{delivery_id}/attempts/{attempt_id} none WebhookAttemptDetail No
webhookDeliveries().advance POST /v1/webhook_deliveries/{delivery_id}/advance none WebhookAdvanceAccepted Yes
webhookDeliveries().resend POST /v1/webhook_deliveries/{delivery_id}/resend none WebhookDeliveryResendAccepted Yes
webhookDeliveries().resendMany POST /v1/webhook_deliveries/resend ResendWebhookDeliveriesParams WebhookBulkResendAccepted Yes
withdrawalDestinations().list GET /v1/withdrawal_destinations ListWithdrawalDestinationsParams WithdrawalDestinationListResponse No
withdrawalDestinations().retrieve GET /v1/withdrawal_destinations/{id} none WithdrawalDestination No
withdrawals().create POST /v1/withdrawals CreateWithdrawalParams Withdrawal Yes
withdrawals().list GET /v1/withdrawals ListWithdrawalsParams WithdrawalListResponse No
withdrawals().retrieve GET /v1/withdrawals/{id} none Withdrawal No
withdrawals().retrieveLimits GET /v1/withdrawals/limits none WithdrawalLimits No
withdrawals().retrieveSummary GET /v1/withdrawals/summary none WithdrawalSummary No
withdrawals().retrieveAutomaticSettings GET /v1/withdrawals/automatic_settings none AutomaticWithdrawalSettings No
withdrawals().updateAutomaticSettings PATCH /v1/withdrawals/automatic_settings UpdateAutomaticWithdrawalSettingsParams AutomaticWithdrawalSettings Yes
simulations().charges().confirmPayment POST /v1/simulations/charges/{id}/confirm_payment none ChargeSimulation Yes
simulations().charges().failPayment POST /v1/simulations/charges/{id}/fail_payment none ChargeSimulation Yes
simulations().charges().configureScenario POST /v1/simulations/charges/{id}/scenario ChargeScenarioParams ChargeScenario Yes
simulations().charges().resolveScenario POST /v1/simulations/charges/{id}/resolve ResolveChargeScenarioParams ChargeScenario Yes
simulations().charges().issuePayment POST /v1/simulations/charges/{id}/issue_payment IssueSimulationPaymentParams Charge Yes
simulations().charges().compensateBoleto POST /v1/simulations/charges/{id}/compensate_boleto none ChargeBoletoCompensation Yes
simulations().charges().createRefund POST /v1/simulations/charges/{id}/refunds CreateRefundParams Refund Yes
simulations().refunds().complete POST /v1/simulations/refunds/{id}/complete none Refund Yes
simulations().refunds().fail POST /v1/simulations/refunds/{id}/fail none Refund Yes