Skip to content

update a standing order (V1 – deprecated)

posthttps://api.tranzila.com/v1/sto/update

⚠️ Deprecated (V1). This V1 endpoint is no longer supported. Use the V2 endpoint of the same name instead. It remains documented for reference during migration only.

Deprecated

Migrate to V2

This is a paid modal

Please contact sales to use this modal.

Request

Headers

X-tranzila-api-request-timestringrequired

Request time sent in Unix format (large integer counting seconds from Jan 1 st , 1970 00:00:00

X-tranzila-api-app-keystringrequired

Application public key supplied by Tranzila

X-tranzila-api-noncestringrequired

A 40 bytes NONCE – unique random string generated with any random bytes function

X-tranzila-api-access-tokenstringrequired

hash_hmac using ‘sha256’ on application key with secret + request-time + nonce. hash_hmac is available for all programming languages with samples found here: https://www.jokecamp.com/blog/examples-of-creating-base64-hashes-using-hmac-sha256-in- different-languages/

Body

application/json
terminal_nameterminalNamerequired
sto_idintegerrequired

STO id being updated

Example:4192
sto_statusstring

New STO status

Allowed values:activeinactive
Example:inactive
response_languageAPILanguage
updated_by_userstring
Example:שון כבשון

Responses

The response can be 200 with an Application error code:

Error CodeDescription
20300Too many payment methods
20301Failed to insert STO
20302Failed to retrieve STO
20303No payment method
20305Failed to create token

Response body

response.json
JSON
1{
2  "error_code": 0,
3  "message": "string"
4}
5
Was this page helpful?