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)

ParameterRequiredTypeDescription

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

ParameterTypeDescription

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

Request/transaction processing errors. Errors table

  • 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"
}

Last updated