Retrieve a Transaction Intent

Retrieve a Transaction Intent

GET https://api.pos.zmyle.de/service/v1.1/transaction_intents/:intentId

Retrieve a specific transaction intent by its unique ID.

Path Parameters

NameTypeDescription

intentId

string

Unique ID of the transaction intent.

{
    "expiresAt": "20171127T052256Z",
    "statementDescriptor": "MegaStore",
    "retailerId": "15h3k83g45anfnwibyie",
    "amount": 100,
    "giftcardId": "18jja4mf08fn08f7gp9l",
    "id": "18k78hj3e2j65686vhipw560u6sm",
    "status": "NEEDS_CONFIRMATION",
    "createdAt": "20171127T045256Z",
    "currency": "EUR",
    "metadata": {
        "store": "megastore-filiale-holzweg",
        "receiptNumber": "Bon 2017-79732"
    }
}

Example Request

curl https://api.pos.zmyle.de/service/v1.1/transaction_intents/18k78hj3e2j65686vhipw560u6sm \
  -u <api_key>:<api_secret>

Error Response 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.

Last updated