get
https://api.myvendy.com/transactions/
Merchant API authentication requires BOTH headers: AccessKey and SecretKey. Aliases also accepted: x-access-key / x-secret-key, and accesskey / secretkey (and access_key / secret_key).
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Gets one transaction by its refid. Use it to check a payment's status if you missed a webhook.
Request:
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| id | Path | String | Yes | The transaction's refid |
| businessId | Query | Integer | No | Ignored when you use API keys. See Authentication |
Example request
curl --location 'https://api.myvendy.com/transactions/4930517800770623045' \
--header "AccessKey: $VENDY_ACCESS_KEY" \
--header "SecretKey: $VENDY_SECRET_KEY"Response:
| Field | Type | Description |
|---|---|---|
| status | Boolean | States if request was successfully executed or not |
| code | Integer | Internal code, success if 200 |
| msg | String | Transaction |
| data | Transaction | The transaction |
The full example is in the response panel.
Possible errors
| Error code | Description |
|---|---|
327 | Transaction not found |
342 | The transaction belongs to another business, or your keys lack permission |
