Payment information
API endpoint (GET) |
---|
https://api.maibmerchants.md/v1/pay-info/{payId} |
Ensure that the Content-Type header and body are excluded from requests to this endpoint.
Request parameter (URL path)
Parameter | Required | Type | Description |
---|---|---|---|
payId | YES | String(UUID) | Transaction identifier |
Request example (CURL)
Response parameters
Parameter | Type | Description |
---|---|---|
result | Object | Object containing transaction data. |
| String | Transaction identifier assigned by maib ecomm. |
| String | Order ID generated by Merchant website/app. |
| String | Card identifier registered in maib ecomm system (for recurring/one-click payments). |
| String | The date (month/year) until which the card data will be saved in maib ecomm system (for recurring/one-click payments). Format: MMYY (e.g: 1229 - december 2029). |
| String | |
| String | Transaction status code |
| String | Transaction status information message |
| String | |
| String | RRN - Transaction ID generated by maib. |
| String | Approval Code - The transaction approval code generated by the card issuing bank. |
| String | Masked number card. |
| Number(decimal) | Transaction amount. Format: X.XX |
| Number(decimal) | Amount debited from Customer's account in format X.XX (for two-step payments). |
| Number(decimal) | Amount refunded to Buyer in formatt X.XX (for refunded payments). |
| String | Transaction currency (MDL/EUR/USD). |
| String | Payment description. |
| String | Customer IP |
| String | Customer Name Surname |
| String | Customer email |
| String | Customer phone |
| String | Shipping cost |
| Array | The products or services ordered from the website/app |
- id | String | Product ID |
- name | String | Product name |
- price | Number(decimal) | Product price |
- quantity | Integer | Product quantity |
ok | Boolean | Request/transaction processing status. true - no errors false - an error occurred (error details will be in errors) |
errors | Array | Request/transaction processing errors. Errors table |
| String | Error code |
| String | Error description |
| Object | Object contains parameters with error details |
Example
Last updated