/Seller PUT

Submits User OFAC or KYC information. Please note that you cannot combine a single call for OFAC and KYC. To update OFAC and KYC, submit a separate call for each.

URL
/Seller/{UserID}
Verb
PUT

Headers

Header Data Type Valid Values Required Description
Content-Type string application/json YES The format your data will be sent to our site.
X-DevKey string string YES The devkey assigned to the developer.
X-AccessToken string string YES The token acquired from a POST to Users/AccessToken.

Input

NOTE: Variables to place in the body of the request.


Parameter Data Type Valid Values Description
Type integer 1 - OFAC, 2 - KYC Specify if you are updating OFAC or KYC.
OFAC object
TransactionID - string
Fail - boolean
Log - string
OFAC example:
{
    "type": 1,
    "ofac": {
        "transactionId": "1234567890",
        "fail": true,
        "log": "raw ofac log response here"
    }
}
KYC object
TransactionID - string
Complete - boolean
Score - integer
Log - string
OFAC example:
{
  "type": 2,
  "kyc": {
    "transactionId": "1234567890",
    "complete": true,
    "score": 100,
    "log": "raw jumio log response here"
  }
}

Output

If the input parameters are not valid, you will receive a 400 BadRequest and a validation message indicating the reason.

If there are no errors with the input parameters, this call will respond with a 200 OK.

If there are errors, you will receive a 404 NotFound with an error message indicating the reason.