public class PaymentsClient extends ApiResource
clientMetaInfo, communicator
Constructor and Description |
---|
PaymentsClient(ApiResource parent,
Map<String,String> pathContext) |
Modifier and Type | Method and Description |
---|---|
PaymentApprovalResponse |
approve(String paymentId,
ApprovePaymentRequest body)
Resource /{merchantId}/payments/{paymentId}/approve
- Approve payment
|
PaymentApprovalResponse |
approve(String paymentId,
ApprovePaymentRequest body,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/approve
- Approve payment
|
CancelPaymentResponse |
cancel(String paymentId)
Resource /{merchantId}/payments/{paymentId}/cancel
- Cancel payment
|
CancelPaymentResponse |
cancel(String paymentId,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/cancel
- Cancel payment
|
CancelApprovalPaymentResponse |
cancelapproval(String paymentId)
Resource /{merchantId}/payments/{paymentId}/cancelapproval
- Undo capture payment
|
CancelApprovalPaymentResponse |
cancelapproval(String paymentId,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/cancelapproval
- Undo capture payment
|
CaptureResponse |
capture(String paymentId,
CapturePaymentRequest body)
Resource /{merchantId}/payments/{paymentId}/capture
- Capture payment
|
CaptureResponse |
capture(String paymentId,
CapturePaymentRequest body,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/capture
- Capture payment
|
CapturesResponse |
captures(String paymentId)
Resource /{merchantId}/payments/{paymentId}/captures
- Get captures of payment
|
CapturesResponse |
captures(String paymentId,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/captures
- Get captures of payment
|
CompletePaymentResponse |
complete(String paymentId,
CompletePaymentRequest body)
Resource /{merchantId}/payments/{paymentId}/complete
- Complete payment
|
CompletePaymentResponse |
complete(String paymentId,
CompletePaymentRequest body,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/complete
- Complete payment
|
CreatePaymentResponse |
create(CreatePaymentRequest body)
Resource /{merchantId}/payments
- Create payment
|
CreatePaymentResponse |
create(CreatePaymentRequest body,
CallContext context)
Resource /{merchantId}/payments
- Create payment
|
DeviceFingerprintDetails |
devicefingerprint(String paymentId)
Resource /{merchantId}/payments/{paymentId}/devicefingerprint
- Get Device Fingerprint details
|
DeviceFingerprintDetails |
devicefingerprint(String paymentId,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/devicefingerprint
- Get Device Fingerprint details
|
DisputeResponse |
dispute(String paymentId,
CreateDisputeRequest body)
Resource /{merchantId}/payments/{paymentId}/dispute
- Create dispute
|
DisputeResponse |
dispute(String paymentId,
CreateDisputeRequest body,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/dispute
- Create dispute
|
DisputesResponse |
disputes(String paymentId)
Resource /{merchantId}/payments/{paymentId}/disputes
- Get disputes
|
DisputesResponse |
disputes(String paymentId,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/disputes
- Get disputes
|
FindPaymentsResponse |
find(FindPaymentsParams query)
Resource /{merchantId}/payments
- Find payments
|
FindPaymentsResponse |
find(FindPaymentsParams query,
CallContext context)
Resource /{merchantId}/payments
- Find payments
|
PaymentResponse |
get(String paymentId)
Resource /{merchantId}/payments/{paymentId}
- Get payment
|
PaymentResponse |
get(String paymentId,
CallContext context)
Resource /{merchantId}/payments/{paymentId}
- Get payment
|
PaymentResponse |
processchallenged(String paymentId)
Resource /{merchantId}/payments/{paymentId}/processchallenged
- Approves challenged payment
|
PaymentResponse |
processchallenged(String paymentId,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/processchallenged
- Approves challenged payment
|
RefundResponse |
refund(String paymentId,
RefundRequest body)
Resource /{merchantId}/payments/{paymentId}/refund
- Create refund
|
RefundResponse |
refund(String paymentId,
RefundRequest body,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/refund
- Create refund
|
RefundsResponse |
refunds(String paymentId)
Resource /{merchantId}/payments/{paymentId}/refunds
- Get refunds of payment
|
RefundsResponse |
refunds(String paymentId,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/refunds
- Get refunds of payment
|
ThirdPartyStatusResponse |
thirdPartyStatus(String paymentId)
Resource /{merchantId}/payments/{paymentId}/thirdpartystatus
- Third party status poll
|
ThirdPartyStatusResponse |
thirdPartyStatus(String paymentId,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/thirdpartystatus
- Third party status poll
|
CreateTokenResponse |
tokenize(String paymentId,
TokenizePaymentRequest body)
Resource /{merchantId}/payments/{paymentId}/tokenize
- Create a token from payment
|
CreateTokenResponse |
tokenize(String paymentId,
TokenizePaymentRequest body,
CallContext context)
Resource /{merchantId}/payments/{paymentId}/tokenize
- Create a token from payment
|
getClientHeaders, instantiateUri
public PaymentsClient(ApiResource parent, Map<String,String> pathContext)
public CreatePaymentResponse create(CreatePaymentRequest body)
body
- CreatePaymentRequestDeclinedPaymentException
- if the Worldline Global Collect platform declined / rejected the payment. The payment 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 CreatePaymentResponse create(CreatePaymentRequest body, CallContext context)
body
- CreatePaymentRequestcontext
- CallContextDeclinedPaymentException
- if the Worldline Global Collect platform declined / rejected the payment. The payment 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 FindPaymentsResponse find(FindPaymentsParams query)
query
- FindPaymentsParamsValidationException
- 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 FindPaymentsResponse find(FindPaymentsParams query, CallContext context)
query
- FindPaymentsParamscontext
- 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 PaymentResponse get(String paymentId)
paymentId
- 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 PaymentResponse get(String paymentId, CallContext context)
paymentId
- 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 CompletePaymentResponse complete(String paymentId, CompletePaymentRequest body)
paymentId
- Stringbody
- CompletePaymentRequestValidationException
- 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 CompletePaymentResponse complete(String paymentId, CompletePaymentRequest body, CallContext context)
paymentId
- Stringbody
- CompletePaymentRequestcontext
- 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 ThirdPartyStatusResponse thirdPartyStatus(String paymentId)
paymentId
- 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 ThirdPartyStatusResponse thirdPartyStatus(String paymentId, CallContext context)
paymentId
- 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 CreateTokenResponse tokenize(String paymentId, TokenizePaymentRequest body)
paymentId
- Stringbody
- TokenizePaymentRequestValidationException
- 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 CreateTokenResponse tokenize(String paymentId, TokenizePaymentRequest body, CallContext context)
paymentId
- Stringbody
- TokenizePaymentRequestcontext
- 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 PaymentResponse processchallenged(String paymentId)
paymentId
- 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 PaymentResponse processchallenged(String paymentId, CallContext context)
paymentId
- 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 PaymentApprovalResponse approve(String paymentId, ApprovePaymentRequest body)
paymentId
- Stringbody
- ApprovePaymentRequestValidationException
- 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 PaymentApprovalResponse approve(String paymentId, ApprovePaymentRequest body, CallContext context)
paymentId
- Stringbody
- ApprovePaymentRequestcontext
- 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 CaptureResponse capture(String paymentId, CapturePaymentRequest body)
paymentId
- Stringbody
- CapturePaymentRequestValidationException
- 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 CaptureResponse capture(String paymentId, CapturePaymentRequest body, CallContext context)
paymentId
- Stringbody
- CapturePaymentRequestcontext
- 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 CancelApprovalPaymentResponse cancelapproval(String paymentId)
paymentId
- 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 CancelApprovalPaymentResponse cancelapproval(String paymentId, CallContext context)
paymentId
- 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 CapturesResponse captures(String paymentId)
paymentId
- 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 CapturesResponse captures(String paymentId, CallContext context)
paymentId
- 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 RefundResponse refund(String paymentId, RefundRequest body)
paymentId
- Stringbody
- RefundRequestDeclinedRefundException
- if the Worldline Global Collect platform declined / rejected the refund. The refund 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 RefundResponse refund(String paymentId, RefundRequest body, CallContext context)
paymentId
- Stringbody
- RefundRequestcontext
- CallContextDeclinedRefundException
- if the Worldline Global Collect platform declined / rejected the refund. The refund 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 RefundsResponse refunds(String paymentId)
paymentId
- 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 RefundsResponse refunds(String paymentId, CallContext context)
paymentId
- 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 CancelPaymentResponse cancel(String paymentId)
paymentId
- 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 CancelPaymentResponse cancel(String paymentId, CallContext context)
paymentId
- 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 DisputeResponse dispute(String paymentId, CreateDisputeRequest body)
paymentId
- Stringbody
- CreateDisputeRequestValidationException
- 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 DisputeResponse dispute(String paymentId, CreateDisputeRequest body, CallContext context)
paymentId
- Stringbody
- CreateDisputeRequestcontext
- 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 DisputesResponse disputes(String paymentId)
paymentId
- 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 DisputesResponse disputes(String paymentId, CallContext context)
paymentId
- 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 DeviceFingerprintDetails devicefingerprint(String paymentId)
paymentId
- 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 DeviceFingerprintDetails devicefingerprint(String paymentId, CallContext context)
paymentId
- 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 © 2024 Worldline Global Collect. All rights reserved.