Integration Types
Altre funzionalità
Card Payments
Mobile Wallets
Alternative Payment Methods
Resources
Samsung Pay è un servizio di pagamento e wallet digitale di Samsung Electronics che consente di effettuare pagamenti con i dispositivi Samsung supportati. Samsung Pay è una delle modalità di pagamento tramite dispositivo supportate nel Mastercard Gateway.
In questa pagina vengono descritti i dettagli specifici dell'integrazione di Samsung Pay. Si consiglia di leggere le Linee guida per l'integrazione per il pagamento tramite dispositivo prima di creare un'integrazione Samsung Pay.
Per accettare pagamenti Samsung Pay:
È possibile integrare Samsung Pay nell'app mobile utilizzando Direct Payment.
Chiave JSON Samsung Pay |
Campo richiesta API corrispondente |
Descrizione |
---|---|---|
tokenPAN | sourceOfFunds.provided.card.number | Il numero di conto principale specifico del dispositivo. |
tokenPanExpiration | sourceOfFunds.provided.card.expiry.month sourceOfFunds.provided.card.expiry.year |
La data di scadenza del tokenPAN. |
method | sourceOfFunds.provided.card.devicePayment. cryptogramFormat |
Il formato del crittogramma. Impostarlo su 3DSECURE. |
cryptogram | sourceOfFunds.provided.card.devicePayment. 3DSecure.onlinePaymentCryptogram |
Crittogramma in formato 3-D Secure. |
eci_indicator | sourceOfFunds.provided.card.devicePayment. 3DSecure.eciIndicator |
Indicatore ECI per la specifica 3-D Secure. |
currency_code | order.currency | Il codice valuta ISO 4217 per la transazione. |
amount | order.amount | L'importo dell'ordine. |
PAYER_TERMINAL_OFF_PREMISES
o PAYER_TERMINAL_ON_PREMISES
. Se non si specifica un valore, sarà utilizzato PAYER_TERMINAL_OFF_PREMISES
.{ "apiOperation": "AUTHORIZE", "order": { "amount": "1500", "currency": "JPY", "walletProvider": "SAMSUNG_PAY" }, "sourceOfFunds": { "provided": { "card": { "number": "5123450000000008", "expiry": { "month": "01", "year": "39" }, "devicePayment": { "cryptogramFormat": "3DSECURE", "3DSecure": { "onlinePaymentCryptogram": "AAAAAAAALJI6DbfqRzUcwAC6gAAGhgEDoLABAAhAgAABAAAAMlkUxA==", "eciIndicator": "20" } } } }, "type": "CARD" }, "device": { "ani": "12341234" }, "transaction": { "source": "INTERNET" } }
{ "authorizationResponse": { "commercialCard": "123", "commercialCardIndicator": "1", "date": "0405", "financialNetworkCode": "MCC", "posData": "1025104006600", "posEntryMode": "812", "processingCode": "003000", "responseCode": "00", "stan": "269495", "time": "050836", "transactionIdentifier": "689605807", "transactionIntegrityClass": "A1" }, "device": { "ani": "12341234" }, "gatewayEntryPoint": "WEB_SERVICES_API", "merchant": "LOVECRAFTS2I", "order": { "amount": 1500, "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT", "certainty": "ESTIMATED", "chargeback": { "amount": 0, "currency": "JPY" }, "creationTime": "2022-04-05T05:08:35.893Z", "currency": "JPY", "custom": { "ACQ_TOKENIZATION": "true" }, "id": "8961b1ec-3966-4650-a5c8-eee261b3517c", "lastUpdatedTime": "2022-04-05T05:08:36.336Z", "merchantAmount": 1500, "merchantCategoryCode": "1234", "merchantCurrency": "JPY", "status": "AUTHORIZED", "totalAuthorizedAmount": 1500, "totalCapturedAmount": 0, "totalDisbursedAmount": 0, "totalRefundedAmount": 0, "walletProvider": "SAMSUNG_PAY" }, "response": { "acquirerCode": "00", "acquirerMessage": "Approved", "gatewayCode": "APPROVED" }, "result": "SUCCESS", "sourceOfFunds": { "provided": { "card": { "brand": "MASTERCARD", "devicePayment": { "cryptogramFormat": "3DSECURE" }, "deviceSpecificExpiry": { "month": "1", "year": "39" }, "deviceSpecificNumber": "512345xxxxxx0008", "fundingMethod": "UNKNOWN", "number": "xxxxxxxxxxxxxxxx", "scheme": "MASTERCARD", "storedOnFile": "NOT_STORED" } }, "type": "CARD" }, "timeOfLastUpdate": "2022-04-05T05:08:36.336Z", "timeOfRecord": "2022-04-05T05:08:36.014Z", "transaction": { "acquirer": { "batch": 20220405, "date": "0405", "id": "SYSTEST_ACQ_S2I", "merchantId": "123463", "transactionId": "689605807" }, "amount": 1500, "authenticationStatus": "AUTHENTICATION_NOT_IN_EFFECT", "authorizationCode": "112233", "currency": "JPY", "id": "1", "receipt": "209505269495", "source": "INTERNET", "stan": "269495", "terminal": "CBAS2I02", "type": "AUTHORIZATION" }, "version": "63" }
È possibile verificare l'integrazione con il gateway in fase di produzione utilizzando il profilo esercente di prova e un DPAN o FPAN supportato.
Se si sta testando un dispositivo o un pagamento con carta, utilizzare un DPAN o FPAN supportato dalla tabella seguente.
Circuito: |
DPAN o FPAN |
Data di scadenza |
---|---|---|
Mastercard | 5123456789012346 | 01/2039 |
American Express | 340353278080900 | 01/2039 |
Visa | 4440000009900010 | 01/2039 |