2025-01-20
  • 2025-03-25
  • 2025-01-20
  • 2022-03-14
Help Center
VCCHUB How-to
2025-01-20
  • 2025-03-25
  • 2025-01-20
  • 2022-03-14
  1. Acquiring
  • Guides
    • Welcome
    • Interface
  • API Reference
    • Introduction
    • Endpoints
    • Data Types
    • Signing
    • Errors
    • Webhooks
    • Items Information
    • Changelog
    • Acquiring
      • Create a direct payment
        POST
      • Create a redirect (iFrame) payment
        POST
      • Capture a transaction
        POST
      • Review a transaction
        POST
      • Cancel a transaction
        POST
      • Query a transaction
        POST
      • Refund a transaction
        POST
      • Search a refund transaction
        POST
      • Create a payout
        POST
      • Optimise payment methods
        POST
      • Update an order
        POST
    • Issuing
      • Cardholder
        • Create cardholder
          POST
        • Delete cardholder
          POST
        • Query cardholder
          POST
      • Card
        • Query card BIN
        • Create a card
        • Query card details
        • Recharge card
        • Withdraw from a card
        • Cancel a card
        • Update card status
        • Update card limit
  • Appendix
    • Test Cards
    • Bank Code
    • Country Code
    • Currency Code
    • Payment Methods
  1. Acquiring

Update an order

POST
https://test-api.star-saas.com/v1/updateOrders
This endpoint is only for transactions that only use risk product Pulse .
It allows you to update the transaction information (include status, 3DS verification, etc) of no more than 50 orders at one time, this information is very helpful to optimize risk.

Request

Header Params

Body Params application/json

Example
{
    "merchant_id": "15670",
    "account_id": "15670001",
    "encryption_data": "7ECECE4B1687DC8E4A6B5B8086AE68CBC567E33D8B5DFDC810DBDE077CB377E4",
    "update_orders": [
        {
            "transaction_id": "1667308950627942400",
            "status": "1",
            "ispass3d": "1"
        },
        {
            "transaction_id": "1667309703538147328",
            "status": "0",
            "ispass3d": "1"
        }
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api.star-saas.com/v1/updateOrders' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-raw '{
    "merchant_id": "15670",
    "account_id": "15670001",
    "encryption_data": "7ECECE4B1687DC8E4A6B5B8086AE68CBC567E33D8B5DFDC810DBDE077CB377E4",
    "update_orders": [
        {
            "transaction_id": "1667308950627942400",
            "status": "1",
            "ispass3d": "1"
        },
        {
            "transaction_id": "1667309703538147328",
            "status": "0",
            "ispass3d": "1"
        }
    ]
}'

Responses

🟢200Success
application/json
Body

Example
{
    "merchant_id": "15670",
    "account_id": "15670001",
    "return_message": "OK",
    "return_status": "1",
    "encryption_data": "7ECECE4B1687DC8E4A6B5B8086AE68CBC567E33D8B5DFDC810DBDE077CB377E4"
}
Previous
Optimise payment methods
Next
Create cardholder