Core Feature

Digital Mandates

Create and manage digital mandates for recurring authorizations, direct debits, and standing instructions.

Create Mandate

POST
/v1/service/mandates

Create a new digital mandate

Request Body

ParameterTypeRequiredDescription
recipientstringYesRecipient's phone number or email
typestringYesMandate type: direct_debit, standing_order, authorization
amountnumberNoMaximum authorized amount
currencystringNoISO 4217 currency code (default: USD)
frequencystringNoPayment frequency: daily, weekly, monthly, yearly
descriptionstringYesHuman-readable mandate description
Create mandate
curl -X POST 'https://api.mobid.io/v1/service/mandates' \
  -H 'Content-Type: application/json' \
  -H 'X-Mobid-Key: qk_your_api_key' \
  -d '{
    "recipient": "+1234567890",
    "type": "direct_debit",
    "amount": 500.00,
    "currency": "USD",
    "frequency": "monthly",
    "description": "Monthly subscription fee"
  }'
Response
{
  "code": 200,
  "message": "Mandate created",
  "data": {
    "id": "mdt_abc123",
    "status": "pending_authorization",
    "recipient": "+1234567890",
    "type": "direct_debit",
    "amount": 500.00,
    "currency": "USD",
    "frequency": "monthly",
    "createdAt": "2025-01-15T12:00:00Z"
  }
}

Get Mandate

GET
/v1/service/mandates/:id

Retrieve mandate details

Update Mandate

PUT
/v1/service/mandates/:id

Update an existing mandate

Re-authorization Required

Updating the amount or frequency of an active mandate requires re-authorization from the recipient through the MID app.

Delete Mandate

DELETE
/v1/service/mandates/:id

Cancel and delete a mandate

List Mandates

GET
/v1/service/mandates

List all mandates with pagination and filtering

Query Parameters

ParameterTypeDescription
statusstringFilter by status: active, pending, cancelled, expired
typestringFilter by type: direct_debit, standing_order, authorization
pagenumberPage number (default: 1)
limitnumberResults per page (default: 20, max: 100)