maib e-commerce API
RORU
  • Terminology
  • Integration steps and requirements
    • Integration steps
    • Integration requirements
  • maib e-commerce API
  • Payments types
  • Access Token generation
  • Direct payment
  • Two-step payment
    • Payment authorization
    • Payment capture
  • Payment refund
  • Payment information
  • Recurring payments
    • Register card in the maib ecomm system
    • Execute recurring payment
  • One-click payments
    • Register card in the maib ecomm system
    • Execute one-click payment
  • Deleting the card from maib ecomm
  • Notifications on Callback Url
  • Transaction and 3D-Secure status
  • Errors
    • API errors
    • HTTP status codes
  • Plugins and Solutions
    • Plugins
    • SDK
    • Tilda
    • Gomag
    • Cartum
    • ECOM
Powered by GitBook
On this page
  • Request parameter (URL path)
  • Response parameters

Deleting the card from maib ecomm

Deleting the card from the maib ecomm system for recurring and one-click payments.

API endpoint (DELETE)

https://api.maibmerchants.md/v1/delete-card/{billerId}

Ensure that the Content-Type header and body are excluded from requests to this endpoint.

Request parameter (URL path)

Parameter
Required
Type
Description

billerId

YES

String(UUID)

Card identifier in the maib ecomm system

Request example

curl --location --request DELETE 'https://api.maibmerchants.md/v1/delete-card/f16a9006-128a-46bc-8e2a-77a6ee99df75' \
--header 'Authorization: Bearer access_token' 

Response parameters

Parameter
Type
Description

result

Object

Object containing the card identifier and the result of the request execution.

  • billerId

String(GUID)

Card identifier in the maib ecomm system.

  • status

String

Request execution status.

OK - card has been successfully deleted.

ok

Boolean

Request processing status:

true - no errors;

false - an error occurred (error details will be in errors);

errors

Array

  • errorCode

String

Error code

  • errorMessage

String

Error description

  • erroArgs

Object

Object contains parameters with error details

Example

{
"result": {
"billerId": "t78i8006-458a-46bc-9e0a-89a6ee11df68",
"status": "OK"
},
"ok": "true"
}
{
    "errors": [
        {
            "errorCode": "13003",
            "errorMessage": "Biller ID 'f16a9006-128a-46bc-8e2a-77a6ee99df75' not found",
            "errorArgs": {
                "billerId": "f16a9006-128a-46bc-8e2a-77a6ee99df75"
            }
        }
    ],
    "ok": false
}

PreviousExecute one-click paymentNextNotifications on Callback Url

Last updated 1 year ago

Request/transaction processing errors.

Errors table