updateOrder/{id}/reconciliationIdentifier
HTTP method: PATCH
Use the updateOrder/{id}/reconciliationIdentifier method to update merchant reconciliation identifier for a given payment transaction.
| Parameter | Description | Type | Notes |
|---|---|---|---|
| {paymentId} | Payment id for which the related transaction is to have a merchant reconciliation identifier updated. | string |
| Parameter | Description | Type | Notes |
|---|---|---|---|
| currentMerchantReconciliationIdentifier | Current merchant reconciliation identifier which should be updated. | string | |
| newMerchantReconciliationIdentifier | A new value that will replace the current one. | string |
| Parameter | Description | Type | Notes |
|---|---|---|---|
| Result | Success | string | It will be set only in case of success. Otherwise, error code and error message will be provided in a header element. See API Response structure (XML). |
PATCH call
curl --request PATCH \
--url https://<YourShopName>.altapaysecure.com/merchant/API/updateOrder/4187a57a-5377-47b3-bcff-9ac21e551910/reconciliationIdentifier \
--header 'Authorization: Basic auth' \
--header 'Content-Type: multipart/form-data' \
--header 'User-Agent: insomnia/8.2.0' \
--form currentMerchantReconciliationIdentifier=15b3f4f1-7805-48b3-a6ae-78c997cd8aca \
--form newMerchantReconciliationIdentifier=222222
XML response
<?xml version="1.0" encoding="utf-8" ?>
<APIResponse version="20170228">
<Header>
<Date>2024-04-17T14:25:16+00:00</Date>
<Path>API/updateOrder/4187a57a-5377-47b3-bcff-9ac21e551910/reconciliationIdentifier</Path>
<ErrorCode>0</ErrorCode>
<ErrorMessage/>
</Header>
<Body>
<Result>Success</Result>
</Body>
</APIResponse>