Update a subscription
POST
/api/payment/rebill/updateThis webservice allows you to update the amount of an existing and active subscription, from one of the attached transactions.
Request
Body Params application/x-www-form-urlencoded
Tid
number
required
Unique Easytransac identifier for a subscription transaction
Amount
number
required
New subscription amount, in centimes
Language
string
optional
Language of the potential errors returned
Signature
string
required
Signature to verify the integrity of the data sent
Responses
Réponse(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
Code
integer
optional
Example:
0
Signature
string
optional
Example:
1f51786246a940677afe71f6968972fd46500bd1
Result
object
optional
Tid
string
optional
Example:
a1b2c3d4
Message
string
optional
Example:
Amount updated
Amount
string
optional
Example:
29.00
Example
{
"Code": 0,
"Signature": "1f51786246a940677afe71f6968972fd46500bd1",
"Result": {
"Tid": "a1b2c3d4",
"Message": "Amount updated",
"Amount": "29.00"
}
}
Modified at 3 months ago