Skip to main content

SHV policy and results

Reference page, common to all payment methods. Consult it once you know where you verify (endpoint, tokenization and storage or payments).

Where the body is used

The source_holder_verification body is sent in tokenization and storage (in the request body) and in payments (inside extra_data). The verification endpoint does not use it: it receives holder and does not apply a policy, so policy_action is always null.

On this page:

The source_holder_verification body​

{
"source_holder_verification": {
"enabled": true,
"verification_method": "NAME",
"accepted_verification_results": ["MATCH", "PARTIAL_MATCH"],
"allow_unavailable": false,
"allow_error": false,
"first_name": "Pedro",
"last_name": "Perez"
}
}
FieldTypeRequiredDefaultDescription
enabledbooleanYes—Enables holder verification. When set to true, the platform performs an SHV check before continuing the flow (for example, before executing the payment).
verification_methodstring (enum)NoNAMEVerification method: NAME (holder name) or IDENTIFICATION_NUMBER (legal identifier).
accepted_verification_resultsstring[] (enum)No—Results considered acceptable to continue: MATCH, NO_MATCH, PARTIAL_MATCH. If omitted or empty, the flow continues regardless of the result.
allow_unavailablebooleanNotrueAllows the flow to continue if the verification has not been performed because it is not supported by the bank, the card type/brand or the phone number, or because it is not executed even if supported.
allow_errorbooleanNofalseBehavior on verification errors or failures (timeout, unavailability, consent rejected in Bizum…). With true they do not block the flow; with false they block it.
first_namestringNo—Holder's first name. If not sent: in payments, from extra_data.profile; in storage, from card_holder / account_holder. It must be available for the verification to be performed.
last_namestringNo—Holder's last name (same logic as first_name).
identification_numberstringConditional—Holder's identity document. Required with IDENTIFICATION_NUMBER. If not sent, in payments it is taken from extra_data.profile.document_identification_number.
Empty results list

If accepted_verification_results is omitted or empty, the flow continues regardless of the result, even with NO_MATCH. For SHV to actually block an operation, indicate at least ["MATCH"].

Default values

allow_unavailable is true by default: if the bank or the payment method does not support verification, the operation continues unverified. If your business requires the payment method to be verified, indicate allow_unavailable: false.

Verification methods​

MethodWhat it checks
NAME (default)That the indicated holder name matches the real holder of the payment method.
IDENTIFICATION_NUMBERThat the indicated legal identifier corresponds to the real holder of the payment method.

If the service does not support the chosen method, the request is rejected with an error.

Required data​

For the verification to be performed, the following must be available in the request:

  • The name (first_name), sent in source_holder_verification or in extra_data.profile.first_name.
  • With IDENTIFICATION_NUMBER, also the legal identifier, sent in source_holder_verification.identification_number or in extra_data.profile.document_identification_number.

If any of this data is missing, order creation is rejected with a validation error (HTTP 400).

How the policy decides​

Each verification ends with a status and, if performed, a match_result. The policy you sent then decides what happens to the operation:

statusConditionpolicy_actionOperation
PERFORMEDaccepted_verification_results empty or omittedALLOWEDContinues
PERFORMEDmatch_result is in accepted_verification_resultsALLOWEDContinues
PERFORMEDmatch_result is not in the listBLOCKED_NOT_ACCEPTED_MATCH_RESULTRejected
NOT_SUPPORTED / NOT_PERFORMEDallow_unavailable = true (default)SKIPPED_UNAVAILABLEContinues unverified
NOT_SUPPORTED / NOT_PERFORMEDallow_unavailable = falseBLOCKED_UNAVAILABLERejected
ERROR / FAILEDallow_error = trueSKIPPED_ERRORContinues
ERROR / FAILEDallow_error = false (default)BLOCKED_ERRORRejected
PENDING—PENDINGPaused until resolved (Bizum only)

"Rejected" means:

  • In a payment: the order ends in REFUSED and is not charged.
  • In tokenization and storage: the source is not stored.

The result​

The result is returned in transactions[].source_holder_verification, in:

  • the payment response (for example, that of POST /payment/push),
  • the notification sent to url_post,
  • the order query (GET /order/{uuid}).

In the verification endpoint it arrives in verification, with the same format.

{
"source_holder_verification": {
"uuid": "ED17EDE3-51A7-47A9-BD13-50448587278C",
"status": "PERFORMED",
"match_result": "MATCH",
"error": null,
"policy_action": "ALLOWED",
"verification_method": "NAME",
"created_at": "2026-11-04 16:22:43"
}
}
FieldDescription
uuidUnique identifier of the verification performed.
statusVerification status (values).
match_resultMatch result (values); null if it has not been performed.
errorInformational error text, if any. Useful for debugging, not for programming logic: use status and policy_action.
policy_actionFinal policy decision (values). Only in tokenization and storage and in payments; null in the endpoint.
verification_methodMethod used (NAME or IDENTIFICATION_NUMBER).
created_atVerification creation date (Y-m-d H:i:s).

status​

ValueMeaning
PERFORMEDThe verification could be performed. match_result is provided.
NOT_PERFORMEDThe verification was not performed (for reasons not necessarily related to support).
NOT_SUPPORTEDIt is not supported for the bank, the account, the card brand or type, or (in Bizum) for that phone number.
FAILEDFailure during the verification. In Bizum, the user rejected the consent.
ERRORTransient or technical error (for example, timeout or temporary unavailability).
PENDINGIn progress, waiting for the user to confirm it (Bizum only). match_result is null until it is resolved.

match_result​

ValueMeaning
MATCHThe holder data completely matches that of the real holder.
PARTIAL_MATCHApproximate match with small discrepancies.
NO_MATCHThe holder data does not match the real holder.

policy_action​

Its meaning is in the policy table. Values: ALLOWED, BLOCKED_NOT_ACCEPTED_MATCH_RESULT, SKIPPED_UNAVAILABLE, SKIPPED_ERROR, BLOCKED_UNAVAILABLE, BLOCKED_ERROR, BLOCKED_UNEXPECTED_STATUS (reserved) and PENDING.