public class PayoutsClient extends ApiResource
clientMetaInfo, communicator| Constructor and Description |
|---|
PayoutsClient(ApiResource parent,
Map<String,String> pathContext) |
| Modifier and Type | Method and Description |
|---|---|
PayoutResponse |
approve(String payoutId,
ApprovePayoutRequest body)
Resource /{merchantId}/payouts/{payoutId}/approve
- Approve payout
|
PayoutResponse |
approve(String payoutId,
ApprovePayoutRequest body,
CallContext context)
Resource /{merchantId}/payouts/{payoutId}/approve
- Approve payout
|
void |
cancel(String payoutId)
Resource /{merchantId}/payouts/{payoutId}/cancel
- Cancel payout
|
void |
cancel(String payoutId,
CallContext context)
Resource /{merchantId}/payouts/{payoutId}/cancel
- Cancel payout
|
void |
cancelapproval(String payoutId)
Resource /{merchantId}/payouts/{payoutId}/cancelapproval
- Undo approve payout
|
void |
cancelapproval(String payoutId,
CallContext context)
Resource /{merchantId}/payouts/{payoutId}/cancelapproval
- Undo approve payout
|
PayoutResponse |
create(CreatePayoutRequest body)
Resource /{merchantId}/payouts
- Create payout
|
PayoutResponse |
create(CreatePayoutRequest body,
CallContext context)
Resource /{merchantId}/payouts
- Create payout
|
FindPayoutsResponse |
find(FindPayoutsParams query)
Resource /{merchantId}/payouts
- Find payouts
|
FindPayoutsResponse |
find(FindPayoutsParams query,
CallContext context)
Resource /{merchantId}/payouts
- Find payouts
|
PayoutResponse |
get(String payoutId)
Resource /{merchantId}/payouts/{payoutId}
- Get payout
|
PayoutResponse |
get(String payoutId,
CallContext context)
Resource /{merchantId}/payouts/{payoutId}
- Get payout
|
getClientHeaders, instantiateUripublic PayoutsClient(ApiResource parent, Map<String,String> pathContext)
public PayoutResponse create(CreatePayoutRequest body)
body - CreatePayoutRequestDeclinedPayoutException - if the Worldline Global Collect platform declined / rejected the payout. The payout result will be available from the exception.ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic PayoutResponse create(CreatePayoutRequest body, CallContext context)
body - CreatePayoutRequestcontext - CallContextDeclinedPayoutException - if the Worldline Global Collect platform declined / rejected the payout. The payout result will be available from the exception.IdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic FindPayoutsResponse find(FindPayoutsParams query)
query - FindPayoutsParamsValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic FindPayoutsResponse find(FindPayoutsParams query, CallContext context)
query - FindPayoutsParamscontext - CallContextIdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic PayoutResponse get(String payoutId)
payoutId - StringValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic PayoutResponse get(String payoutId, CallContext context)
payoutId - Stringcontext - CallContextIdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic PayoutResponse approve(String payoutId, ApprovePayoutRequest body)
payoutId - Stringbody - ApprovePayoutRequestValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic PayoutResponse approve(String payoutId, ApprovePayoutRequest body, CallContext context)
payoutId - Stringbody - ApprovePayoutRequestcontext - CallContextIdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic void cancel(String payoutId)
payoutId - StringValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic void cancel(String payoutId, CallContext context)
payoutId - Stringcontext - CallContextIdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic void cancelapproval(String payoutId)
payoutId - StringValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorpublic void cancelapproval(String payoutId, CallContext context)
payoutId - Stringcontext - CallContextIdempotenceException - if an idempotent request caused a conflict (HTTP status code 409)ValidationException - if the request was not correct and couldn't be processed (HTTP status code 400)AuthorizationException - if the request was not allowed (HTTP status code 403)ReferenceException - if an object was attempted to be referenced that doesn't exist or has been removed,
or there was a conflict (HTTP status code 404, 409 or 410)PlatformException - if something went wrong at the Worldline Global Collect platform,
the Worldline Global Collect platform was unable to process a message from a downstream partner/acquirer,
or the service that you're trying to reach is temporary unavailable (HTTP status code 500, 502 or 503)ApiException - if the Worldline Global Collect platform returned any other errorCopyright © 2025 Worldline Global Collect. All rights reserved.