{"method":"GET","path":"https://api.revcent.com/v2/bin_profiles/{bin_profile_id}","summary":"Get A BIN Profile","description":"Retrieve the details of a specific BIN profile.","operationId":"GetBinProfile","parameters":[{"in":"path","name":"bin_profile_id","description":"The BIN profile ID.","required":true,"schema":{"type":"string","title":"BIN Profile ID","description":"A 20 character BIN Profile ID.","minLength":20,"maxLength":20}}],"requestBody":{"content":{"application/x-www-form-urlencoded":{"encoding":{},"schema":{"additionalProperties":false,"properties":{},"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"allOf":[{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"The API call response code, 1 = Success","type":"integer","enum":[1]}},"title":"APICallResponseInfo","type":"object","additionalProperties":false},{"type":"object","description":"A BIN profile allows you to store a list of credit card BIN's, i.e. the first 6 of a credit card, for use in payment routing, filtering, reporting and more.","additionalProperties":false,"properties":{"created_date_unix":{"description":"The unix timestamp of when the item was created.","type":"integer","format":"unix-time"},"id":{"type":"string","title":"BIN Profile ID","description":"A 20 character BIN Profile ID.","minLength":20,"maxLength":20},"name":{"description":"The BIN profile name.","type":"string"},"description":{"description":"The BIN profile description.","type":"string"},"enabled":{"description":"Whether the BIN profile is currently enabled.","type":"boolean"},"bin_6":{"type":"array","description":"An array of credit card BIN's, which are the first 6 digits of a credit card number. For example, if the BIN is 411111, then all credit card numbers starting with 411111 will match the BIN profile.","items":{"type":"string","description":"The 6 digit credit card BIN number."}},"updated_date_unix":{"description":"The unix timestamp of when the item was last updated.","type":"integer","format":"unix-time"}}}]}}},"description":"Successful response."},"default":{"content":{"application/json":{"schema":{"description":"","properties":{"api_call_id":{"type":"string","description":"A 20 character API call ID.","minLength":20,"maxLength":20},"api_call_unix":{"description":"Unix timestamp of when the API call was initiated.","type":"integer","format":"unix-time"},"code":{"description":"This value indicates that there is an error. Will always be 0.","type":"integer","enum":[0]},"error_code":{"description":"The specific error code.","type":"string"},"message":{"description":"A human readable description of the error.","type":"string"},"result":{"description":"A description of the API call result.","type":"string"}},"title":"APIStandardErrors","type":"object","additionalProperties":false}}},"description":"Error response."}}}