-
Notifications
You must be signed in to change notification settings - Fork 2
Paylink
Antonio Membrides Espinosa edited this page Nov 19, 2021
·
3 revisions
TppSdk = TropiPy({
"credential": {
'id': 'cf33a19425421dcdfc82d26af3b126d0',
'secret': '4a7eb4562e21eca14b9318d685950e3e',
'scope': 'ALLOW_GET_PROFILE_DATA ALLOW_GET_BALANCE ALLOW_EXTERNAL_CHARGE'
}
})
result = TppSdk.get("Paylink").create({
"reference": "demo23232323",
"concept": "some product id",
"description": "some product description",
"favorite": "true",
"amount": 11500,
"currency": "EUR",
"singleUse": "true",
"reasonId": 4,
"reasonDes": "",
"expirationDays": 1,
"userId": "e2931920-e402-11ea-a30d-83c978a74aaa",
"lang": "es",
"urlSuccess": "",
"urlFailed": "",
"urlNotification": "",
"serviceDate": ""
})