{ "info": { "name": "Mobile Carrier KYC API", "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json" }, "item": [ { "name": "Verify if sim-swap has been perfomed since the specified date.", "description": "Verify if sim-swap has been perfomed since the specified date with the relevant mobile network operator as identified by the 'phoneNumber' value provided.", "request": { "auth": { "type": "oauth2", "oauth2": [ { "key": "addTokenTo", "value": "header", "type": "string" } ] }, "method": "Get", "header": [ { "key": "Content-Type", "name": "Content-Type", "value": "application\/json", "type": "application\/json", "description": "" } ], "url": { "raw": "api.host.com\/mobile\/subscribers\/{phoneNumber}\/verify-simswap", "protocol": "https", "host": [ "api", "host", "com" ], "path": { "1": "mobile", "2": "subscribers", "3": "{phoneNumber}", "4": "verify-simswap" }, "query": [ { "key": "dateLimit", "value": "", "required": true, "type": "string", "description": "This is the limit used to verify if a sim-swap has been performed since this date. Represented as an ISO 8601:2004 [ISO8601 2004] YYYY-MM-DD format." } ] } }, "response": [ { "code": 200, "status": "OK", "name": "Success", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "Corresponding message." }, "phoneNumber": { "type": "string", "example": 27123456789, "description": "phoneNumber provided in the input" }, "data": { "dateLimit": { "type": "string", "example": "2020-06-15", "description": "The date limit that was used to verify with the mobile network operator" }, "wasSimSwapPerformed": { "type": "string", "default": "", "description": "Y,N-NA,N-AV,N-AD" } }, "transactionId": { "type": "string", "description": "Transaction ID for tracing" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"phoneNumber\":\"string\",\"data\":{\"dateLimit\":\"string\",\"wasSimSwapPerformed\":\"string\"},\"transactionId\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 400, "status": "Bad Request", "name": "Bad Request", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 401, "status": "Unauthorized", "name": "Unauthorized", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 403, "status": "Forbidden", "name": "Forbidden", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 404, "status": "Not Found", "name": "Not Found", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 405, "status": "Method Not Allowed", "name": "Method No Allowed", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 406, "status": "Not Acceptable", "name": "Not acceptable", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] }, { "code": 500, "status": "Internal Server Error", "name": "Internal Server Error", "schema": { "statusCode": { "type": "integer", "description": "HTTP error code extension" }, "statusMessage": { "type": "string", "description": "More details and corrective actions related to the error which can be shown to a client." }, "SupportMessage": { "type": "string", "description": "Support Message" } }, "body": "{\"statusCode\":1,\"statusMessage\":\"string\",\"SupportMessage\":\"string\"}", "header": [ { "key": "Content-Type", "value": "application\/json", "description": "Sending as JSON", "type": "string" } ] } ] } ] }