Confirm a Transaction Intent
Confirm a Transaction Intent
POST
https://api.pos.zmyle.de/service/v1.1/transaction_intents/:intentId/confirm
You can confirm a transaction intent as long as it has the status "NEEDS_CONFIRMATION". This will transfer the transaction intent into a transaction on the gift card. The funds will not be on hold anymore but get committed to the gift card balance.
Path Parameters
Name | Type | Description |
---|---|---|
intentId | string | Unique ID of the transaction intent. |
Example Request
Response Error Codes
error code | reason |
api:io:malformedId | The transaction intent ID is not right. |
api:biz:noSuchTransactionIntent | The API could not find the transaction intent. |
api:biz:transactionIntentStatus | This transaction intent cannot be confirmed b/c its status does not allow confirmation. |
Last updated