v1

latestOpenAPI 3.0.02026-08-0631139237.5 KB
Bizum

Validate Phone

Validates if a phone number is registered with Bizum.

Use this endpoint to check if a customer's phone number can be used for Bizum payments before attempting to process a payment. This helps provide a better user experience by preventing failed payment attempts for non-registered numbers.

The response will indicate whether the phone number is valid for Bizum payments.

post/bizum/validate-phone

Request body

accountIdstring required

MONEI Account identifier.

paymentIdstring

Unique identifier for the payment.

phoneNumberstring required

Phone number in E.164 format.

Example request

{
  "accountId": "aa9333ba-82de-400c-9ae7-087b9f8d2242",
  "paymentId": "af6029f80f5fc73a8ad2753eea0b1be0",
  "phoneNumber": "+34500000000"
}

Response

A successful response

isValidboolean required

Example response

{
  "isValid": true
}