Modifying an alias

To modify and existing token, fill the alias_to_update field in the POST TOKEN request with the token ID.

Example of a POST TOKEN call:

{
	"marketplace": "2434c0a2-9d46-4e96-9553-1536c898625b",
	"alias_to_update": "IDPAYMENT1",
	"url_return": "http://www.my-website.com/",
	"buyer": {
		"type": "PRIVATE",
		"first_name": "Jean",
		"last_name": "Dupond",
		"email": "jean.dupond@lyra.fr",
		"phone_number": "1234",
		"reference": "Buyer_1",
		"address": {
			"zipcode": "59259",
			"street_number": "37",
			"country": "FR",
			"street": "rue Marcel Philippe",
			"city": "Vignoux"
		}
	}
}