Confirm Order
V1
post /insurance/marine/v1/orders/{order_id}/confirm
This endpoint to confirm order.
Request Header
Name | Type | Required | Description |
---|---|---|---|
authorization | string | Required | Bearer token |
content-type | string | Required | application/json |
Request Body
Name | Type | Required | Description |
---|---|---|---|
trans_no | string | Required | Unique string that the client can create to track the current request call. |
order_id | guid | Required | The order id |
payment | object | Optional | Json object containing details of the Payment |
transaction_by | guid | Required | Globally unique identifier value of the user id Provided by AXA |
Payment Reference
Name | Type | Required | Description |
---|---|---|---|
currency_code | string | Required |
Currency code
Max length: 3 The currentcy code that represented by the following options: For options refer to Currency |
amount | string | Required | Payment amount in the transaction |
payment_date | date | Required | Timestamp of when the payment was created |
payment_ref | string | Required |
Payment reference id between Payment Gateway and AXA
Max length: 50 |
user_ref1 | string | Optional |
Any value that was defined by user
Max length: 50 |
user_ref2 | string | Optional |
Any value that was defined by user
Max length: 50 |
Example request
Response
Name | Type | Description |
---|---|---|
trans_no | string | Unique string the client made the request |
status | string |
Order status
|
message | string | |
order_id | string | Unique Order id |
policies | array[object] | Array of Policy |
Policy Reference
Name | Type | Description |
---|---|---|
policy_id | guid | Unique Policy id |
policy_no | string | Unique Policy number |
policy_type | string | Type of policy |
downloads | array[object] | Array of Download |
Download Reference
Name | Type | Description |
---|---|---|
type | string |
Type of download
|
layer | string |
Type of layer
|
link | string | Hyperlink points to a whole document |