PaymentCardReader Token

Hi All,

I would like to know what kind of JWT I have to create. This is the text from the Docs:

" get a JSON web token (JWT) from your payment service provider that includes the merchant’s unique identifier "

and

" Valid and signed token from a participating payment service provider. "

It's possible to have an example of JWT Token ? Because I tried some kind of JWT but I always got the same error:

" PaymentCardReaderError.invalidReaderToken(_:) An error that indicates an invalid, non-empty reader token. "

https://developer.apple.com/documentation/proximityreader/adding-support-for-tap-to-pay-on-iphone-to-your-app

Thanks Gianluca,

Answered by DTS Engineer in 810128022

Hi @UnoNormale,

You wrote:

[...] I would like to know what kind of JWT I have to create. [...]

The documentation you linked above mentions the following:

To display the Terms and Conditions for Tap to Pay on iPhone, get a JSON web token (JWT) from your payment service provider that includes the merchant’s unique identifier.

Please contact your Payment Service Provider (PSP) for the JWS specs and the JWT used for the payment card reader. This information is provided to you from the PSP directly.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Hi @UnoNormale,

You wrote:

[...] I would like to know what kind of JWT I have to create. [...]

The documentation you linked above mentions the following:

To display the Terms and Conditions for Tap to Pay on iPhone, get a JSON web token (JWT) from your payment service provider that includes the merchant’s unique identifier.

Please contact your Payment Service Provider (PSP) for the JWS specs and the JWT used for the payment card reader. This information is provided to you from the PSP directly.

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

PaymentCardReader Token
 
 
Q