UpdateComplianceStatus API Operation

API

Last updated: Aug 15th, 6:17am

Sets the compliance status of a PayPal account. In addition, this API lets you supply basic audit trail information.

UpdateComplianceStatusRequest Message

The UpdateComplianceStatusRequest message supplies information for setting the compliance status of the specified the PayPal account.

UpdateComplianceStatusRequest Fields

FieldDescription
accountIdentifier aa:AccountIdentifierType
(Required)
Identifies the PayPal account for which to set compliance status. Must be one (and only one) of these account identifier types:
  • emailAddress, xs:string
    (Optional) Email address of the PayPal account holder
  • mobilePhoneNumber, xs:string
    (Optional) Mobile phone number of the PayPal account holder
  • accountId, xs:string
    (Optional) Account Id of the PayPal account holder
auditDetailsaa:AuditDetailsType
(Required) A structure containing information about the audit performed to establish compliance. See AuditDetailsType Fields for details.
auditeeInfoaa:AuditeeInfoType
(Required) A structure containing information describing the customer that was audited. See AuditeeInfoType Fields for details.
auditorListaa:AuditorList
(Optional) A structure containing information identifying the officer(s) that performed the audit. See AuditorList Fields for details.
requestEnvelopecommon:RequestEnvelope
(Required) Information common to all API operations, such as the language in which an error message is returned. See RequestEnvelope Fields for details.

AuditDetailsType Fields

Field Description
dataaa:TupleType
(Optional) A structure containing any number of name-value pairs. See TupleType Fields for details.
levelxs:string
(Required) Audit level
methodxs:string
(Required) Audit method
policyVersionxs:string
(Optional) Version of the audit policy used
reasonxs:string
(Required) Reason for the audit
statusxs:string
(Required) Status of the audit

AuditeeInfoType Fields

Field Description
accountIdentifieraa:AccountIdentifierType
(Required) Identifies the PayPal account that was audited. Must be one (and only one) of these account identifier types:
  • emailAddress, xs:string
    (Optional) Email address of the PayPal account holder
  • mobilePhoneNumber, xs:string
    (Optional) Mobile phone number of the PayPal account holder
  • accountId, xs:string
    (Optional) Account Id of the PayPal account holder
dataaa:TupleType
(Optional) A structure containing any number of name-value pairs. See TupleType Fields for details.
documentaa:DocumentType
(Optional) A structure containing information about an audit document. See DocumentType Fields for details.

AuditorList Fields

Field Description
auditor

aa:Auditor
(Required) A structure containing any number of Auditor structures. See Auditor Fields for details.

TupleType Fields

Field Description
namexs:string
(Required) The name component of a name-value pair
valuexs:string
(Required) The value component of a name-value pair

DocumentType Fields

Field Description
filenamexs:string
(Required) The file name of an audit document
typexs:string
(Required) The type of audit document

Auditor Fields

Field Description
actionxs:string
(Required) Action taken by the auditor
idxs:string
(Required) Value that identifies an auditor within his company
namexs:string
(Required) Auditor's name
notesxs:string
(Optional) Notes from auditor pertaining to the compliance update

RequestEnvelope Fields

Field Description
detailLevel common:DetailLevelCode
The level of detail required by the client application for components such as Item, Transaction. Allowed values are:
  • ReturnAll - This value provides the maximum level of detail (default)
errorLanguage xs:string
The RFC 3066 language in which error messages are returned; by default, this language is en_US—the only language currently supported.

UpdateComplianceStatusResponse Message

The UpdateComplianceStatusResponse message returns the results of the update compliance status request.

UpdateComplianceStatusResponse Fields

Field Definition
execStatusxs:string
Indicates whether to allow the requested action. Possible values:
  • ALLOW - Allow the requested the action.
  • DENY - Deny the requested action.
responseEnvelopecommon:ResponseEnvelope
Common response information, including a timestamp and the response acknowledgment status. See ResponseEnvelope Fields for details.

ResponseEnvelope Fields

Field Description
ack common:AckCode
Acknowledgment code. Possible values:
  • Success - Operation completed successfully
  • Failure - Operation failed
  • Warning - Warning
  • SuccessWithWarning - Operation completed successfully; however, there is a warning message.
  • FailureWithWarning - Operation failed with a warning message
build Build number - Used only by Merchant Technical Support.
correlationId Correlation ID - Used only by Merchant Technical Support.
timestamp The date on which the response was sent. The time is not supported.

UpdateComplianceStatus Errors

Error CodeError MessageAdditional Information
550001User is not allowed to perform this actionThe user does not have permission to call this API.
580022Invalid request parameter: accountIdentifierInvalid accountIdentifier information
580027The parameter is not supported: auditDetails.levelThe supplied audit details level is not supported by the API call
580029

Missing required request parameter: <name>

  • accountIdentifier
  • auditDetails.level
  • auditDetails.status
  • auditDetails.method
  • auditDetails.reason
  • auditDetails.data.sales_channel
  • auditDetails.data.verification_action_taken
  • auditDetails.data.callee_name
  • auditDetails.data.call_data
Missing required request parameter: <name>

We use cookies to improve your experience on our site. May we use marketing cookies to show you personalized ads? Manage all cookies