(ServiciosMultibanco )
DeleteAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentID
Esta petición permite iniciar la cancelación de un pago. Dependiendo del servicio de pago, el producto de pago y la implementación del ASPSP, esta petición podría ser suficiente para cancelar el pago o podría ser necesario una autorización. Si una autorización de la cancelación de pago es necesaria por el ASPSP, el link correspondiente será contenido en el mensaje de respuesta
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 .ServiciosMultibanco .DeleteAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentID (ctx , operations.DeleteAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDRequest {
Digest : "<value>" ,
PSUIPAddress : "<value>" ,
Signature : "<value>" ,
TPPSignatureCertificate : "<value>" ,
XRequestID : "<value>" ,
AspName : "<value>" ,
MultibancoPaymentType : "<value>" ,
PaymentID : "<value>" ,
})
if err != nil {
log .Fatal (err )
}
if res .ResponseDeleteMultibankPayment != nil {
// handle response
}
}
*operations.DeleteAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDResponse , error
Error Object
Status Code
Content Type
sdkerrors.SDKError
4xx-5xx
/
Petición iniciada por el TPP para obtener el catálogo de pagos MULTIBANCO.
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 .ServiciosMultibanco .GetMultibancoCatalogue (ctx , operations.GetMultibancoCatalogueRequest {
Digest : "<value>" ,
Signature : "<value>" ,
TPPSignatureCertificate : "<value>" ,
XRequestID : "<value>" ,
AspName : "<value>" ,
MultibancoPaymentType : "<value>" ,
})
if err != nil {
log .Fatal (err )
}
if res .Body != nil {
// handle response
}
}
*operations.GetMultibancoCatalogueResponse , error
Error Object
Status Code
Content Type
sdkerrors.SDKError
4xx-5xx
/
GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentID
Este mensaje es enviado por el TPP hacia el ASPSP a través del HUB para la recuperación de información del inicio de pago MULTIBANCO.
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 .ServiciosMultibanco .GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentID (ctx , operations.GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDRequest {
Digest : "<value>" ,
PSUIPAddress : "<value>" ,
Signature : "<value>" ,
TPPSignatureCertificate : "<value>" ,
XRequestID : "<value>" ,
AspName : "<value>" ,
MultibancoPaymentType : "<value>" ,
PaymentID : "<value>" ,
})
if err != nil {
log .Fatal (err )
}
if res .ResponseGetMultibankPayment != nil {
// handle response
}
}
*operations.GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDResponse , error
Error Object
Status Code
Content Type
sdkerrors.SDKError
4xx-5xx
/
GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisations
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 .ServiciosMultibanco .GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisations (ctx , operations.GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsRequest {
Digest : "<value>" ,
PSUIPAddress : "<value>" ,
Signature : "<value>" ,
TPPSignatureCertificate : "<value>" ,
XRequestID : "<value>" ,
AspName : "<value>" ,
MultibancoPaymentType : "<value>" ,
PaymentID : "<value>" ,
})
if err != nil {
log .Fatal (err )
}
if res .ResponseMultibankAuthorizationSubresources != nil {
// handle response
}
}
*operations.GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsResponse , error
Error Object
Status Code
Content Type
sdkerrors.SDKError
4xx-5xx
/
GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsAuthorisationID
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 .ServiciosMultibanco .GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsAuthorisationID (ctx , operations.GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsAuthorisationIDRequest {
Digest : "<value>" ,
PSUIPAddress : "<value>" ,
Signature : "<value>" ,
TPPSignatureCertificate : "<value>" ,
XRequestID : "<value>" ,
AspName : "<value>" ,
AuthorisationID : "<value>" ,
MultibancoPaymentType : "<value>" ,
PaymentID : "<value>" ,
})
if err != nil {
log .Fatal (err )
}
if res .ResponseMultibankGetSCAStatus != nil {
// handle response
}
}
*operations.GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsAuthorisationIDResponse , error
Error Object
Status Code
Content Type
sdkerrors.SDKError
4xx-5xx
/
GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDStatus
Mensaje enviado por el TPP al ASPSP a través del Hub para solicitar el estado en el que se encuentra una iniciación de pago.
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 .ServiciosMultibanco .GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDStatus (ctx , operations.GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDStatusRequest {
Digest : "<value>" ,
PSUIPAddress : "<value>" ,
Signature : "<value>" ,
TPPSignatureCertificate : "<value>" ,
XRequestID : "<value>" ,
AspName : "<value>" ,
MultibancoPaymentType : "<value>" ,
PaymentID : "<value>" ,
})
if err != nil {
log .Fatal (err )
}
if res .ResponseGetStatusMultibankPayment != nil {
// handle response
}
}
*operations.GetAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDStatusResponse , error
Error Object
Status Code
Content Type
sdkerrors.SDKError
4xx-5xx
/
PostAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisations
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 .ServiciosMultibanco .PostAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisations (ctx , operations.PostAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsRequest {
Digest : "<value>" ,
PSUIPAddress : "<value>" ,
Signature : "<value>" ,
TPPSignatureCertificate : "<value>" ,
XRequestID : "<value>" ,
AspName : "<value>" ,
MultibancoPaymentType : "<value>" ,
PaymentID : "<value>" ,
})
if err != nil {
log .Fatal (err )
}
if res .ResponseMultibankAuthorizeConsentEstablishment != nil {
// handle response
}
}
*operations.PostAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsResponse , error
Error Object
Status Code
Content Type
sdkerrors.SDKError
4xx-5xx
/
PostAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentType
Mensaje enviado por el TPP al ASPSP a través del Hub para crear un inicio de pago MULTIBANCO
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 .ServiciosMultibanco .PostAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentType (ctx , operations.PostAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypeRequest {
Digest : "<value>" ,
PSUIPAddress : "<value>" ,
RequestStartMultibankPayment : shared.RequestStartMultibankPayment {
EntityCode : tjsolerpsd2 .Int64 (10003 ),
OperationReference : tjsolerpsd2 .String ("1501ab4e-6904-11ea-bc55-0242ac130003" ),
ParameterCode : tjsolerpsd2 .Int64 (3 ),
PaymentReference : tjsolerpsd2 .String ("123456789" ),
PaymentType : tjsolerpsd2 .Int64 (1 ),
PaymentTypeCode : tjsolerpsd2 .String ("05" ),
RequestedExecutionDate : tjsolerpsd2 .String ("2018-05-17T00:00:00Z" ),
TaxpayerIdentificationNumber : tjsolerpsd2 .Int64 (6244688226942976 ),
TsuCenterCode : tjsolerpsd2 .Int64 (2698 ),
},
Signature : "<value>" ,
TPPSignatureCertificate : "<value>" ,
XRequestID : "<value>" ,
AspName : "<value>" ,
MultibancoPaymentType : "<value>" ,
})
if err != nil {
log .Fatal (err )
}
if res .ResponseStartMultibankPayment != nil {
// handle response
}
}
*operations.PostAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypeResponse , error
Error Object
Status Code
Content Type
sdkerrors.SDKError
4xx-5xx
/
PostAPIEntradaXs2aServicesAspNameV11MultibancoSocialSecurityWithholding
Mensaje enviado por el TPP al ASPSP a través del Hub para conocer el valor del importe a pagar en la seguridad social.
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 .ServiciosMultibanco .PostAPIEntradaXs2aServicesAspNameV11MultibancoSocialSecurityWithholding (ctx , operations.PostAPIEntradaXs2aServicesAspNameV11MultibancoSocialSecurityWithholdingRequest {
Digest : "<value>" ,
PSUIPAddress : "<value>" ,
RequestSocialSecurityWithholding : shared.RequestSocialSecurityWithholding {
DebtorAccount : shared.DebtorAccount {},
Niss : tjsolerpsd2 .Int64 (65136589331 ),
Number : 10000000003 ,
PaymentDate : "2020-03-04T00:00:00Z" ,
PaymentNature : 4613978645 ,
PaymentUnit : 1 ,
RemunerationAmount : shared.RemunerationAmount {},
RemunerationCode : 1 ,
},
Signature : "<value>" ,
TPPSignatureCertificate : "<value>" ,
XRequestID : "<value>" ,
AspName : "<value>" ,
})
if err != nil {
log .Fatal (err )
}
if res .ResponseSocialSecurityWithholding != nil {
// handle response
}
}
*operations.PostAPIEntradaXs2aServicesAspNameV11MultibancoSocialSecurityWithholdingResponse , error
Error Object
Status Code
Content Type
sdkerrors.SDKError
4xx-5xx
/
PutAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsAuthorisationID
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 .ServiciosMultibanco .PutAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsAuthorisationID (ctx , operations.PutAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsAuthorisationIDRequest {
Digest : "<value>" ,
PSUIPAddress : "<value>" ,
RequestActualizarDatosPsu : shared.RequestActualizarDatosPsu {
AuthenticationMethodID : tjsolerpsd2 .String ("123" ),
},
Signature : "<value>" ,
TPPSignatureCertificate : "<value>" ,
XRequestID : "<value>" ,
AspName : "<value>" ,
AuthorisationID : "<value>" ,
MultibancoPaymentType : "<value>" ,
PaymentID : "<value>" ,
})
if err != nil {
log .Fatal (err )
}
if res .ResponseMultibankSelectSCAMethod != nil {
// handle response
}
}
*operations.PutAPIEntradaXs2aServicesAspNameV11MultibancoPaymentsMultibancoPaymentTypePaymentIDAuthorisationsAuthorisationIDResponse , error
Error Object
Status Code
Content Type
sdkerrors.SDKError
4xx-5xx
/