Exemplo n.º 1
0
        public TransactionResponse SubmitSecondaryTransaction(string transactionId, SecondaryTransaction payload, string storeId = null, string region = null)
        {
            Signature signatureService = GetSignatureService();
            string    messageSignature = signatureService.Sign(JsonConvert.SerializeObject(payload));

            return(payApi.SubmitSecondaryTransaction(
                       CONTENT_TYPE,
                       signatureService.ClientRequestId,
                       GetApiKey(),
                       signatureService.TimeStamp,
                       transactionId,
                       payload,
                       messageSignature,
                       region,
                       storeId
                       ));
        }