issuing

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 13 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
}

func NewClient

func NewClient(
	configuration *configuration.Configuration,
	apiClient client.HttpClient,
) *Client

func (*Client) ActivateCard

func (c *Client) ActivateCard(cardId string) (*cards.ActivateCardResponse, error)

func (*Client) ActivateCardWithContext

func (c *Client) ActivateCardWithContext(
	ctx context.Context,
	cardId string,
) (*cards.ActivateCardResponse, error)

func (*Client) AddTargetToControlProfile added in v2.3.0

func (c *Client) AddTargetToControlProfile(
	controlProfileId, targetId string,
) (*common.MetadataResponse, error)

func (*Client) AddTargetToControlProfileWithContext added in v2.3.0

func (c *Client) AddTargetToControlProfileWithContext(
	ctx context.Context,
	controlProfileId, targetId string,
) (*common.MetadataResponse, error)

func (*Client) AmendDispute added in v2.6.0

func (c *Client) AmendDispute(
	disputeId string,
	request disputes.AmendDisputeRequest,
	idempotencyKey *string,
) (*disputes.IssuingDisputeResponse, error)

AmendDispute submits an amendment to a dispute that is currently blocked from proceeding. It handles both chargeback-stage and escalation-stage amendments.

func (*Client) AmendDisputeWithContext added in v2.6.0

func (c *Client) AmendDisputeWithContext(
	ctx context.Context,
	disputeId string,
	request disputes.AmendDisputeRequest,
	idempotencyKey *string,
) (*disputes.IssuingDisputeResponse, error)

func (*Client) CancelDispute added in v2.3.0

func (c *Client) CancelDispute(disputeId string, idempotencyKey *string) (*common.MetadataResponse, error)

func (*Client) CancelDisputeWithContext added in v2.3.0

func (c *Client) CancelDisputeWithContext(
	ctx context.Context,
	disputeId string,
	idempotencyKey *string,
) (*common.MetadataResponse, error)

func (*Client) CreateCard

func (c *Client) CreateCard(request cards.CardRequest) (*cards.CardResponse, error)

func (*Client) CreateCardWithContext

func (c *Client) CreateCardWithContext(
	ctx context.Context,
	request cards.CardRequest,
) (*cards.CardResponse, error)

func (*Client) CreateCardholder

func (c *Client) CreateCardholder(request cardholders.CardholderRequest) (*cardholders.CardholderResponse, error)

func (*Client) CreateCardholderWithContext

func (c *Client) CreateCardholderWithContext(
	ctx context.Context,
	request cardholders.CardholderRequest,
) (*cardholders.CardholderResponse, error)

func (*Client) CreateControl

func (c *Client) CreateControl(request controls.CardControlRequest) (*controls.CardControlResponse, error)

func (*Client) CreateControlGroup added in v2.3.0

func (*Client) CreateControlGroupWithContext added in v2.3.0

func (c *Client) CreateControlGroupWithContext(
	ctx context.Context,
	request controlgroups.CreateControlGroupRequest,
) (*controlgroups.ControlGroupResponse, error)

func (*Client) CreateControlProfile added in v2.3.0

func (*Client) CreateControlProfileWithContext added in v2.3.0

func (c *Client) CreateControlProfileWithContext(
	ctx context.Context,
	request controlprofiles.ControlProfileRequest,
) (*controlprofiles.ControlProfileResponse, error)

func (*Client) CreateControlWithContext

func (c *Client) CreateControlWithContext(
	ctx context.Context,
	request controls.CardControlRequest,
) (*controls.CardControlResponse, error)

func (*Client) CreateDispute added in v2.3.0

func (c *Client) CreateDispute(
	request disputes.CreateDisputeRequest,
	idempotencyKey *string,
) (*disputes.IssuingDisputeResponse, error)

func (*Client) CreateDisputeWithContext added in v2.3.0

func (c *Client) CreateDisputeWithContext(
	ctx context.Context,
	request disputes.CreateDisputeRequest,
	idempotencyKey *string,
) (*disputes.IssuingDisputeResponse, error)

func (*Client) EnrollThreeDS

func (c *Client) EnrollThreeDS(
	cardId string,
	enrollmentRequest cards.ThreeDSEnrollmentRequest,
) (*cards.ThreeDSEnrollmentResponse, error)

func (*Client) EnrollThreeDSWithContext

func (c *Client) EnrollThreeDSWithContext(
	ctx context.Context,
	cardId string,
	enrollmentRequest cards.ThreeDSEnrollmentRequest,
) (*cards.ThreeDSEnrollmentResponse, error)

func (*Client) EscalateDispute added in v2.3.0

func (c *Client) EscalateDispute(
	disputeId string,
	request disputes.EscalateDisputeRequest,
	idempotencyKey *string,
) (*common.MetadataResponse, error)

func (*Client) EscalateDisputeWithContext added in v2.3.0

func (c *Client) EscalateDisputeWithContext(
	ctx context.Context,
	disputeId string,
	request disputes.EscalateDisputeRequest,
	idempotencyKey *string,
) (*common.MetadataResponse, error)

func (*Client) GetAllControlProfiles added in v2.3.0

func (*Client) GetAllControlProfilesWithContext added in v2.3.0

func (c *Client) GetAllControlProfilesWithContext(
	ctx context.Context,
	query controlprofiles.ControlProfilesQuery,
) (*controlprofiles.ControlProfilesResponse, error)

func (*Client) GetCardControlDetails

func (c *Client) GetCardControlDetails(controlId string) (*controls.CardControlResponse, error)

func (*Client) GetCardControlDetailsWithContext

func (c *Client) GetCardControlDetailsWithContext(
	ctx context.Context,
	controlId string,
) (*controls.CardControlResponse, error)

func (*Client) GetCardControls

func (*Client) GetCardControlsWithContext

func (c *Client) GetCardControlsWithContext(
	ctx context.Context,
	query controls.CardControlsQuery,
) (*controls.CardControlsQueryResponse, error)

func (*Client) GetCardCredentials

func (c *Client) GetCardCredentials(
	cardId string,
	credentialsQuery cards.CardCredentialsQuery,
) (*cards.CardCredentialsResponse, error)

func (*Client) GetCardCredentialsWithContext

func (c *Client) GetCardCredentialsWithContext(
	ctx context.Context,
	cardId string,
	credentialsQuery cards.CardCredentialsQuery,
) (*cards.CardCredentialsResponse, error)

func (*Client) GetCardDetails

func (c *Client) GetCardDetails(cardId string) (*cards.CardDetailsResponse, error)

func (*Client) GetCardDetailsWithContext

func (c *Client) GetCardDetailsWithContext(ctx context.Context, cardId string) (*cards.CardDetailsResponse, error)

func (*Client) GetCardThreeDSDetails

func (c *Client) GetCardThreeDSDetails(cardId string) (*cards.ThreeDSEnrollmentDetailsResponse, error)

func (*Client) GetCardThreeDSDetailsWithContext

func (c *Client) GetCardThreeDSDetailsWithContext(
	ctx context.Context,
	cardId string,
) (*cards.ThreeDSEnrollmentDetailsResponse, error)

func (*Client) GetCardholder

func (c *Client) GetCardholder(cardholderId string) (*cardholders.CardholderDetailsResponse, error)

func (*Client) GetCardholderCards

func (c *Client) GetCardholderCards(cardholderId string) (*cardholders.CardholderCardsResponse, error)

func (*Client) GetCardholderCardsWithContext

func (c *Client) GetCardholderCardsWithContext(
	ctx context.Context,
	cardholderId string,
) (*cardholders.CardholderCardsResponse, error)

func (*Client) GetCardholderWithContext

func (c *Client) GetCardholderWithContext(
	ctx context.Context,
	cardholderId string,
) (*cardholders.CardholderDetailsResponse, error)

func (*Client) GetControlGroupDetails added in v2.3.0

func (c *Client) GetControlGroupDetails(controlGroupId string) (*controlgroups.ControlGroupResponse, error)

func (*Client) GetControlGroupDetailsWithContext added in v2.3.0

func (c *Client) GetControlGroupDetailsWithContext(
	ctx context.Context,
	controlGroupId string,
) (*controlgroups.ControlGroupResponse, error)

func (*Client) GetControlGroups added in v2.3.0

func (*Client) GetControlGroupsWithContext added in v2.3.0

func (c *Client) GetControlGroupsWithContext(
	ctx context.Context,
	query controlgroups.ControlGroupsQuery,
) (*controlgroups.ControlGroupsResponse, error)

func (*Client) GetControlProfileDetails added in v2.3.0

func (c *Client) GetControlProfileDetails(
	controlProfileId string,
) (*controlprofiles.ControlProfileResponse, error)

func (*Client) GetControlProfileDetailsWithContext added in v2.3.0

func (c *Client) GetControlProfileDetailsWithContext(
	ctx context.Context,
	controlProfileId string,
) (*controlprofiles.ControlProfileResponse, error)

func (*Client) GetDigitalCard added in v2.3.0

func (c *Client) GetDigitalCard(digitalCardId string) (*digitalcards.GetDigitalCardResponse, error)

func (*Client) GetDigitalCardWithContext added in v2.3.0

func (c *Client) GetDigitalCardWithContext(
	ctx context.Context,
	digitalCardId string,
) (*digitalcards.GetDigitalCardResponse, error)

func (*Client) GetDispute added in v2.3.0

func (c *Client) GetDispute(disputeId string) (*disputes.IssuingDisputeResponse, error)

func (*Client) GetDisputeWithContext added in v2.3.0

func (c *Client) GetDisputeWithContext(
	ctx context.Context,
	disputeId string,
) (*disputes.IssuingDisputeResponse, error)

func (*Client) GetListTransactions added in v2.3.0

func (c *Client) GetListTransactions(
	query transactions.TransactionsQuery,
) (*transactions.TransactionsListResponse, error)

func (*Client) GetListTransactionsWithContext added in v2.3.0

func (c *Client) GetListTransactionsWithContext(
	ctx context.Context,
	query transactions.TransactionsQuery,
) (*transactions.TransactionsListResponse, error)

func (*Client) GetSingleTransaction added in v2.3.0

func (c *Client) GetSingleTransaction(transactionId string) (*transactions.TransactionResponse, error)

func (*Client) GetSingleTransactionWithContext added in v2.3.0

func (c *Client) GetSingleTransactionWithContext(
	ctx context.Context,
	transactionId string,
) (*transactions.TransactionResponse, error)

func (*Client) RemoveCardControl

func (c *Client) RemoveCardControl(controlId string) (*common.IdResponse, error)

func (*Client) RemoveCardControlWithContext

func (c *Client) RemoveCardControlWithContext(
	ctx context.Context,
	controlId string,
) (*common.IdResponse, error)

func (*Client) RemoveControlGroup added in v2.3.0

func (c *Client) RemoveControlGroup(controlGroupId string) (*common.MetadataResponse, error)

func (*Client) RemoveControlGroupWithContext added in v2.3.0

func (c *Client) RemoveControlGroupWithContext(
	ctx context.Context,
	controlGroupId string,
) (*common.MetadataResponse, error)

func (*Client) RemoveControlProfile added in v2.3.0

func (c *Client) RemoveControlProfile(controlProfileId string) (*common.MetadataResponse, error)

func (*Client) RemoveControlProfileWithContext added in v2.3.0

func (c *Client) RemoveControlProfileWithContext(
	ctx context.Context,
	controlProfileId string,
) (*common.MetadataResponse, error)

func (*Client) RemoveTargetFromControlProfile added in v2.3.0

func (c *Client) RemoveTargetFromControlProfile(
	controlProfileId, targetId string,
) (*common.MetadataResponse, error)

func (*Client) RemoveTargetFromControlProfileWithContext added in v2.3.0

func (c *Client) RemoveTargetFromControlProfileWithContext(
	ctx context.Context,
	controlProfileId, targetId string,
) (*common.MetadataResponse, error)

func (*Client) RenewCard added in v2.3.0

func (c *Client) RenewCard(cardId string, request cards.RenewCardRequest) (*cards.RenewCardResponse, error)

func (*Client) RenewCardWithContext added in v2.3.0

func (c *Client) RenewCardWithContext(
	ctx context.Context,
	cardId string,
	request cards.RenewCardRequest,
) (*cards.RenewCardResponse, error)

func (*Client) RevokeCard

func (c *Client) RevokeCard(
	cardId string,
	revokeCardRequest cards.RevokeCardRequest,
) (*cards.RevokeCardResponse, error)

func (*Client) RevokeCardWithContext

func (c *Client) RevokeCardWithContext(
	ctx context.Context,
	cardId string,
	revokeCardRequest cards.RevokeCardRequest,
) (*cards.RevokeCardResponse, error)

func (*Client) SimulateAuthorization

func (c *Client) SimulateAuthorization(
	request testing.CardAuthorizationRequest,
) (*testing.CardAuthorizationResponse, error)

func (*Client) SimulateAuthorizationWithContext

func (c *Client) SimulateAuthorizationWithContext(
	ctx context.Context,
	request testing.CardAuthorizationRequest,
) (*testing.CardAuthorizationResponse, error)

func (*Client) SimulateClearing

func (c *Client) SimulateClearing(
	transactionId string,
	request testing.CardSimulationRequest,
) (*common.MetadataResponse, error)

func (*Client) SimulateClearingWithContext

func (c *Client) SimulateClearingWithContext(
	ctx context.Context,
	transactionId string,
	request testing.CardSimulationRequest,
) (*common.MetadataResponse, error)

func (*Client) SimulateIncrement

func (c *Client) SimulateIncrement(
	transactionId string,
	request testing.CardSimulationRequest,
) (*testing.CardSimulationResponse, error)

func (*Client) SimulateIncrementWithContext

func (c *Client) SimulateIncrementWithContext(
	ctx context.Context,
	transactionId string,
	request testing.CardSimulationRequest,
) (*testing.CardSimulationResponse, error)

func (*Client) SimulateOobAuthentication added in v2.3.0

func (c *Client) SimulateOobAuthentication(
	request testing.SimulateOobAuthenticationRequest,
) (*common.MetadataResponse, error)

func (*Client) SimulateOobAuthenticationWithContext added in v2.3.0

func (c *Client) SimulateOobAuthenticationWithContext(
	ctx context.Context,
	request testing.SimulateOobAuthenticationRequest,
) (*common.MetadataResponse, error)

func (*Client) SimulateRefund added in v2.3.0

func (c *Client) SimulateRefund(
	transactionId string,
	request testing.SimulateRefundRequest,
) (*common.MetadataResponse, error)

func (*Client) SimulateRefundWithContext added in v2.3.0

func (c *Client) SimulateRefundWithContext(
	ctx context.Context,
	transactionId string,
	request testing.SimulateRefundRequest,
) (*common.MetadataResponse, error)

func (*Client) SimulateReversal

func (c *Client) SimulateReversal(
	transactionId string,
	request testing.CardSimulationRequest,
) (*testing.CardSimulationResponse, error)

func (*Client) SimulateReversalWithContext

func (c *Client) SimulateReversalWithContext(
	ctx context.Context,
	transactionId string,
	request testing.CardSimulationRequest,
) (*testing.CardSimulationResponse, error)

func (*Client) SuspendCard

func (c *Client) SuspendCard(
	cardId string,
	suspendCardRequest cards.SuspendCardRequest,
) (*cards.SuspendCardResponse, error)

func (*Client) SuspendCardWithContext

func (c *Client) SuspendCardWithContext(
	ctx context.Context,
	cardId string,
	suspendCardRequest cards.SuspendCardRequest,
) (*cards.SuspendCardResponse, error)

func (*Client) UpdateCard added in v2.3.0

func (c *Client) UpdateCard(
	cardId string,
	request cards.CardUpdateRequest,
) (*cards.CardUpdateResponse, error)

func (*Client) UpdateCardControl

func (c *Client) UpdateCardControl(
	controlId string,
	updateCardControlRequest controls.UpdateCardControlRequest,
) (*controls.CardControlResponse, error)

func (*Client) UpdateCardControlWithContext

func (c *Client) UpdateCardControlWithContext(
	ctx context.Context,
	controlId string,
	updateCardControlRequest controls.UpdateCardControlRequest,
) (*controls.CardControlResponse, error)

func (*Client) UpdateCardWithContext added in v2.3.0

func (c *Client) UpdateCardWithContext(
	ctx context.Context,
	cardId string,
	request cards.CardUpdateRequest,
) (*cards.CardUpdateResponse, error)

func (*Client) UpdateCardholder added in v2.3.0

func (c *Client) UpdateCardholder(
	cardholderId string,
	request cardholders.CardholderRequest,
) (*cardholders.CardholderUpdateResponse, error)

func (*Client) UpdateCardholderWithContext added in v2.3.0

func (c *Client) UpdateCardholderWithContext(
	ctx context.Context,
	cardholderId string,
	request cardholders.CardholderRequest,
) (*cardholders.CardholderUpdateResponse, error)

func (*Client) UpdateControlProfile added in v2.3.0

func (c *Client) UpdateControlProfile(
	controlProfileId string,
	request controlprofiles.ControlProfileRequest,
) (*controlprofiles.ControlProfileResponse, error)

func (*Client) UpdateControlProfileWithContext added in v2.3.0

func (c *Client) UpdateControlProfileWithContext(
	ctx context.Context,
	controlProfileId string,
	request controlprofiles.ControlProfileRequest,
) (*controlprofiles.ControlProfileResponse, error)

func (*Client) UpdateThreeDS

func (c *Client) UpdateThreeDS(
	cardId string,
	threeDSUpdateRequest cards.ThreeDSUpdateRequest,
) (*cards.ThreeDSUpdateResponse, error)

func (*Client) UpdateThreeDSWithContext

func (c *Client) UpdateThreeDSWithContext(
	ctx context.Context,
	cardId string,
	threeDSUpdateRequest cards.ThreeDSUpdateRequest,
) (*cards.ThreeDSUpdateResponse, error)

Jump to

Keyboard shortcuts

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