The user needs to be logged in to use this endpoint, click here to read more.
Information and functions related to recurring payment tokens.
Produces a list with tokens related to users Connect customer. Response is based on tokens registered in ConnectID, i.e tokens received from Connect and stored in ConnectID. Only tokens marked as valid are returned.
OK
Array of objects |
Bad Request
Too Many Requests
Internal Server Error
{- "paymentRecurrenceTokens": [
- {
- "recurrenceToken": "4v8nwodhfja",
- "paymentProviderId": 11,
- "merchantId": "45723589",
- "productCode": "CO27409",
- "maskedCardNumber": "xxxx-xxxxxx-x2348",
- "expirationMonth": "12",
- "expirationYear": "18",
- "cardTypeName": "VISA"
}
]
}
The user needs to be logged in to use this endpoint, click here to read more.
Use the id from the response to complete the adding the card by redirecting the customer to loginServer/payment/payex/token/add?clientId=…&returnUrl=….&errorUrl=…..&transactionId=12378954
. The system will redirect the customer to the proper third-party system for the change, and upon success will then redirect to the given returnUrl
. If an system error occurs, the given errorUrl
will be used instead.
In addition to return url will be returned the result of operation:
errorUrl
.{- "tokenType": "card",
- "productCode": "CO27409"
}
{- "success": true,
- "transactionId": 12378954
}
The user needs to be logged in to use this endpoint, click here to read more.
This API can be used for removing tokens from a payex paymentprovider
{- "paymentProviderId": "11",
- "recurrenceToken": "4v8nwodhfja"
}
{- "success": true
}