balanceinquiries

package
v0.0.0-...-1f07f51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2024 License: BSD-3-Clause, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client represents a BalanceInquiries client. Thread-safe.

func NewClient

func NewClient(parent *communicator.APIResource, pathContext map[string]string) (*Client, error)

NewClient constructs a new BalanceInquiries client

parent is the communicator.APIResource on top of which we want to build the new BalanceInquiries client

func (*Client) ProcessBalanceInquiry

ProcessBalanceInquiry represents the resource /processing/v1/{acquirerId}/{merchantId}/balance-inquiries - Balance inquiry

Documentation can be found at https://docs.acquiring.worldline-solutions.com/api-reference#tag/Balance-Inquiries/operation/processBalanceInquiry

Can return any of the following errors:

  • ValidationError if the request was not correct and couldn't be processed (HTTP status code 400)
  • AuthorizationError if the request was not allowed (HTTP status code 403)
  • ReferenceError 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)
  • PlatformError if something went wrong at the Worldline Acquiring platform, the Worldline Acquiring 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)
  • APIError if the Worldline Acquiring platform returned any other error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL