v1
latestOpenAPI 3.1.02026-07-26500375.1 KBUpdate Virtual Account API
Use this endpoint to update the properties of an existing virtual account. Common use cases include:
-
Updating the transaction amount for closed virtual accounts
-
Extending or modifying the expiry date of an active virtual account
-
Expiring a virtual account immediately by setting the expiredDate to the current timestamp
This operation requires a valid virtualAccountNo, along with the associated trxId.
Headers
Indicates the media type of the resource. value: application/json
Timestamp in ISO8601 format, Example: 2024-05-14T18:54:57+07:00
Represents Access Token (B2B) of a request; string starts with keyword “Bearer ” followed by Access Token (B2B)
Signature generated by encrypting HTTP method, relative path, access token, minified request body, and timestamp
Unique ID for a partner given by Durianpay upon completing registration. Its value is same as the X-CLIENT-KEY
Unique messaging reference identifier generated by merchant and should be unique within the same day
Device identification on which the API services is currently being accessed by the merchant. Possible value: 95221
Request body
Response
This response indicates that update virtual account was successful.