Posts: 1
Registered: ‎04-03-2020

Generating Payment Nonce in Python

I need to generate a payment nonce in Python. I found an unmerged pull request on GitHub that almost meets my needs exactly. I am attempting to adapt it for my purposes but I don't know what this `refId` variable is or where it comes from. I think `refId` is a misnomer because it is later used in thsi assignment:


    getCustomerPaymentProfileNonceRequest.connectedAccessToken = refId

The value appears to be a base64 encoded string. Where does it come from? More importantly, where is the documentation for `getCustomerPaymentProfileNonceRequest` that explains all of the fields for this kind of request?