payutc

Documentation for websale

createTransaction

Request

items IDs of the products. This is a string with the following form, where we are selling 2 units of product_id 351 and 1 unit of product_id 355:
    {'351': 2, '355': 1}
    
fun_id ID of the fundation selling the items
mail Email address for the customer (will be used if payment is done without a payutc account)
return_url URL to redirect the customer after the payment
callback_url URL to ping when the payment has been validated (currently not supported)

Response

tra_id The transaction ID
url URL that the customer should be redirected to in order to proceed through payment