Customer

Submit a country activation request for a customer

Submits a request to enable Scan-to-Pay for the specified customer in the specified transaction country. The response returns the activation status for that transaction country, which may be PROCESSING, ACTIVATED, or REJECTED.

For the request structure, see the Activate Customer Request Resource. For the response structure, see the Country Activation Resource.

post/open-api/v3/scan2pay/customer/active

Request

  • Base URL
    https://api-sandbox.interlace.money
  • URL
    https://api-sandbox.interlace.money/open-api/v3/scan2pay/customer/active
  • Auth
    API key in header x-access-token

Request body

transactionCountrystring required

Transaction country code to activate (ISO 3166-1 alpha-2)

customerIdstring required

Numeric string representing a 64-bit Interlace customer identifier

Example request

{
  "transactionCountry": "VN",
  "customerId": "1986466477083709441"
}

Response

Successful operation

codestring

Business code, 000000 means success

messagestring

Message description

Example response

{
  "code": "000000",
  "message": "success",
  "data": {
    "customerId": "1986466477083709441",
    "transactionCountry": "VN",
    "status": "SUCCESS",
    "errorMessage": "Insufficient documentation provided.",
    "missingMaterials": [
      {
        "fieldName": "frontImageId",
        "description": "Front ID image is blurred",
        "issueType": "INVALID",
        "suggestedAction": "REUPLOAD"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.