Skip to content

Latest commit

 

History

History
241 lines (191 loc) · 16.7 KB

File metadata and controls

241 lines (191 loc) · 16.7 KB

ActualizarDatosDelPSUSeleccionarMetodoSCA

(ActualizarDatosDelPSUSeleccionarMetodoSCA)

Available Operations

PutSeleccionarSCAAutorizacionCancelacionPago

Endpoint en caso de actualizacion de datos PSU (seleccionar método SCA) - Autorización de Cancelación de Pago

Example Usage

package main

import(
	tjsolerpsd2 "github.com/speakeasy-sdks/tjsoler-psd2"
	"context"
	"github.com/speakeasy-sdks/tjsoler-psd2/pkg/models/operations"
	"log"
)

func main() {
    s := tjsolerpsd2.New()

    ctx := context.Background()
    res, err := s.ActualizarDatosDelPSUSeleccionarMetodoSCA.PutSeleccionarSCAAutorizacionCancelacionPago(ctx, operations.PutSeleccionarSCAAutorizacionCancelacionPagoRequest{
        Digest: "<value>",
        PSUIPAddress: "<value>",
        Signature: "<value>",
        TPPSignatureCertificate: "<value>",
        XRequestID: "<value>",
        Aspsp: operations.AspspBff,
        AuthorisationID: "<value>",
        PaymentID: "<value>",
        PaymentProduct: operations.PaymentProductDomesticCrossCurrencyPaymentsUk,
        PaymentService: operations.PaymentServicePayments,
    })
    if err != nil {
        log.Fatal(err)
    }
    if res != nil {
        // handle response
    }
}

Parameters

Parameter Type Required Description
ctx context.Context ✔️ The context to use for the request.
request operations.PutSeleccionarSCAAutorizacionCancelacionPagoRequest ✔️ The request object to use for the request.

Response

*operations.PutSeleccionarSCAAutorizacionCancelacionPagoResponse, error

Error Object Status Code Content Type
sdkerrors.SDKError 4xx-5xx /

PutSeleccionarSCAAutorizacionConsentimientosAIS

Endpoint en caso de actualizacion de datos PSU (seleccionar método SCA) - Autorización de Consentimientos AIS

Example Usage

package main

import(
	tjsolerpsd2 "github.com/speakeasy-sdks/tjsoler-psd2"
	"context"
	"github.com/speakeasy-sdks/tjsoler-psd2/pkg/models/shared"
	"github.com/speakeasy-sdks/tjsoler-psd2/pkg/models/operations"
	"log"
)

func main() {
    s := tjsolerpsd2.New()

    ctx := context.Background()
    res, err := s.ActualizarDatosDelPSUSeleccionarMetodoSCA.PutSeleccionarSCAAutorizacionConsentimientosAIS(ctx, operations.PutSeleccionarSCAAutorizacionConsentimientosAISRequest{
        Digest: "<value>",
        PSUIPAddress: "<value>",
        RequestUpdatePSUData: shared.RequestUpdatePSUData{
            AuthenticationMethodID: "<value>",
        },
        Signature: "<value>",
        TPPSignatureCertificate: "<value>",
        XRequestID: "<value>",
        Aspsp: operations.PathParamAspspOpenbank,
        AuthorisationID: "<value>",
        ConsentIDPathParameter: "<value>",
    })
    if err != nil {
        log.Fatal(err)
    }
    if res != nil {
        // handle response
    }
}

Parameters

Parameter Type Required Description
ctx context.Context ✔️ The context to use for the request.
request operations.PutSeleccionarSCAAutorizacionConsentimientosAISRequest ✔️ The request object to use for the request.

Response

*operations.PutSeleccionarSCAAutorizacionConsentimientosAISResponse, error

Error Object Status Code Content Type
sdkerrors.SDKError 4xx-5xx /

PutSeleccionarSCAAutorizacionConsentimientosFCS

Endpoint en caso de actualizacion de datos PSU (seleccionar método SCA) - Autorización de Consentimientos FCS

Example Usage

package main

import(
	tjsolerpsd2 "github.com/speakeasy-sdks/tjsoler-psd2"
	"context"
	"github.com/speakeasy-sdks/tjsoler-psd2/pkg/models/shared"
	"github.com/speakeasy-sdks/tjsoler-psd2/pkg/models/operations"
	"log"
)

func main() {
    s := tjsolerpsd2.New()

    ctx := context.Background()
    res, err := s.ActualizarDatosDelPSUSeleccionarMetodoSCA.PutSeleccionarSCAAutorizacionConsentimientosFCS(ctx, operations.PutSeleccionarSCAAutorizacionConsentimientosFCSRequest{
        Digest: "<value>",
        PSUIPAddress: "<value>",
        RequestUpdatePSUData: shared.RequestUpdatePSUData{
            AuthenticationMethodID: "<value>",
        },
        Signature: "<value>",
        TPPSignatureCertificate: "<value>",
        XRequestID: "<value>",
        Aspsp: operations.PutSeleccionarSCAAutorizacionConsentimientosFCSPathParamAspspEurocajarural,
        AuthorisationID: "<value>",
        ConsentIDPathParameter: "<value>",
    })
    if err != nil {
        log.Fatal(err)
    }
    if res != nil {
        // handle response
    }
}

Parameters

Parameter Type Required Description
ctx context.Context ✔️ The context to use for the request.
request operations.PutSeleccionarSCAAutorizacionConsentimientosFCSRequest ✔️ The request object to use for the request.

Response

*operations.PutSeleccionarSCAAutorizacionConsentimientosFCSResponse, error

Error Object Status Code Content Type
sdkerrors.SDKError 4xx-5xx /

PutSeleccionarSCAAutorizacionInicioPago

Endpoint en caso de actualizacion de datos PSU (seleccionar método SCA) - Autorización de Inicio de Pago

Example Usage

package main

import(
	tjsolerpsd2 "github.com/speakeasy-sdks/tjsoler-psd2"
	"context"
	"github.com/speakeasy-sdks/tjsoler-psd2/pkg/models/shared"
	"github.com/speakeasy-sdks/tjsoler-psd2/pkg/models/operations"
	"log"
)

func main() {
    s := tjsolerpsd2.New()

    ctx := context.Background()
    res, err := s.ActualizarDatosDelPSUSeleccionarMetodoSCA.PutSeleccionarSCAAutorizacionInicioPago(ctx, operations.PutSeleccionarSCAAutorizacionInicioPagoRequest{
        Digest: "<value>",
        PSUIPAddress: "<value>",
        RequestUpdatePSUData: shared.RequestUpdatePSUData{
            AuthenticationMethodID: "<value>",
        },
        Signature: "<value>",
        TPPSignatureCertificate: "<value>",
        XRequestID: "<value>",
        Aspsp: operations.PutSeleccionarSCAAutorizacionInicioPagoPathParamAspspArquia,
        AuthorisationID: "<value>",
        PaymentID: "<value>",
        PaymentProduct: operations.PathParamPaymentProductDomesticChapsPaymentsUk,
        PaymentService: operations.PathParamPaymentServiceBulkPayments,
    })
    if err != nil {
        log.Fatal(err)
    }
    if res != nil {
        // handle response
    }
}

Parameters

Parameter Type Required Description
ctx context.Context ✔️ The context to use for the request.
request operations.PutSeleccionarSCAAutorizacionInicioPagoRequest ✔️ The request object to use for the request.

Response

*operations.PutSeleccionarSCAAutorizacionInicioPagoResponse, error

Error Object Status Code Content Type
sdkerrors.SDKError 4xx-5xx /